GimpUi.Dialog¶
- Subclasses:
 
Methods¶
- Inherited:
 Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
 Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
  | 
|
  | 
|
Virtual Methods¶
Properties¶
- Inherited:
 Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Name  | 
Type  | 
Flags  | 
Short Description  | 
|---|---|---|---|
r/w/co  | 
The help function to call when F1 is hit  | 
||
r/w/c  | 
The help ID to pass to help-func  | 
Style Properties¶
- Inherited:
 
Signals¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
parent_instance  | 
r  | 
Class Details¶
- class GimpUi.Dialog(*args, **kwargs)¶
 - Bases:
 - Abstract:
 No
- Structure:
 
Constructors for
Gtk.Dialog's and action_areas as well as other dialog-related stuff.- add_button(button_text, response_id)¶
 - Parameters:
 - Returns:
 the button widget that was added.
- Return type:
 
This function is essentially the same as
Gtk.Dialog.add_button() except it ensures there is only one help button and automatically sets the RESPONSE_OK widget as the default response.
- get_native_handle()¶
 - Returns:
 an opaque [struct`GLib`.Bytes] identifying this window.
- Return type:
 
Returns an opaque data handle representing the window in the currently running platform. You should not try to use this directly. Usually this is to be used in functions such as [func`Gimp`.brushes_popup] which will allow the core process to set this [class`Dialog`] as parent to the newly created popup.
New in version 3.0.
- run()¶
 - Returns:
 response ID
- Return type:
 
This function does exactly the same as
Gtk.Dialog.run() except it does not make the dialog modal while theGLib.MainLoopis running.
- set_alternative_button_order_from_array(order)¶
 - Parameters:
 order ([
int]) – array of buttons’ response ids.
Reorder self's buttons if [property`Gtk`.Settings:gtk-alternative-button-order] is set to
True. This is mostly a wrapper around the GTK function [method`Gtk`.Dialog.set_alternative_button_order], except it won’t output a deprecation warning.New in version 3.0.
Property Details¶
- GimpUi.Dialog.props.help_func¶
 - Name:
 help-func- Type:
 - Default Value:
 - Flags:
 
The help function to call when F1 is hit
New in version 2.2.