NetSurf
Data Fields
nsgtk_toolbar_item Struct Reference

toolbar item context More...

Data Fields

GtkToolItem * button
 GTK widget in the toolbar. More...
 
int location
 location index in toolbar More...
 
bool sensitivity
 if the item is currently sensitive in the toolbar More...
 
const char * name
 textural name used in serialising items More...
 
gboolean(* clicked )(GtkWidget *widget, gpointer data)
 button clicked on toolbar handler More...
 
void * dataplus
 handler when dragging from customisation toolbox to toolbar More...
 
void * dataminus
 handler when dragging from toolbar to customisation toolbox More...
 

Detailed Description

toolbar item context

Definition at line 109 of file toolbar.c.

Field Documentation

◆ button

GtkToolItem* nsgtk_toolbar_item::button

◆ clicked

gboolean(* nsgtk_toolbar_item::clicked) (GtkWidget *widget, gpointer data)

button clicked on toolbar handler

Definition at line 134 of file toolbar.c.

Referenced by nsgtk_toolbar_item_activate(), and toolbar_connect_signal().

◆ dataminus

void* nsgtk_toolbar_item::dataminus

handler when dragging from toolbar to customisation toolbox

Definition at line 144 of file toolbar.c.

Referenced by toolbar_item_connect_signals().

◆ dataplus

void* nsgtk_toolbar_item::dataplus

handler when dragging from customisation toolbox to toolbar

Definition at line 139 of file toolbar.c.

Referenced by add_toolbox_row().

◆ location

int nsgtk_toolbar_item::location

◆ name

const char* nsgtk_toolbar_item::name

textural name used in serialising items

Definition at line 129 of file toolbar.c.

Referenced by apply_user_button_customisation(), and nsgtk_toolbar_customisation_save().

◆ sensitivity

bool nsgtk_toolbar_item::sensitivity

if the item is currently sensitive in the toolbar

Definition at line 124 of file toolbar.c.

Referenced by populate_gtk_toolbar_widget(), reloadstop_button_clicked_cb(), set_item_action(), and set_item_sensitivity().


The documentation for this struct was generated from the following file: