Top | ![]() |
![]() |
![]() |
![]() |
GimpProcedureConfig * | config | Read / Write / Construct |
GimpProcedure * | procedure | Read / Write / Construct |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkWindow ╰── GtkDialog ╰── GimpDialog ╰── GimpProcedureDialog
GtkWidget * gimp_procedure_dialog_new (GimpProcedure *procedure
,GimpProcedureConfig *config
,const gchar *title
);
Creates a new dialog for procedure
using widgets generated from
properties of config
.
A NULL
title will only be accepted if a menu label was set with
gimp_procedure_set_menu_label()
(this menu label will then be used as
dialog title instead). If neither an explicit label nor a procedure
menu label was set, the call will fail.
procedure |
the associated GimpProcedure. |
|
config |
a GimpProcedureConfig from which properties will be turned into widgets. |
|
title |
a dialog title. |
[nullable] |
gboolean
gimp_procedure_dialog_run (GimpProcedureDialog *dialog
);
Show dialog
and only returns when the user finished interacting with
it (either validating choices or canceling).
“config”
property“config” GimpProcedureConfig *
The GimpProcedureConfig this dialog is editing.
Owner: GimpProcedureDialog
Flags: Read / Write / Construct
“procedure”
property“procedure” GimpProcedure *
The GimpProcedure this dialog is used with.
Owner: GimpProcedureDialog
Flags: Read / Write / Construct