GwyToolbox

GwyToolbox —

Synopsis




            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);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkTable
                                 +----GwyToolbox

Implemented Interfaces

GwyToolbox implements AtkImplementorIface.

Description

Details

GwyToolbox

typedef struct _GwyToolbox GwyToolbox;

Warning

GwyToolbox is deprecated and should not be used in newly-written code.


GwyToolboxClass

typedef struct {
    GtkTableClass parent_class;

    gpointer reserved1;
    gpointer reserved2;
} GwyToolboxClass;

Warning

GwyToolboxClass is deprecated and should not be used in newly-written code.


gwy_toolbox_new ()

GtkWidget*  gwy_toolbox_new                 (gint max_width);

Warning

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.

gwy_toolbox_append ()

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);

Warning

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.