AppChooserDialog
Deprecated since version 4.10: The application selection widgets should be implemented according to the design of each platform and/or application requiring them.
- class AppChooserDialog(*args, **kwargs)
Superclasses: Dialog
, Window
, Widget
, InitiallyUnowned
, Object
Implemented Interfaces: Accessible
, AppChooser
, Buildable
, ConstraintTarget
, Native
, Root
, ShortcutManager
- Constructors:
AppChooserDialog(**properties)
new(parent:Gtk.Window=None, flags:Gtk.DialogFlags, file:Gio.File) -> Gtk.Widget
new_for_content_type(parent:Gtk.Window=None, flags:Gtk.DialogFlags, content_type:str) -> Gtk.Widget
Constructors
- class AppChooserDialog
- classmethod new(parent: Window | None, flags: DialogFlags, file: File) Widget
Creates a new
GtkAppChooserDialog
for the providedGFile
.The dialog will show applications that can open the file.
Deprecated since version 4.10: This widget will be removed in GTK 5
- Parameters:
parent – a
GtkWindow
flags – flags for this dialog
file – a
GFile
- classmethod new_for_content_type(parent: Window | None, flags: DialogFlags, content_type: str) Widget
Creates a new
GtkAppChooserDialog
for the provided content type.The dialog will show applications that can open the content type.
Deprecated since version 4.10: This widget will be removed in GTK 5
- Parameters:
parent – a
GtkWindow
flags – flags for this dialog
content_type – a content type string
Methods
- class AppChooserDialog
- get_heading() str | None
Returns the text to display at the top of the dialog.
Deprecated since version 4.10: This widget will be removed in GTK 5