GimpViewableButton

GimpViewableButton

Synopsis

                    GimpViewableButton;
GtkWidget *         gimp_viewable_button_new            (GimpContainer *container,
                                                         GimpContext *context,
                                                         GimpViewType view_type,
                                                         gint button_view_size,
                                                         gint view_size,
                                                         gint view_border_width,
                                                         GimpDialogFactory *dialog_factory,
                                                         const gchar *dialog_identifier,
                                                         const gchar *dialog_stock_id,
                                                         const gchar *dialog_tooltip);
GimpViewType        gimp_viewable_button_get_view_type  (GimpViewableButton *button);
void                gimp_viewable_button_set_view_type  (GimpViewableButton *button,
                                                         GimpViewType view_type);
void                gimp_viewable_button_set_view_size  (GimpViewableButton *button,
                                                         gint view_size);
gint                gimp_viewable_button_get_view_size  (GimpViewableButton *button);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBin
                                 +----GtkButton
                                       +----GimpButton
                                             +----GimpViewableButton

Implemented Interfaces

GimpViewableButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.

Properties

  "popup-view-size"          gint                  : Read / Write
  "popup-view-type"          GimpViewType          : Read / Write

Description

Details

GimpViewableButton

typedef struct _GimpViewableButton GimpViewableButton;


gimp_viewable_button_new ()

GtkWidget *         gimp_viewable_button_new            (GimpContainer *container,
                                                         GimpContext *context,
                                                         GimpViewType view_type,
                                                         gint button_view_size,
                                                         gint view_size,
                                                         gint view_border_width,
                                                         GimpDialogFactory *dialog_factory,
                                                         const gchar *dialog_identifier,
                                                         const gchar *dialog_stock_id,
                                                         const gchar *dialog_tooltip);


gimp_viewable_button_get_view_type ()

GimpViewType        gimp_viewable_button_get_view_type  (GimpViewableButton *button);


gimp_viewable_button_set_view_type ()

void                gimp_viewable_button_set_view_type  (GimpViewableButton *button,
                                                         GimpViewType view_type);


gimp_viewable_button_set_view_size ()

void                gimp_viewable_button_set_view_size  (GimpViewableButton *button,
                                                         gint view_size);


gimp_viewable_button_get_view_size ()

gint                gimp_viewable_button_get_view_size  (GimpViewableButton *button);

Property Details

The "popup-view-size" property

  "popup-view-size"          gint                  : Read / Write

Allowed values: [12,192]

Default value: 24


The "popup-view-type" property

  "popup-view-type"          GimpViewType          : Read / Write

Default value: GIMP_VIEW_TYPE_LIST