GwyToolbox

GwyToolbox —

Synopsis




struct      GwyToolbox;
struct      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
   +----GtkObject
         +----GtkWidget
               +----GtkContainer
                     +----GtkTable
                           +----GwyToolbox

Implemented Interfaces

GwyToolbox implements AtkImplementorIface.

Description

Details

struct GwyToolbox

struct GwyToolbox;


struct GwyToolboxClass

struct GwyToolboxClass {

    GtkTableClass parent_class;

    gpointer reserved1;
    gpointer reserved2;
};


gwy_toolbox_new ()

GtkWidget*  gwy_toolbox_new                 (gint max_width);

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

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.