GIMP Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
void (*GimpQueryStringCallback) ( |
These functions provide simple dialogs for entering a single string, integer, double, boolean or pixel size value.
They return a pointer to a
The dialogs contain an entry widget for the kind of value they ask for and "OK" and "Cancel" buttons. On "Cancel", all query boxes except the boolean one silently destroy themselves. On "OK" the user defined callback function is called and returns the entered value.
void (*GimpQueryStringCallback) ( |
Note that you have to
query_box : | The query box. |
string : | The entered string. |
data : | The user data. |
void (*GimpQueryIntCallback) ( |
query_box : | The query box. |
value : | The entered integer value. |
data : | The user data. |
void (*GimpQueryDoubleCallback) ( |
query_box : | The query box. |
value : | The entered double value. |
data : | The user data. |
void (*GimpQuerySizeCallback) ( |
query_box : | The query box. |
size : | The entered size in pixels. |
unit : | The selected unit from the GimpUnitMenu. |
data : | The user data. |
void (*GimpQueryBooleanCallback) ( |
query_box : | The query box. |
value : | The entered boolean value. |
data : | The user data. |
|
title : | The query box dialog's title. |
help_func : | The help function to show this dialog's help page. |
help_data : | A string pointing to this dialog's html help page. |
message : | A string which will be shown above the dialog's entry widget. |
initial : | The initial value. |
object : | The object this query box is associated with. |
signal : | The object's signal which will cause the query box to be closed. |
callback : | The function which will be called when the user selects "OK". |
data : | The callback's user data. |
Returns : | A pointer to the new |
|
title : | The query box dialog's title. |
help_func : | The help function to show this dialog's help page. |
help_data : | A string pointing to this dialog's html help page. |
message : | A string which will be shown above the dialog's entry widget. |
initial : | The initial value. |
lower : | The lower boundary of the range of possible values. |
upper : | The upper boundray of the range of possible values. |
object : | The object this query box is associated with. |
signal : | The object's signal which will cause the query box to be closed. |
callback : | The function which will be called when the user selects "OK". |
data : | The callback's user data. |
Returns : | A pointer to the new |
|
title : | The query box dialog's title. |
help_func : | The help function to show this dialog's help page. |
help_data : | A string pointing to this dialog's html help page. |
message : | A string which will be shown above the dialog's entry widget. |
initial : | The initial value. |
lower : | The lower boundary of the range of possible values. |
upper : | The upper boundray of the range of possible values. |
digits : | The number of decimal digits the |
object : | The object this query box is associated with. |
signal : | The object's signal which will cause the query box to be closed. |
callback : | The function which will be called when the user selects "OK". |
data : | The callback's user data. |
Returns : | A pointer to the new |
|
title : | The query box dialog's title. |
help_func : | The help function to show this dialog's help page. |
help_data : | A string pointing to this dialog's html help page. |
message : | A string which will be shown above the dialog's entry widget. |
initial : | The initial value. |
lower : | The lower boundary of the range of possible values. |
upper : | The upper boundray of the range of possible values. |
digits : | The number of decimal digits the GimpSizeEntry provide in "pixel" mode. |
unit : | The unit initially shown by the GimpUnitMenu. |
resolution : | The resolution (in dpi) which will be used for pixel/unit calculations. |
dot_for_dot : | |
object : | The object this query box is associated with. |
signal : | The object's signal which will cause the query box to be closed. |
callback : | The function which will be called when the user selects "OK". |
data : | The callback's user data. |
Returns : | A pointer to the new |
|
title : | The query box dialog's title. |
help_func : | The help function to show this dialog's help page. |
help_data : | A string pointing to this dialog's html help page. |
eek : | |
message : | A string which will be shown in the query box. |
true_button : | The string to be shown in the dialog's left button. |
false_button : | The string to be shown in the dialog's right button. |
object : | The object this query box is associated with. |
signal : | The object's signal which will cause the query box to be closed. |
callback : | The function which will be called when the user clicks one of the buttons. |
data : | The callback's user data. |
Returns : | A pointer to the new |