|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
#include <stdbool.h>#include <glib.h>Go to the source code of this file.
Classes | |
| struct | _iface_toolbar_value |
| A single selectable value entry for a selector-type toolbar control. More... | |
| struct | _iface_toolbar_control |
| Describes a single control widget within an interface toolbar. More... | |
| struct | _iface_toolbar |
| Describes an interface toolbar and the set of controls it exposes. More... | |
Typedefs | |
| typedef struct _iface_toolbar_value | iface_toolbar_value |
| A single selectable value entry for a selector-type toolbar control. | |
| typedef struct _iface_toolbar_control | iface_toolbar_control |
| Describes a single control widget within an interface toolbar. | |
| typedef struct _iface_toolbar | iface_toolbar |
| Describes an interface toolbar and the set of controls it exposes. | |
| typedef void(* | iface_toolbar_add_cb_t) (const iface_toolbar *) |
| typedef void(* | iface_toolbar_remove_cb_t) (const char *) |
Enumerations | |
| enum | iface_toolbar_ctrl_type { INTERFACE_TYPE_UNKNOWN , INTERFACE_TYPE_BOOLEAN , INTERFACE_TYPE_BUTTON , INTERFACE_TYPE_SELECTOR , INTERFACE_TYPE_STRING } |
| Data type of a toolbar control widget exposed by an interface toolbar. More... | |
| enum | iface_toolbar_ctrl_role { INTERFACE_ROLE_UNKNOWN , INTERFACE_ROLE_CONTROL , INTERFACE_ROLE_HELP , INTERFACE_ROLE_LOGGER , INTERFACE_ROLE_RESTORE } |
| Functional role of a toolbar control within the interface toolbar. More... | |
Functions | |
| void | iface_toolbar_add (const iface_toolbar *toolbar) |
| Adds an interface toolbar to the application. | |
| void | iface_toolbar_remove (const char *menu_title) |
| Removes an interface toolbar item from the menu. | |
| bool | iface_toolbar_use (void) |
| Checks if the interface toolbar is in use. | |
| void | iface_toolbar_register_cb (iface_toolbar_add_cb_t add_cb, iface_toolbar_remove_cb_t remove_cb) |
| Registers callback functions for interface toolbar operations. | |
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
Functional role of a toolbar control within the interface toolbar.
Data type of a toolbar control widget exposed by an interface toolbar.
| void iface_toolbar_add | ( | const iface_toolbar * | toolbar | ) |
Adds an interface toolbar to the application.
| toolbar | Pointer to the interface toolbar structure to be added. |
| void iface_toolbar_register_cb | ( | iface_toolbar_add_cb_t | add_cb, |
| iface_toolbar_remove_cb_t | remove_cb | ||
| ) |
Registers callback functions for interface toolbar operations.
| add_cb | Callback function to be called when an item is added to the toolbar. |
| remove_cb | Callback function to be called when an item is removed from the toolbar. |
| void iface_toolbar_remove | ( | const char * | menu_title | ) |
Removes an interface toolbar item from the menu.
| menu_title | The title of the menu item to remove. |
| bool iface_toolbar_use | ( | void | ) |
Checks if the interface toolbar is in use.