| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GimpEditor +----GimpDataEditor +----GimpContainerBox +----GimpColorEditor +----GimpImageEditor +----GimpCursorView +----GimpDeviceStatus +----GimpErrorConsole +----GimpNavigationEditor +----GimpToolOptionsEditor
GimpEditor implements GtkBuildable, AtkImplementorIface and GimpDockedInterface.
"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
"button-icon-size" GtkIconSize : Read "button-spacing" gint : Read "content-spacing" gint : Read
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);
|
|
|
|
|
|
Returns : |
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);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
GtkWidget* gimp_editor_add_action_button (GimpEditor *editor, const gchar *group_name, const gchar *action_name, ...);
|
|
|
|
|
|
|
|
Returns : |
GtkWidget* gimp_editor_add_stock_box (GimpEditor *editor, GType enum_type, const gchar *stock_prefix, GCallback callback, gpointer callback_data);
|
|
|
|
|
|
|
|
|
|
Returns : |
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);
|
|
|
"menu-identifier" property"menu-identifier" gchararray : Read / Write / Construct Only
Default value: NULL
"button-icon-size" style property"button-icon-size" GtkIconSize : Read
Default value: GTK_ICON_SIZE_MENU
"button-spacing" style property"button-spacing" gint : Read
Allowed values: >= 0
Default value: 2
"content-spacing" style property"content-spacing" gint : Read
Allowed values: >= 0
Default value: 2