Wireshark mailing list archives

Re: Any Replacement functionfor proto_tree_add_boolean_hidden


From: "Reddy Nagendra-GKTC37" <GKTC37 () motorola com>
Date: Tue, 20 Apr 2010 10:41:24 +0800

Thanks Jeff.

Regards,
NAGENDRA 

-----Original Message-----
From: wireshark-users-bounces () wireshark org
[mailto:wireshark-users-bounces () wireshark org] On Behalf Of Jeff Morriss
Sent: Monday, April 19, 2010 7:02 PM
To: Community support list for Wireshark
Subject: Re: [Wireshark-users] Any Replacement functionfor
proto_tree_add_boolean_hidden

Reddy Nagendra-GKTC37 wrote:

Hi Experts,

In 1.0.2 there is one function called 'proto_tree_add_boolean_hidden'.

Is there any similar function 1.2.6 ?

This question is probably better aimed at the -dev list.

The _hidden APIs were all deprecated, largely because it's not a good
idea to have hidden fields from a UI perspective (if they're hidden, how
does the user know they're there?).  But you can still add hidden items
by doing, for example:

item = proto_tree_add_boolean()
PROTO_ITEM_SET_HIDDEN(item)
________________________________________________________________________
___
Sent via:    Wireshark-users mailing list
<wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
 
mailto:wireshark-users-request () wireshark org?subject=unsubscribe
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request () wireshark org?subject=unsubscribe


Current thread: