Top | ![]() |
![]() |
![]() |
![]() |
GimpProcedureConfig * | config | Read / Write / Construct |
GimpProcedure * | procedure | Read / Write / Construct Only |
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.
As for all GtkWindow, the returned GimpProcedureDialog object is
owned by GTK and its initial reference is stored in an internal list
of top-level windows. To delete the dialog, call
gtk_widget_destroy()
.
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 Only