GimpEnumAction

GimpEnumAction

Synopsis

                    GimpEnumAction;
GimpEnumAction *    gimp_enum_action_new                (const gchar *name,
                                                         const gchar *label,
                                                         const gchar *tooltip,
                                                         const gchar *stock_id,
                                                         gint value,
                                                         gboolean value_variable);
void                gimp_enum_action_selected           (GimpEnumAction *action,
                                                         gint value);

Object Hierarchy

  GObject
   +----GtkAction
         +----GimpAction
               +----GimpEnumAction

Implemented Interfaces

GimpEnumAction implements GtkBuildable.

Properties

  "value"                    gint                  : Read / Write
  "value-variable"           gboolean              : Read / Write

Signals

  "selected"                                       : Run First

Description

Details

GimpEnumAction

typedef struct _GimpEnumAction GimpEnumAction;


gimp_enum_action_new ()

GimpEnumAction *    gimp_enum_action_new                (const gchar *name,
                                                         const gchar *label,
                                                         const gchar *tooltip,
                                                         const gchar *stock_id,
                                                         gint value,
                                                         gboolean value_variable);


gimp_enum_action_selected ()

void                gimp_enum_action_selected           (GimpEnumAction *action,
                                                         gint value);

Property Details

The "value" property

  "value"                    gint                  : Read / Write

Default value: 0


The "value-variable" property

  "value-variable"           gboolean              : Read / Write

Default value: FALSE

Signal Details

The "selected" signal

void                user_function                      (GimpEnumAction *gimpenumaction,
                                                        gint            arg1,
                                                        gpointer        user_data)           : Run First

gimpenumaction :

the object which received the signal.

user_data :

user data set when the signal handler was connected.