Object Hierarchy:

Object hierarchy for AppChooserWidget


[ CCode ( type_id = "gtk_app_chooser_widget_get_type ()" ) ]
public class AppChooserWidget : Widget, Accessible, AppChooser, Buildable, ConstraintTarget

`GtkAppChooserWidget` is a widget for selecting applications.

It is the main building block for [class@Gtk.AppChooserDialog]. Most applications only need to use the latter; but you can use this widget as part of a larger widget if you have special needs.

`GtkAppChooserWidget` offers detailed control over what applications are shown, using the [property@Gtk.AppChooserWidget:show-default], [ property@Gtk.AppChooserWidget:show-recommended], [property@Gtk.AppChooserWidget:show-fallback], [property@Gtk.AppChooserWidget:show-other] and [ property@Gtk.AppChooserWidget:show-all] properties. See the [iface@Gtk.AppChooser] documentation for more information about these groups of applications.

To keep track of the selected application, use the [signal@Gtk.AppChooserWidget:GtkAppChooserWidget:application-selected] and [ signal@Gtk.AppChooserWidget:GtkAppChooserWidget:application-activated] signals.

CSS nodes

`GtkAppChooserWidget` has a single CSS node with name appchooser.

Namespace: Gtk
Package: gtk4



Creation methods:



Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Gtk.AppChooser