GimpUIManager

GimpUIManager

Synopsis

struct              GimpUIManagerUIEntry;
                    GimpUIManager;
GimpUIManager *     gimp_ui_manager_new                 (Gimp *gimp,
                                                         const gchar *name);
GList *             gimp_ui_managers_from_name          (const gchar *name);
void                gimp_ui_manager_update              (GimpUIManager *manager,
                                                         gpointer update_data);
GimpActionGroup *   gimp_ui_manager_get_action_group    (GimpUIManager *manager,
                                                         const gchar *name);
GtkAction *         gimp_ui_manager_find_action         (GimpUIManager *manager,
                                                         const gchar *group_name,
                                                         const gchar *action_name);
gboolean            gimp_ui_manager_activate_action     (GimpUIManager *manager,
                                                         const gchar *group_name,
                                                         const gchar *action_name);
void                gimp_ui_manager_ui_register         (GimpUIManager *manager,
                                                         const gchar *ui_path,
                                                         const gchar *basename,
                                                         GimpUIManagerSetupFunc setup_func);
void                gimp_ui_manager_ui_popup            (GimpUIManager *manager,
                                                         const gchar *ui_path,
                                                         GtkWidget *parent,
                                                         GimpMenuPositionFunc position_func,
                                                         gpointer position_data,
                                                         GDestroyNotify popdown_func,
                                                         gpointer popdown_data);

Object Hierarchy

  GObject
   +----GtkUIManager
         +----GimpUIManager

Implemented Interfaces

GimpUIManager implements GtkBuildable.

Properties

  "gimp"                     Gimp*                 : Read / Write / Construct Only
  "name"                     gchar*                : Read / Write / Construct Only

Signals

  "hide-tooltip"                                   : Run Last
  "show-tooltip"                                   : Run Last
  "update"                                         : Run Last

Description

Details

struct GimpUIManagerUIEntry

struct GimpUIManagerUIEntry {
  gchar                  *ui_path;
  gchar                  *basename;
  GimpUIManagerSetupFunc  setup_func;
  guint                   merge_id;
  GtkWidget              *widget;
};


GimpUIManager

typedef struct _GimpUIManager GimpUIManager;


gimp_ui_manager_new ()

GimpUIManager *     gimp_ui_manager_new                 (Gimp *gimp,
                                                         const gchar *name);

Creates a new GimpUIManager object.

gimp :

the Gimp instance this ui manager belongs to

name :

the UI manager's name.

Returns :

the new GimpUIManager

gimp_ui_managers_from_name ()

GList *             gimp_ui_managers_from_name          (const gchar *name);


gimp_ui_manager_update ()

void                gimp_ui_manager_update              (GimpUIManager *manager,
                                                         gpointer update_data);


gimp_ui_manager_get_action_group ()

GimpActionGroup *   gimp_ui_manager_get_action_group    (GimpUIManager *manager,
                                                         const gchar *name);


gimp_ui_manager_find_action ()

GtkAction *         gimp_ui_manager_find_action         (GimpUIManager *manager,
                                                         const gchar *group_name,
                                                         const gchar *action_name);


gimp_ui_manager_activate_action ()

gboolean            gimp_ui_manager_activate_action     (GimpUIManager *manager,
                                                         const gchar *group_name,
                                                         const gchar *action_name);


gimp_ui_manager_ui_register ()

void                gimp_ui_manager_ui_register         (GimpUIManager *manager,
                                                         const gchar *ui_path,
                                                         const gchar *basename,
                                                         GimpUIManagerSetupFunc setup_func);


gimp_ui_manager_ui_popup ()

void                gimp_ui_manager_ui_popup            (GimpUIManager *manager,
                                                         const gchar *ui_path,
                                                         GtkWidget *parent,
                                                         GimpMenuPositionFunc position_func,
                                                         gpointer position_data,
                                                         GDestroyNotify popdown_func,
                                                         gpointer popdown_data);

Property Details

The "gimp" property

  "gimp"                     Gimp*                 : Read / Write / Construct Only


The "name" property

  "name"                     gchar*                : Read / Write / Construct Only

Default value: NULL

Signal Details

The "hide-tooltip" signal

void                user_function                      (GimpUIManager *gimpuimanager,
                                                        gpointer       user_data)          : Run Last

gimpuimanager :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "show-tooltip" signal

void                user_function                      (GimpUIManager *gimpuimanager,
                                                        gchar         *arg1,
                                                        gpointer       user_data)          : Run Last

gimpuimanager :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "update" signal

void                user_function                      (GimpUIManager *gimpuimanager,
                                                        gpointer       arg1,
                                                        gpointer       user_data)          : Run Last

gimpuimanager :

the object which received the signal.

user_data :

user data set when the signal handler was connected.