GimpUi-3.0 (original) (raw)

cairo_set_focus_line_pattern Sets color and dash pattern for stroking a focus line on the givencr. The line pattern is taken from widget. since: 2.6
cairo_set_source_color Sets color as the source pattern within cr, taking into account the profile of the GdkMonitor which widget is displayed on. since: 3.0
cairo_surface_create_from_pixbuf Create a Cairo image surface from a GdkPixbuf. since: 2.6
context_help This function invokes the context help inspector.
coordinates_new Convenience function that creates a GimpSizeEntry with two fields for x/y coordinates/sizes with a GimpChainButton attached to constrain either the two fields’ values or the ratio between them.
dialogs_show_help_button This function is for internal use only. since: 2.2
double_adjustment_update
enum_icon_box_new Creates a horizontal box of radio buttons with named icons. The icon name for each icon is created by appending the enum_value’s nick to the given icon_prefix. since: 2.10
enum_icon_box_new_with_range Just like gimp_enum_icon_box_new(), this function creates a group of radio buttons, but additionally it supports limiting the range of available enum values. since: 2.10
enum_icon_box_set_child_padding Sets the padding of all buttons in a box created by gimp_enum_icon_box_new(). since: 2.10
enum_icon_box_set_icon_size Sets the icon size of all buttons in a box created by gimp_enum_icon_box_new(). since: 3.0
enum_radio_box_new Creates a new group of GtkRadioButtons representing the enum values. A group of radiobuttons is a good way to represent enums with up to three or four values. Often it is better to use aGimpEnumComboBox instead. since: 2.4
enum_radio_box_new_with_range Just like gimp_enum_radio_box_new(), this function creates a group of radio buttons, but additionally it supports limiting the range of available enum values. since: 2.4
enum_radio_frame_new Calls gimp_enum_radio_box_new() and puts the resulting vbox into aGtkFrame. since: 2.4
enum_radio_frame_new_with_range Calls gimp_enum_radio_box_new_with_range() and puts the resulting vertical box into a GtkFrame. since: 2.4
event_triggers_context_menu Alternative of gdk_event_triggers_context_menu() with the additional feature of allowing a menu triggering to happen on a button release event. All the other rules on whether event should trigger a contextual menu are exactly the same. Only the swapping to release state as additional feature is different. since: 3.0
float_adjustment_update
get_monitor_at_pointer
grid_attach_aligned Note that the label_text can be NULL and that the widget will be attached starting at (column + 1) in this case, too.
help_connect Note that this function is automatically called by all libgimp dialog constructors. You only have to call it for windows/dialogs you created “manually”.
help_id_quark This function returns the GQuark which should be used as key when attaching help IDs to widgets and objects. since: 2.2
help_set_help_data The reason why we don’t use gtk_widget_set_tooltip_text() is that elements in the GIMP user interface should, if possible, also have a help_id set for context-sensitive help.
help_set_help_data_with_markup Just like gimp_help_set_help_data(), but supports to pass text which is marked up with Pango text markup language. since: 2.6
icons_init Initializes the GIMP stock icon factory.
icons_set_icon_theme
init This function initializes GTK+ with gtk_init(). It also initializes Gegl and Babl.
int_adjustment_update Note that the GtkAdjustment‘s value (which is a #gdouble) will be rounded with RINT().
int_radio_group_new Convenience function to create a group of radio buttons embedded into a GtkFrame or GtkBox. This function does the same thing as gimp_radio_group_new2(), but it takes integers as item_data instead of pointers, since that is a very common case (mapping an enum to a radio group).
int_radio_group_set_active Calls gtk_toggle_button_set_active() with the radio button that was created with a matching item_data. This function does the same thing as gimp_radio_group_set_active(), but takes integers as item_data instead of pointers.
label_set_attributes Sets Pango attributes on a GtkLabel in a more convenient way than gtk_label_set_attributes(). since: 2.2
monitor_get_color_profile This function returns the GimpColorProfile of monitoror NULL if there is no profile configured. since: 3.0
proc_view_new since: 2.4
prop_boolean_combo_box_new Creates a GtkComboBox widget to display and set the specified boolean property. The combo box will have two entries, one displaying the true_text label, the other displaying thefalse_text label. since: 2.4
prop_boolean_radio_frame_new Creates a pair of radio buttons which function to set and display the specified boolean property. If title is NULL, the property_name‘s nick will be used as label of the returned frame. since: 2.4
prop_brush_chooser_new Creates a GimpBrushChooser controlled by the specified property. since: 3.0
prop_check_button_new Creates a GtkCheckButton that displays and sets the specified boolean property. If label is NULL, the property_name‘s nick will be used as label of the returned button. since: 2.4
prop_choice_combo_box_new Creates a GimpStringComboBox widget to display and set the specified property.
prop_choice_radio_frame_new Creates a GimpIntRadioFrame widget to display and set the specified GimpChoice property.
prop_color_area_new Creates a GimpColorArea to set and display the value of an RGB property. since: 2.4
prop_color_select_new Creates a GimpColorButton to set and display the value of a color property. since: 3.0
prop_coordinates_connect
prop_coordinates_new Creates a GimpSizeEntry to set and display two double or int properties, which will usually represent X and Y coordinates, and their associated unit property. since: 2.4
prop_drawable_chooser_new Creates a GimpDrawableChooser controlled by the specified property. since: 3.0
prop_entry_new Creates a GtkEntry to set and display the value of the specified string property. since: 2.4
prop_enum_check_button_new Creates a GtkCheckButton that displays and sets the specified property of type Enum. Note that this widget only allows two values for the enum, one corresponding to the “checked” state and the other to the “unchecked” state. If label is NULL, the property_name‘s nick will be used as label of the returned button. since: 2.4
prop_enum_combo_box_new Creates a GimpIntComboBox widget to display and set the specified enum property. The mimimum_value and maximum_value give the possibility of restricting the allowed range to a subset of the enum. If the two values are equal (e.g., 0, 0), then the full range of the Enum is used. since: 2.4
prop_enum_icon_box_new Creates a horizontal box of radio buttons with named icons, which function to set and display the value of the specified Enum property. The icon name for each icon is created by appending the enum_value’s nick to the given icon_prefix. Seegimp_enum_icon_box_new() for more information. since: 2.10
prop_enum_label_new since: 2.4
prop_enum_radio_box_new Creates a group of radio buttons which function to set and display the specified enum property. The minimum and maximum arguments allow only a subset of the enum to be used. If the two arguments are equal (e.g., 0, 0), then the full range of the enum will be used. If you want to assign a label to the group of radio buttons, usegimp_prop_enum_radio_frame_new() instead of this function. since: 2.4
prop_enum_radio_frame_new Creates a group of radio buttons which function to set and display the specified enum property. The minimum and maximum arguments allow only a subset of the enum to be used. If the two arguments are equal (e.g., 0, 0), then the full range of the enum will be used. If title is NULL, the property_name‘s nick will be used as label of the returned frame. since: 2.4
prop_expander_new Creates a GtkExpander controlled by the specified boolean property. A value of TRUE for the property corresponds to the expanded state for the widget. If label is NULL, the property_name‘s nick will be used as label of the returned widget. since: 2.4
prop_file_chooser_button_new Creates a GtkFileChooserButton to edit the specified path property.property_name must represent either a GIMP_PARAM_SPEC_CONFIG_PATH or a G_PARAM_SPEC_OBJECT where value_type == G_TYPE_FILE. since: 2.4
prop_file_chooser_button_new_with_dialog Creates a GtkFileChooserButton to edit the specified path property. since: 2.4
prop_file_chooser_new Creates a GimpFileChooser to edit the specified file property. property_name must be a %GimpParamSpecFile with an action other than GimpFileChooserAction. since: 3.0
prop_font_chooser_new Creates a GimpFontChooser controlled by the specified property. since: 3.0
prop_gradient_chooser_new Creates a GimpGradientChooser controlled by the specified property. since: 3.0
prop_hscale_new Creates a horizontal scale to control the value of the specified integer or double property. since: 2.4
prop_icon_image_new Creates a widget to display a icon image representing the value of the specified string property, which should encode an icon name. See gtk_image_new_from_icon_name() for more information. since: 2.10
prop_int_combo_box_new Creates a GimpIntComboBox widget to display and set the specified property. The contents of the widget are determined by store, which should be created using gimp_int_store_new(). since: 2.4
prop_int_radio_frame_new Creates a group of radio buttons which function to set and display the specified int property. If title is NULL, theproperty_name‘s nick will be used as label of the returned frame. since: 3.0
prop_label_color_new Creates a GimpLabelColor to set and display the value of an RGB property. since: 3.0
prop_label_entry_new Creates a GimpLabelEntry to set and display the value of the specified string property. since: 3.0
prop_label_new Creates a GtkLabel to display the value of the specified property. The property should be a string property or at least transformable to a string. If the user should be able to edit the string, usegimp_prop_entry_new() instead. since: 2.4
prop_label_spin_new Creates a GimpLabelSpin to set and display the value of the specified double property. since: 2.4
prop_memsize_entry_new Creates a GimpMemsizeEntry (spin button and option menu) to set and display the value of the specified memsize property. Seegimp_memsize_entry_new() for more information. since: 2.4
prop_palette_chooser_new Creates a GimpPaletteChooser controlled by the specified property. since: 3.0
prop_path_editor_new Creates a GimpPathEditor to edit the specified path and writable path properties.
prop_pattern_chooser_new Creates a GimpPatternChooser controlled by the specified property. since: 3.0
prop_pointer_combo_box_new Creates a GimpIntComboBox widget to display and set the specified property. The contents of the widget are determined by store, which should be created using gimp_int_store_new(). Values are GType/gpointer data, and therefore must be stored in the “user-data” column, instead of the usual “value” column. since: 2.10
prop_scale_entry_new Creates a GimpScaleEntry (slider and spin button) to set and display the value of a specified int or double property with sensible default settings depending on the range (decimal places, increments, etc.). These settings can be overridden by the relevant widget methods. since: 2.4
prop_size_entry_new Creates a GimpSizeEntry to set and display the specified double or int property, and its associated unit property. Note that this function is only suitable for creating a size entry holding a single value. Use gimp_prop_coordinates_new() to create a size entry holding two values. since: 2.4
prop_spin_button_new Creates a spin button to set and display the value of the specified double property. since: 2.4
prop_spin_scale_new Creates a spin scale to set and display the value of the specified int or double property. since: 3.0
prop_string_combo_box_new Creates a GimpStringComboBox widget to display and set the specified property. The contents of the widget are determined bystore. since: 2.4
prop_switch_new Creates a GtkBox with a switch and a label that displays and sets the specified boolean property. If label is NULL, the property_name‘s nick will be used as label. since: 3.0
prop_text_buffer_new Creates a GtkTextBuffer to set and display the value of the specified string property. Unless the string is expected to contain multiple lines or a large amount of text, usegimp_prop_entry_new() instead. See GtkTextView for information on how to insert a text buffer into a visible widget. since: 2.4
prop_unit_combo_box_new Creates a GimpUnitComboBox to set and display the value of a Unit property. See gimp_unit_combo_box_new() for more information. since: 2.8
prop_widget_set_factor Change the display factor of the property widget relatively to the property it was bound to. Currently the only types of widget accepted as input are those created by gimp_prop_spin_scale_new() and gimp_prop_spin_button_new(). since: 3.0
query_boolean_box Creates a new GtkDialog that asks the user to do a boolean decision.
query_double_box Creates a new GtkDialog that queries the user for a double value.
query_int_box Creates a new GtkDialog that queries the user for an integer value.
query_size_box Creates a new GtkDialog that queries the user for a size using aGimpSizeEntry.
query_string_box Creates a new GtkDialog that queries the user for a string value.
radio_button_update
random_seed_new Creates a widget that allows the user to control how the random number generator is initialized.
scroll_adjustment_values
standard_help_func This is the standard GIMP help function which does nothing but calling gimp_help(). It is the right function to use in almost all cases.
toggle_button_update
uint_adjustment_update Note that the GtkAdjustment‘s value (which is a #gdouble) will be rounded with (#guint) (value + 0.5).
widget_animation_enabled This function attempts to read the user’s system preference for showing animation. It can be used to turn off or hide unnecessary animations such as the scrolling credits or Easter Egg animations. since: 3.0
widget_free_native_handle Disposes a widget’s native window handle created asynchronously after a previous call to gimp_widget_set_native_handle. This disposes what the pointer points to, a *GBytes, if any. Call this when the widget and the window handle it owns is being disposed.
widget_get_color_profile This function returns the GimpColorProfile of the monitor widget is currently displayed on, or NULL if there is no profile configured. since: 3.0
widget_get_color_transform This function returns the GimpColorTransform that transforms pixels from src_profile to the profile of the GdkMonitor the widget is displayed on. since: 2.10
widget_get_monitor
widget_get_render_space
widget_set_native_handle This function is used to store the handle representing window intohandle so that it can later be reused to set other windows as transient to this one (even in other processes, such as plug-ins).
widget_track_monitor This function behaves as if GtkWidget had a signal. since: 2.10
widgets_error_quark This function is never called directly. Use GIMP_WIDGETS_ERROR() instead.
window_set_transient Indicates to the window manager that window is a transient dialog associated with the GIMP window that the plug-in has been started from. See also gimp_window_set_transient_for_display(). since: 2.4
window_set_transient_for Indicates to the window manager that window is a transient dialog to the window identified by handle. since: 3.0
window_set_transient_for_display Indicates to the window manager that window is a transient dialog associated with the GIMP image window that is identified by its display. See gdk_window_set_transient_for() for more information. since: 2.4
zoom_button_new