Wireshark-dev: Re: [Wireshark-dev] Greying out preferences
Date: Mon, 8 Jun 2015 14:52:02 -0400
Are you talking about protocol preferences having "dependencies" on each other so that one preference field effects another?
Are you talking about other GUI items in the (main) menu being based on protocol preferences?
 
 
 
-----Original Message-----
From: Robert Cragie <robert.cragie@xxxxxxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Sent: Mon, Jun 8, 2015 1:24 pm
Subject: [Wireshark-dev] Greying out preferences

I was wondering if there is an easy way to grey out another GUI item based on e.g. selecting a radio button or dropdown for a protocol's preferences. I can't see anything obvious in prefs.c. The only thing which looked like what I wanted to do was in the top level User Interface preferences where the "File Open" dialog behavior radio button greys out or enables the "Directory" edit box. I looked at this code and it looked very GTK specific. I also took a quick look through some of the other protocol preferences and none of the ones I came across seems to do this dynamic enabling/disabling.

Thanks in advance,

Robert
___________________________________________________________________________
Sent
via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:   
https://www.wireshark.org/lists/wireshark-dev
Unsubscribe:
https://wireshark.org/mailman/options/wireshark-dev
            
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe