Basics
Guides
API Reference
Basics
Guides
API Reference
[136:14] static extends: object
Generated metadata helpers for AppChooser interface surfaces.
properties ()
Returns property metadata for
AppChooser.
A list.[24:7] extends: object
GtkAppChooser is an interface for widgets which allow the user to choose an
application. The main objects that implement this interface are
[class@Gtk.AppChooserWidget], [class@Gtk.AppChooserDialog] and
[class@Gtk.AppChooserButton]. Applications are represented by GIO GAppInfo
objects here. GIO has a concept of recommended and fallback applications for
a given content type. Recommended applications are those that claim to handle
the content type itself, while fallback also includes applications that
handle a more generic content type. GIO also knows the default and last-used
application for a given content type. The GtkAppChooserWidget provides
detailed control over whether the shown list of applications should include
default, recommended or fallback applications. To obtain the application that
has been selected in a GtkAppChooser, use
[method@Gtk.AppChooser.get_app_info].
AppChooser (Handle = null)
Creates a new
AppChooserby wrapping a native handle or another wrapper.
Handle is the native handle or another wrapper whose handle to adopt.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.get_app_info ()
Returns the currently selected application.
get_content_type ()
Returns the content type for which the
GtkAppChoosershows applications.
refresh ()
Reloads the list of applications.
None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.