Wireshark-users: Re: [Wireshark-users] Any Replacement functionfor proto_tree_add_boolean_hidden
From: "Reddy Nagendra-GKTC37" <GKTC37@xxxxxxxxxxxx>
Date: Tue, 20 Apr 2010 10:41:24 +0800
Thanks Jeff.

Regards,
NAGENDRA 

-----Original Message-----
From: wireshark-users-bounces@xxxxxxxxxxxxx
[mailto:wireshark-users-bounces@xxxxxxxxxxxxx] 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@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
 
mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe