GimpEditor

GimpEditor

Synopsis




                    GimpEditor;
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);

Object Hierarchy


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

Implemented Interfaces

GimpEditor implements GtkBuildable, AtkImplementorIface and GimpDockedInterface.

Properties


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

Style Properties


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

Description

Details

GimpEditor

typedef struct _GimpEditor GimpEditor;


gimp_editor_new ()

GtkWidget*          gimp_editor_new                     (void);

Returns :


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);

editor :

menu_factory :

menu_identifier :

ui_path :

popup_data :


gimp_editor_popup_menu ()

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

editor :

position_func :

position_data :

Returns :


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);

editor :

stock_id :

tooltip :

help_id :

callback :

extended_callback :

callback_data :

Returns :


gimp_editor_add_action_button ()

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

editor :

group_name :

action_name :

... :

Returns :


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);

editor :

enum_type :

stock_prefix :

callback :

callback_data :

Returns :


gimp_editor_set_show_name ()

void                gimp_editor_set_show_name           (GimpEditor *editor,
                                                         gboolean show);

editor :

show :


gimp_editor_set_name ()

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

editor :

name :


gimp_editor_set_box_style ()

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

editor :

box :

Property Details

The "menu-factory" property

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


The "menu-identifier" property

  "menu-identifier"          gchararray            : Read / Write / Construct Only

Default value: NULL


The "name" property

  "name"                     gchararray            : 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"                  gchararray            : 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-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