Basics
Guides
API Reference
Basics
Guides
API Reference
[257:14] static extends: object
Generated metadata helpers for AppChooserDialog class surfaces.
properties ()
Returns property metadata for
AppChooserDialog.
A list.[23:7] extends: object
GtkAppChooserDialog shows a GtkAppChooserWidget inside a GtkDialog.
GtkAppChooserDialog does not have any interesting methods of its own.
Instead, you should get the embedded GtkAppChooserWidget using
[method@Gtk.AppChooserDialog.get_widget] and call its methods if the generic
[iface@Gtk.AppChooser] interface is not sufficient for your needs. To set the
heading that is shown above the GtkAppChooserWidget, use
[method@Gtk.AppChooserDialog.set_heading]. ## CSS nodes GtkAppChooserDialog
has a single CSS node with the name window and style class .appchooser.
AppChooserDialog (parent = null, flags = null, file = null)
Creates a new
GtkAppChooserDialogfor the providedGFile. The dialog will show applications that can open the file.
parent is a GtkWindow.flags is flags for this dialog.file is a GFile.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asDialog ()
Wraps this handle as
Dialog.
A Dialog object.asAccessible ()
Wraps this handle as
Accessible.
A Accessible object.asAppChooser ()
Wraps this handle as
AppChooser.
A AppChooser object.asBuildable ()
Wraps this handle as
Buildable.
A Buildable object.asConstraintTarget ()
Wraps this handle as
ConstraintTarget.
A ConstraintTarget object.asNative ()
Wraps this handle as
Native.
A Native object.asRoot ()
Wraps this handle as
Root.
A Root object.asShortcutManager ()
Wraps this handle as
ShortcutManager.
A ShortcutManager object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setHeading (string Value)
The text to show at the top of the dialog. The string may contain Pango markup.
Value is the new property value.None.get_heading ()
Returns the text to display at the top of the dialog.
get_widget ()
Returns the
GtkAppChooserWidgetof this dialog.
set_heading (string heading)
Sets the text to display at the top of the dialog. If the heading is not set, the dialog displays a default text.
heading is a string containing Pango markup.None.[234:14] static extends: object
Alternate constructors for AppChooserDialog. Usage:
AppChooserDialogCtors.<name>(...). The primary constructor lives
directly on AppChooserDialog.
newForContentType (object parent, string flags, string content_type)
Creates a new
GtkAppChooserDialogfor the provided content type. The dialog will show applications that can open the content type.
parent is a GtkWindow.flags is flags for this dialog.content_type is a content type string.A new AppChooserDialog.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.