| GIMP Application Reference Manual | ||||
|---|---|---|---|---|
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_color_button_new (GObject *config, const gchar *property_name, const gchar *title, gint width, gint height, GimpColorAreaType type); 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_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);
|
Object to which properties are attached. |
|
Name of double property for left number. |
|
Name of double property for right number. |
|
Name of double property for default left number. |
|
Name of double property for default right number. |
|
Name of boolean property for user override mode. |
|
TRUE to connect to the widgets "numbers-changed"
signal, FALSE to not connect.
|
|
TRUE to connect to the widgets "ratio-changed"
signal, FALSE to not connect.
|
|
|
|
|
|
|
|
What to pass to gimp_number_pair_entry_new().
|
Returns : |
A GimpNumberPairEntry widget. |
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.
|
GimpConfig object to which property is attached. |
|
Name of GimpRGB property. |
|
Title of the GimpColorPanel that is to be created |
|
Width of color button. |
|
Height of color button. |
|
How transparency is represented. |
Returns : |
A new GimpColorPanel widget. Since GIMP 2.4 |
GtkWidget* gimp_prop_expanding_frame_new (GObject *config, const gchar *property_name, const gchar *button_label, GtkWidget *child, GtkWidget **button);
|
|
|
|
|
|
|
|
|
|
Returns : |
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.
|
GimpConfig object to which property is attached. |
|
Name of Enum property. |
|
Whether to include "Behind" mode in the menu. |
|
Whether to include the "Replace", "Erase" and "Anti Erase" modes in the menu. |
Returns : |
The newly created GimpPaintModeMenu widget. Since GIMP 2.4 |
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.
|
GimpConfig object to which property is attached. |
|
Name of GimpViewable property. |
|
a Gimpcontext. |
|
Width and height of preview display. |
Returns : |
A new GimpView widget. Since GIMP 2.4 |