![]() |
![]() |
![]() |
Gwyddion Widgets Library Reference Manual | ![]() |
---|---|---|---|---|
GwyToolbox; GwyToolboxClass; GtkWidget* gwy_toolbox_new (gint max_width); GtkWidget* gwy_toolbox_append (GwyToolbox *toolbox, GType type, GtkWidget *widget, const char *tooltip_text, const char *tooltip_private_text, const gchar *stock_id, GtkSignalFunc callback, gpointer user_data);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTable +----GwyToolbox
typedef struct _GwyToolbox GwyToolbox;
GwyToolbox
is deprecated and should not be used in newly-written code.
typedef struct { GtkTableClass parent_class; gpointer reserved1; gpointer reserved2; } GwyToolboxClass;
GwyToolboxClass
is deprecated and should not be used in newly-written code.
GtkWidget* gwy_toolbox_new (gint max_width);
gwy_toolbox_new
is deprecated and should not be used in newly-written code.
Creates a new GwyToolbox.
max_width : |
The maximum width of the toolbox (in item count). |
Returns : | The new toolbox as a GtkWidget. |
GtkWidget* gwy_toolbox_append (GwyToolbox *toolbox, GType type, GtkWidget *widget, const char *tooltip_text, const char *tooltip_private_text, const gchar *stock_id, GtkSignalFunc callback, gpointer user_data);
gwy_toolbox_append
is deprecated and should not be used in newly-written code.
Adds a widget to toolbox.
toolbox : |
A GwyToolbox. |
type : |
Widget type to add (only a few are supported). |
widget : |
Group widget for radio buttons. |
tooltip_text : |
Widget tooltip text. |
tooltip_private_text : |
Private tooltip text (deprecated). |
stock_id : |
Icon stock id. |
callback : |
Widget activation callback. The callback is connected swapped. |
user_data : |
User data to pass to callback .
|
Returns : | The newly added widget. |