gimppropwidgets

gimppropwidgets

Synopsis

GtkWidget *         gimp_prop_expanding_frame_new       (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *button_label,
                                                         GtkWidget *child,
                                                         GtkWidget **button);
GtkWidget *         gimp_prop_paint_mode_menu_new       (GObject *config,
                                                         const gchar *property_name,
                                                         gboolean with_behind_mode,
                                                         gboolean with_replace_modes);
GtkWidget *         gimp_prop_color_button_new          (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *title,
                                                         gint width,
                                                         gint height,
                                                         GimpColorAreaType type);
GtkWidget *         gimp_prop_scale_button_new          (GObject *config,
                                                         const gchar *property_name);
GtkWidget *         gimp_prop_spin_scale_new            (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *label,
                                                         gdouble step_increment,
                                                         gdouble page_increment,
                                                         gint digits);
GtkWidget *         gimp_prop_opacity_spin_scale_new    (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *label);
GtkWidget *         gimp_prop_view_new                  (GObject *config,
                                                         const gchar *property_name,
                                                         GimpContext *context,
                                                         gint size);
GtkWidget *         gimp_prop_number_pair_entry_new     (GObject *config,
                                                         const gchar *left_number_property,
                                                         const gchar *right_number_property,
                                                         const gchar *default_left_number_property,
                                                         const gchar *default_right_number_property,
                                                         const gchar *user_override_property,
                                                         gboolean connect_numbers_changed,
                                                         gboolean connect_ratio_changed,
                                                         const gchar *separators,
                                                         gboolean allow_simplification,
                                                         gdouble min_valid_value,
                                                         gdouble max_valid_value);
GtkWidget *         gimp_prop_language_combo_box_new    (GObject *config,
                                                         const gchar *property_name);
GtkWidget *         gimp_prop_language_entry_new        (GObject *config,
                                                         const gchar *property_name);
GtkWidget *         gimp_prop_icon_picker_new           (GObject *config,
                                                         const gchar *property_name,
                                                         Gimp *gimp);
GtkWidget *         gimp_prop_table_new                 (GObject *config,
                                                         GType owner_type,
                                                         GimpContext *context);

Description

Details

gimp_prop_expanding_frame_new ()

GtkWidget *         gimp_prop_expanding_frame_new       (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *button_label,
                                                         GtkWidget *child,
                                                         GtkWidget **button);


gimp_prop_paint_mode_menu_new ()

GtkWidget *         gimp_prop_paint_mode_menu_new       (GObject *config,
                                                         const gchar *property_name,
                                                         gboolean with_behind_mode,
                                                         gboolean with_replace_modes);

Creates a GimpPaintModeMenu widget to display and set the specified Enum property, for which the enum must be GimpLayerModeEffects.

config :

GimpConfig object to which property is attached.

property_name :

Name of Enum property.

with_behind_mode :

Whether to include "Behind" mode in the menu.

with_replace_modes :

Whether to include the "Replace", "Erase" and "Anti Erase" modes in the menu.

Returns :

The newly created GimpPaintModeMenu widget. Since GIMP 2.4

gimp_prop_color_button_new ()

GtkWidget *         gimp_prop_color_button_new          (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *title,
                                                         gint width,
                                                         gint height,
                                                         GimpColorAreaType type);

Creates a GimpColorPanel to set and display the value of a GimpRGB property. Pressing the button brings up a color selector dialog.

config :

GimpConfig object to which property is attached.

property_name :

Name of GimpRGB property.

title :

Title of the GimpColorPanel that is to be created

width :

Width of color button.

height :

Height of color button.

type :

How transparency is represented.

Returns :

A new GimpColorPanel widget. Since GIMP 2.4

gimp_prop_scale_button_new ()

GtkWidget *         gimp_prop_scale_button_new          (GObject *config,
                                                         const gchar *property_name);

Creates a GimpScaleButton to set and display the value of a gdouble property in a very space-efficient way.

config :

GimpConfig object to which property is attached.

property_name :

Name of gdouble property

Returns :

A new GimpScaleButton widget. Since GIMP 2.6

gimp_prop_spin_scale_new ()

GtkWidget *         gimp_prop_spin_scale_new            (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *label,
                                                         gdouble step_increment,
                                                         gdouble page_increment,
                                                         gint digits);

Creates a GimpSpinScale to set and display the value of a gdouble property in a very space-efficient way.

config :

GimpConfig object to which property is attached.

property_name :

Name of gdouble property

Returns :

A new GimpSpinScale widget. Since GIMP 2.8

gimp_prop_opacity_spin_scale_new ()

GtkWidget *         gimp_prop_opacity_spin_scale_new    (GObject *config,
                                                         const gchar *property_name,
                                                         const gchar *label);

Creates a GimpSpinScale to set and display the value of a gdouble property in a very space-efficient way.

config :

GimpConfig object to which property is attached.

property_name :

Name of gdouble property

Returns :

A new GimpSpinScale widget. Since GIMP 2.8

gimp_prop_view_new ()

GtkWidget *         gimp_prop_view_new                  (GObject *config,
                                                         const gchar *property_name,
                                                         GimpContext *context,
                                                         gint size);

Creates a widget to display the value of a GimpViewable property.

config :

GimpConfig object to which property is attached.

property_name :

Name of GimpViewable property.

context :

a Gimpcontext.

size :

Width and height of preview display.

Returns :

A new GimpView widget. Since GIMP 2.4

gimp_prop_number_pair_entry_new ()

GtkWidget *         gimp_prop_number_pair_entry_new     (GObject *config,
                                                         const gchar *left_number_property,
                                                         const gchar *right_number_property,
                                                         const gchar *default_left_number_property,
                                                         const gchar *default_right_number_property,
                                                         const gchar *user_override_property,
                                                         gboolean connect_numbers_changed,
                                                         gboolean connect_ratio_changed,
                                                         const gchar *separators,
                                                         gboolean allow_simplification,
                                                         gdouble min_valid_value,
                                                         gdouble max_valid_value);

config :

Object to which properties are attached.

left_number_property :

Name of double property for left number.

right_number_property :

Name of double property for right number.

default_left_number_property :

Name of double property for default left number.

default_right_number_property :

Name of double property for default right number.

user_override_property :

Name of boolean property for user override mode.

connect_numbers_changed :

TRUE to connect to the widgets "numbers-changed" signal, FALSE to not connect.

connect_ratio_changed :

TRUE to connect to the widgets "ratio-changed" signal, FALSE to not connect.

max_valid_value :

What to pass to gimp_number_pair_entry_new().

Returns :

A GimpNumberPairEntry widget.

gimp_prop_language_combo_box_new ()

GtkWidget *         gimp_prop_language_combo_box_new    (GObject *config,
                                                         const gchar *property_name);


gimp_prop_language_entry_new ()

GtkWidget *         gimp_prop_language_entry_new        (GObject *config,
                                                         const gchar *property_name);


gimp_prop_icon_picker_new ()

GtkWidget *         gimp_prop_icon_picker_new           (GObject *config,
                                                         const gchar *property_name,
                                                         Gimp *gimp);


gimp_prop_table_new ()

GtkWidget *         gimp_prop_table_new                 (GObject *config,
                                                         GType owner_type,
                                                         GimpContext *context);