Initially, a gtk.app_chooser_button.AppChooserButton selects the first application
in its list, which will either be the most-recently used application
or, if property@Gtk.AppChooserButton:show-default-item is true, the
default application.
The list of applications shown in a gtk.app_chooser_button.AppChooserButton includes
the recommended applications for the given content type. When
property@Gtk.AppChooserButton:show-default-item is set, the default
application is also included. To let the user chooser other applications,
you can set the property@Gtk.AppChooserButton:show-dialog-item property,
which allows to open a full gtk.app_chooser_dialog.AppChooserDialog.
It is possible to add custom items to the list, using
gtk.app_chooser_button.AppChooserButton.appendCustomItem. These items cause
the signal@Gtk.AppChooserButton::custom-item-activated signal to be
emitted when they are selected.
The gtk.app_chooser_button.AppChooserButton lets the user select an application.
Initially, a gtk.app_chooser_button.AppChooserButton selects the first application in its list, which will either be the most-recently used application or, if property@Gtk.AppChooserButton:show-default-item is true, the default application.
The list of applications shown in a gtk.app_chooser_button.AppChooserButton includes the recommended applications for the given content type. When property@Gtk.AppChooserButton:show-default-item is set, the default application is also included. To let the user chooser other applications, you can set the property@Gtk.AppChooserButton:show-dialog-item property, which allows to open a full gtk.app_chooser_dialog.AppChooserDialog.
It is possible to add custom items to the list, using gtk.app_chooser_button.AppChooserButton.appendCustomItem. These items cause the signal@Gtk.AppChooserButton::custom-item-activated signal to be emitted when they are selected.
To track changes in the selected application, use the gtk.app_chooser_button.AppChooserButton.changed signal.
CSS nodes
gtk.app_chooser_button.AppChooserButton has a single CSS node with the name “appchooserbutton”.