Wireshark mailing list archives

Re: Any Replacement function for proto_tree_add_boolean_hidden


From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Mon, 19 Apr 2010 09:32:03 -0400

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


Current thread: