GimpWidgets: GIMP Widgets Library Reference Manual

## GimpWidgets GimpWidgets |

## Functions

GtkWidget * | gimp_radio_group_new ()
GtkWidget * | gimp_radio_group_new2 ()
void | gimp_radio_group_set_active ()
GtkWidget * | gimp_int_radio_group_new ()
void | gimp_int_radio_group_set_active ()
GtkWidget * | gimp_spin_button_new ()
#define | GIMP_SCALE_ENTRY_LABEL()
#define | GIMP_SCALE_ENTRY_SCALE()
#define | GIMP_SCALE_ENTRY_SCALE_ADJ()
#define | GIMP_SCALE_ENTRY_SPINBUTTON()
#define | GIMP_SCALE_ENTRY_SPINBUTTON_ADJ()
GtkObject * | gimp_scale_entry_new ()
void | gimp_scale_entry_set_sensitive ()
void | gimp_scale_entry_set_logarithmic ()
gboolean | gimp_scale_entry_get_logarithmic ()
GtkObject * | gimp_color_scale_entry_new ()
#define | GIMP_RANDOM_SEED_SPINBUTTON()
#define | GIMP_RANDOM_SEED_SPINBUTTON_ADJ()
#define | GIMP_RANDOM_SEED_TOGGLE()
GtkWidget * | gimp_random_seed_new ()
#define | GIMP_COORDINATES_CHAINBUTTON()
GtkWidget * | gimp_coordinates_new ()
void | gimp_toggle_button_update ()
void | gimp_radio_button_update ()
void | gimp_int_adjustment_update ()
void | gimp_uint_adjustment_update ()
void | gimp_float_adjustment_update ()
void | gimp_double_adjustment_update ()
GtkWidget * | gimp_table_attach_aligned ()
void | gimp_label_set_attributes ()
#define | GIMP_WIDGETS_ERROR
GQuark | gimp_widgets_error_quark ()

## Types and Values

enum | GimpWidgetsError

## Description

## Functions

### gimp_radio_group_new ()

    GtkWidget *
    gimp_radio_group_new (gboolean in_frame,
                          const gchar *frame_title,
                          ...);

### gimp_radio_group_new2 ()

    GtkWidget *
    gimp_radio_group_new2 (gboolean in_frame,
                           const gchar *frame_title,
                           GCallback radio_button_callback,
                           gpointer radio_button_callback_data,
                           gpointer initial,
                           ...);

### gimp_radio_group_set_active ()

    void
    gimp_radio_group_set_active (GtkRadioButton *radio_button,
                                 gpointer item_data);

### gimp_int_radio_group_new ()

    GtkWidget *
    gimp_int_radio_group_new (gboolean in_frame,
                              const gchar *frame_title,
                              GCallback radio_button_callback,
                              gpointer radio_button_callback_data,
                              gint initial,
                              ...);

### gimp_int_radio_group_set_active ()

    void
    gimp_int_radio_group_set_active (GtkRadioButton *radio_button,
                                     gint item_data);

### gimp_spin_button_new ()

    GtkWidget *
    gimp_spin_button_new (GtkObject **adjustment,
                          gdouble value,
                          gdouble lower,
                          gdouble upper,
                          gdouble step_increment,
                          gdouble page_increment,
                          gdouble page_size,
                          gdouble climb_rate,
                          guint digits);

### GIMP_SCALE_ENTRY_LABEL()

    #define             GIMP_SCALE_ENTRY_LABEL(adj)

### GIMP_SCALE_ENTRY_SCALE()

    #define             GIMP_SCALE_ENTRY_SCALE(adj)

### GIMP_SCALE_ENTRY_SCALE_ADJ()

    #define             GIMP_SCALE_ENTRY_SCALE_ADJ(adj)

### GIMP_SCALE_ENTRY_SPINBUTTON()

    #define             GIMP_SCALE_ENTRY_SPINBUTTON(adj)

### GIMP_SCALE_ENTRY_SPINBUTTON_ADJ()

    #define             GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj)

### gimp_scale_entry_new ()

    GtkObject *
    gimp_scale_entry_new (GtkTable *table,
                          gint column,
                          gint row,
                          const gchar *text,
                          gint scale_width,
                          gint spinbutton_width,
                          gdouble value,
                          gdouble lower,
                          gdouble upper,
                          gdouble step_increment,
                          gdouble page_increment,
                          guint digits,
                          gboolean constrain,
                          gdouble unconstrained_lower,
                          gdouble unconstrained_upper,
                          const gchar *tooltip,
                          const gchar *help_id);

### gimp_scale_entry_set_sensitive ()

    void
    gimp_scale_entry_set_sensitive (GtkObject *adjustment,
                                    gboolean sensitive);

### gimp_scale_entry_set_logarithmic ()

    void
    gimp_scale_entry_set_logarithmic (GtkObject *adjustment,
                                      gboolean logarithmic);

Since: GIMP 2.2

### gimp_scale_entry_get_logarithmic ()

    gboolean
    gimp_scale_entry_get_logarithmic (GtkObject *adjustment);

Since: GIMP 2.2

### gimp_color_scale_entry_new ()

    GtkObject *
    gimp_color_scale_entry_new (GtkTable *table,
                                gint column,
                                gint row,
                                const gchar *text,
                                gint scale_width,
                                gint spinbutton_width,
                                gdouble value,
                                gdouble lower,
                                gdouble upper,
                                gdouble step_increment,
                                gdouble page_increment,
                                guint digits,
                                const gchar *tooltip,
                                const gchar *help_id);

### GIMP_RANDOM_SEED_SPINBUTTON()

    #define             GIMP_RANDOM_SEED_SPINBUTTON(hbox)

### GIMP_RANDOM_SEED_SPINBUTTON_ADJ()

    #define             GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox)

### GIMP_RANDOM_SEED_TOGGLE()

    #define             GIMP_RANDOM_SEED_TOGGLE(hbox)

### gimp_random_seed_new ()

    GtkWidget *
    gimp_random_seed_new (guint32 *seed,
                          gboolean *random_seed);

### GIMP_COORDINATES_CHAINBUTTON()

    #define             GIMP_COORDINATES_CHAINBUTTON(sizeentry)

### gimp_coordinates_new ()

    GtkWidget *
    gimp_coordinates_new (GimpUnit unit,
                          const gchar *unit_format,
                          gboolean menu_show_pixels,
                          gboolean menu_show_percent,
                          gint spinbutton_width,
                          GimpSizeEntryUpdatePolicy update_policy,
                          gboolean chainbutton_active,
                          gboolean chain_constrains_ratio,
                          const gchar *xlabel,
                          gdouble x,
                          gdouble xres,
                          gdouble lower_boundary_x,
                          gdouble upper_boundary_x,
                          gdouble xsize_0,
                          gdouble xsize_100,
                          const gchar *ylabel,
                          gdouble y,
                          gdouble yres,
                          gdouble lower_boundary_y,
                          gdouble upper_boundary_y,
                          gdouble ysize_0,
                          gdouble ysize_100);

### gimp_toggle_button_update ()

    void
    gimp_toggle_button_update (GtkWidget *widget,
                               gpointer data);

### gimp_radio_button_update ()

    void
    gimp_radio_button_update (GtkWidget *widget,
                              gpointer data);

### gimp_int_adjustment_update ()

    void
    gimp_int_adjustment_update (GtkAdjustment *adjustment,
                                gpointer data);

### gimp_uint_adjustment_update ()

    void
    gimp_uint_adjustment_update (GtkAdjustment *adjustment,
                                 gpointer data);

### gimp_float_adjustment_update ()

    void
    gimp_float_adjustment_update (GtkAdjustment *adjustment,
                                  gpointer data);

### gimp_double_adjustment_update ()

    void
    gimp_double_adjustment_update (GtkAdjustment *adjustment,
                                   gpointer data);

### gimp_table_attach_aligned ()

    GtkWidget *
    gimp_table_attach_aligned (GtkTable *table,
                               gint column,
                               gint row,
                               const gchar *label_text,
                               gfloat xalign,
                               gfloat yalign,
                               GtkWidget *widget,
                               gint colspan,
                               gboolean left_align);

### gimp_label_set_attributes ()

    void
    gimp_label_set_attributes (GtkLabel *label,
                               ...);

Since: GIMP 2.2

### GIMP_WIDGETS_ERROR

    #define GIMP_WIDGETS_ERROR (gimp_widgets_error_quark ())

Since: GIMP 2.8

### gimp_widgets_error_quark ()

    GQuark
    gimp_widgets_error_quark (void);

## Types and Values

### enum GimpWidgetsError

#### Members

GIMP_WIDGETS_PARSE_ERROR |  |