GimpEditor

GimpEditor

Synopsis

                    GimpEditor;
                    GimpEditorPrivate;
GtkWidget *         gimp_editor_new                     (void);
void                gimp_editor_create_menu             (GimpEditor *editor,
                                                         GimpMenuFactory *menu_factory,
                                                         const gchar *menu_identifier,
                                                         const gchar *ui_path,
                                                         gpointer popup_data);
gboolean            gimp_editor_popup_menu              (GimpEditor *editor,
                                                         GimpMenuPositionFunc position_func,
                                                         gpointer position_data);
GtkWidget *         gimp_editor_add_button              (GimpEditor *editor,
                                                         const gchar *stock_id,
                                                         const gchar *tooltip,
                                                         const gchar *help_id,
                                                         GCallback callback,
                                                         GCallback extended_callback,
                                                         gpointer callback_data);
GtkWidget *         gimp_editor_add_action_button       (GimpEditor *editor,
                                                         const gchar *group_name,
                                                         const gchar *action_name,
                                                         ...);
GtkWidget *         gimp_editor_add_stock_box           (GimpEditor *editor,
                                                         GType enum_type,
                                                         const gchar *stock_prefix,
                                                         GCallback callback,
                                                         gpointer callback_data);
void                gimp_editor_set_show_name           (GimpEditor *editor,
                                                         gboolean show);
void                gimp_editor_set_name                (GimpEditor *editor,
                                                         const gchar *name);
void                gimp_editor_set_box_style           (GimpEditor *editor,
                                                         GtkBox *box);
GimpUIManager *     gimp_editor_get_ui_manager          (GimpEditor *editor);
GtkBox *            gimp_editor_get_button_box          (GimpEditor *editor);
GimpMenuFactory *   gimp_editor_get_menu_factory        (GimpEditor *editor);
gpointer *          gimp_editor_get_popup_data          (GimpEditor *editor);
gchar *             gimp_editor_get_ui_path             (GimpEditor *editor);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GimpEditor
                                       +----GimpDataEditor
                                       +----GimpContainerBox
                                       +----GimpColorEditor
                                       +----GimpImageEditor
                                       +----GimpCursorView
                                       +----GimpDeviceStatus
                                       +----GimpErrorConsole
                                       +----GimpNavigationEditor
                                       +----GimpToolOptionsEditor

Implemented Interfaces

GimpEditor implements AtkImplementorIface, GtkBuildable, GtkOrientable and GimpDockedInterface.

Properties

  "menu-factory"             GimpMenuFactory*      : Read / Write / Construct Only
  "menu-identifier"          gchar*                : Read / Write / Construct Only
  "name"                     gchar*                : Write / Construct
  "popup-data"               gpointer              : Read / Write / Construct Only
  "show-name"                gboolean              : Read / Write
  "ui-path"                  gchar*                : Read / Write / Construct Only

Style Properties

  "button-icon-size"         GtkIconSize           : Read
  "button-relief"            GtkReliefStyle        : Read
  "button-spacing"           gint                  : Read
  "content-spacing"          gint                  : Read

Description

Details

GimpEditor

typedef struct _GimpEditor GimpEditor;


GimpEditorPrivate

typedef struct _GimpEditorPrivate GimpEditorPrivate;


gimp_editor_new ()

GtkWidget *         gimp_editor_new                     (void);


gimp_editor_create_menu ()

void                gimp_editor_create_menu             (GimpEditor *editor,
                                                         GimpMenuFactory *menu_factory,
                                                         const gchar *menu_identifier,
                                                         const gchar *ui_path,
                                                         gpointer popup_data);


gimp_editor_popup_menu ()

gboolean            gimp_editor_popup_menu              (GimpEditor *editor,
                                                         GimpMenuPositionFunc position_func,
                                                         gpointer position_data);


gimp_editor_add_button ()

GtkWidget *         gimp_editor_add_button              (GimpEditor *editor,
                                                         const gchar *stock_id,
                                                         const gchar *tooltip,
                                                         const gchar *help_id,
                                                         GCallback callback,
                                                         GCallback extended_callback,
                                                         gpointer callback_data);


gimp_editor_add_action_button ()

GtkWidget *         gimp_editor_add_action_button       (GimpEditor *editor,
                                                         const gchar *group_name,
                                                         const gchar *action_name,
                                                         ...);


gimp_editor_add_stock_box ()

GtkWidget *         gimp_editor_add_stock_box           (GimpEditor *editor,
                                                         GType enum_type,
                                                         const gchar *stock_prefix,
                                                         GCallback callback,
                                                         gpointer callback_data);


gimp_editor_set_show_name ()

void                gimp_editor_set_show_name           (GimpEditor *editor,
                                                         gboolean show);


gimp_editor_set_name ()

void                gimp_editor_set_name                (GimpEditor *editor,
                                                         const gchar *name);


gimp_editor_set_box_style ()

void                gimp_editor_set_box_style           (GimpEditor *editor,
                                                         GtkBox *box);


gimp_editor_get_ui_manager ()

GimpUIManager *     gimp_editor_get_ui_manager          (GimpEditor *editor);


gimp_editor_get_button_box ()

GtkBox *            gimp_editor_get_button_box          (GimpEditor *editor);


gimp_editor_get_menu_factory ()

GimpMenuFactory *   gimp_editor_get_menu_factory        (GimpEditor *editor);


gimp_editor_get_popup_data ()

gpointer *          gimp_editor_get_popup_data          (GimpEditor *editor);


gimp_editor_get_ui_path ()

gchar *             gimp_editor_get_ui_path             (GimpEditor *editor);

Property Details

The "menu-factory" property

  "menu-factory"             GimpMenuFactory*      : Read / Write / Construct Only


The "menu-identifier" property

  "menu-identifier"          gchar*                : Read / Write / Construct Only

Default value: NULL


The "name" property

  "name"                     gchar*                : Write / Construct

Default value: NULL


The "popup-data" property

  "popup-data"               gpointer              : Read / Write / Construct Only


The "show-name" property

  "show-name"                gboolean              : Read / Write

Default value: FALSE


The "ui-path" property

  "ui-path"                  gchar*                : Read / Write / Construct Only

Default value: NULL

Style Property Details

The "button-icon-size" style property

  "button-icon-size"         GtkIconSize           : Read

Default value: GTK_ICON_SIZE_MENU


The "button-relief" style property

  "button-relief"            GtkReliefStyle        : Read

Default value: GTK_RELIEF_NONE


The "button-spacing" style property

  "button-spacing"           gint                  : Read

Allowed values: >= 0

Default value: 2


The "content-spacing" style property

  "content-spacing"          gint                  : Read

Allowed values: >= 0

Default value: 2