Ethereal-dev: Re: [Ethereal-dev] Scrollbar in Dissector Preferences

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Wed, 15 Feb 2006 13:53:07 +0100
Ethereal development <ethereal-dev@xxxxxxxxxxxx> schrieb am 15.02.06 11:43:57:
> 
> 
> Is there anyone who knows a way to add a scrollbar in the Preferences of 
> a Protocol. Ie in fact in a dissector.
> I have noticed a method "scrolled_windows_new" in the gtk directory but 
> It does not seem to work in a dissector or I misunderstood something .
> 

Hi!

A dissector shouldn't add *any* GUI related stuff. A dissector should only register it's Preferences and let Ethereal do the stuff to display it.

If we need a scrollbar in the Preferences dialog, it should be added to the dialog code, not the dissector code.

Do we already have such an example, where the dissector needs to register that much Preferences, so it won't fit in the dialog space?

Regards, ULFL

__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstarkeren E-Mail-Postfach!		
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131