GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
|
|
The va_list describing the
The menu item's label. | |
The callback which will be connected to the menu item's "activate" signal | |
The callback data which will be used in | |
The menu item's user_data which will be set with
| |
A pointer to store the created menu item in. | |
menu_only : | |
... : | A |
Returns : | A |
|
The va_list describing the
The menu item's label. | |
The menu item's user_data which will be set with
| |
A pointer to store the created menu item in. |
menu_only : | |
menu_item_callback : | The callback each menu item's "activate" signal will be connected with. |
data : | The data which will be passed to |
initial : | The user_data of the initially selected menu item. |
... : | A |
Returns : | A |
void gimp_option_menu_set_history ( |
option_menu : | A |
user_data : | The user_data of the menu item you want to select. |
|
The va_list describing the
The radio button's label. | |
The callback which will be connected to the radio button's "toggled" signal | |
The callback data which will be used in | |
The radio button's user_data which will be set with
| |
A pointer to store the created radio button in. | |
in_frame : | |
frame_title : | The title of the Frame or |
... : | A |
Returns : | A |
|
The va_list describing the
The radio button's label. | |
The radio button's user_data which will be set with
| |
A pointer to store the created radio button in. |
in_frame : | |
frame_title : | The title of the Frame or |
radio_button_callback : | The callback each button's "toggled" signal will be connected with. |
data : | The data which will be passed to |
initial : | The user_data of the initially pressed radio button. |
... : | A |
Returns : | A |
|
This function is a shortcut for
adjustment : | Returns the spinbutton's |
value : | The initial value of the spinbutton. |
lower : | The lower boundary. |
upper : | The uppper boundary. |
step_increment : | The spinbutton's step increment. |
page_increment : | The spinbutton's page increment (mouse button 2). |
page_size : | The spinbutton's page size. |
climb_rate : | The spinbutton's climb rate. |
digits : | The spinbutton's number of decimal digits. |
Returns : | A |
|
This function creates a
Note that if you pass a tooltip or help_data to this function you'll have to initialize GIMP's help system with gimp_help_init() before using it.
table : | The |
column : | The column to start with. |
row : | The row to attach the widgets. |
text : | The text for the |
scale_usize : | The minimum horizontal size of the |
spinbutton_usize : | The minimum horizontal size of the |
value : | The initial value. |
lower : | The lower boundary. |
upper : | The upper boundary. |
step_increment : | The step increment. |
page_increment : | The page increment. |
digits : | The number of decimal digits. |
constrain : | |
unconstrained_lower : | The spinbutton's lower boundary
if constrain == |
unconstrained_upper : | The spinbutton's upper boundary
if constrain == |
tooltip : | A tooltip message for the scale and the spinbutton. |
help_data : | The widgets' help_data (see gimp_help_set_help_data()). |
Returns : | The |
#define GIMP_SCALE_ENTRY_LABEL(adj) |
Returns the scale_entry's
adj : | The |
#define GIMP_SCALE_ENTRY_SCALE(adj) |
Returns the scale_entry's
adj : | The |
#define GIMP_SCALE_ENTRY_SCALE_ADJ(adj) |
Returns the
adj : | The |
#define GIMP_SCALE_ENTRY_SPINBUTTON(adj) |
Returns the scale_entry's
adj : | The |
#define GIMP_SCALE_ENTRY_SPINBUTTON_ADJ(adj) |
Returns the
adj : | The |
|
Note that this widget automatically sets tooltips with gimp_help_set_help_data(), so you'll have to initialize GIMP's help system with gimp_help_init() before using it.
seed : | A pointer to the variable which stores the random seed. |
use_time : | A pointer to the variable which stores the use_time toggle boolean. |
time_true : | The value to write to use_time if the toggle button is checked. |
time_false : | The value to write to use_time if the toggle button is unchecked. |
Returns : | A |
#define GIMP_RANDOM_SEED_SPINBUTTON(hbox) |
Returns the random_seed's
hbox : | The |
#define GIMP_RANDOM_SEED_SPINBUTTON_ADJ(hbox) |
Returns the
hbox : | The |
#define GIMP_RANDOM_SEED_TOGGLEBUTTON(hbox) |
Returns the random_seed's
hbox : | The |
|
unit : | The initial unit of the GimpUnitMenu. |
unit_format : | The unit format string as passed to gimp_size_entry_new(). |
menu_show_pixels : | |
menu_show_percent : | |
spinbutton_usize : | The horizontal usize of the GimpSizeEntry's
|
update_policy : | The update policy for the GimpSizeEntry. |
chainbutton_active : | |
chain_constrains_ratio : | |
xlabel : | The label for the X coordinate. |
x : | The initial value of the X coordinate. |
xres : | The horizontal resolution in DPI. |
lower_boundary_x : | The lower boundary of the X coordinate. |
upper_boundary_x : | The upper boundary of the X coordinate. |
xsize_0 : | The X value which will be treated as 0%. |
xsize_100 : | The X value which will be treated as 100%. |
ylabel : | The label for the Y coordinate. |
y : | The initial value of the Y coordinate. |
yres : | The vertical resolution in DPI. |
lower_boundary_y : | The lower boundary of the Y coordinate. |
upper_boundary_y : | The upper boundary of the Y coordinate. |
ysize_0 : | The Y value which will be treated as 0%. |
ysize_100 : | The Y value which will be treated as 100%. |
Returns : | 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. |
#define GIMP_COORDINATES_CHAINBUTTON(sizeentry) |
Returns the GimpChainButton which is attached to the GimpSizeEntry.
sizeentry : | The GimpSizeEntry returned by gimp_coordinates_new(). |
|
adjustment : | The adjustment containing the memsize and it's limits. |
Returns : | A |
|
xpm_data : | The XPM data which will be passed to gimp_pixmap_new(). |
text : | An optional text which will appear right of the pixmap. |
Returns : | A |
void gimp_toggle_button_sensitive_update ( |
If you attached a pointer to a
You can attach an arbitrary list of widgets by attaching another "set_sensitive" data pointer to the first widget (and so on...).
This function can also set the sensitive state according to the toggle button's inverse "active" state by attaching widgets with the "inverse_sensitive" key.
toggle_button : | The |
void gimp_toggle_button_update ( |
Note that this function calls gimp_toggle_button_sensitive_update().
widget : | A |
data : | A pointer to a |
void gimp_radio_button_update ( |
Note that this function calls gimp_toggle_button_sensitive_update().
widget : | A |
data : | A pointer to a |
void gimp_menu_item_update ( |
widget : | A |
data : | A pointer to a |
void gimp_int_adjustment_update ( |
Note that the
adjustment : | A |
data : | A pointer to a |
void gimp_uint_adjustment_update ( |
Note that the
adjustment : | A |
data : | A pointer to a |
void gimp_float_adjustment_update ( |
adjustment : | A |
data : | A pointer to a |
void gimp_double_adjustment_update ( |
adjustment : | A |
data : | A pointer to a |
void gimp_unit_menu_update ( |
This callback can set the number of decimal digits of an arbitrary number
of
See gimp_toggle_button_sensitive_update() for a description of how to set up the list.
widget : | A GimpUnitMenu. |
data : | A pointer to a GimpUnit variable which will store the unit menu's value. |
void gimp_table_attach_aligned ( |
Note that the label_text can be
table : | The |
column : | The column to start with. |
row : | The row to attach the eidgets. |
label_text : | The text for the |
xalign : | The horizontal alignment of the |
yalign : | The vertival alignment of the |
widget : | The |
colspan : | The number of columns the widget will use. |
left_align : | |