AppChooserDialogRef

public struct AppChooserDialogRef : AppChooserDialogProtocol, GWeakCapturing

GtkAppChooserDialog shows a GtkAppChooserWidget inside a GtkDialog.

An example GtkAppChooserDialog

Note that GtkAppChooserDialog does not have any interesting methods of its own. Instead, you should get the embedded GtkAppChooserWidget using [methodGtk.AppChooserDialog.get_widget] and call its methods if the generic [ifaceGtk.AppChooser] interface is not sufficient for your needs.

To set the heading that is shown above the GtkAppChooserWidget, use [methodGtk.AppChooserDialog.set_heading].

The AppChooserDialogRef type acts as a lightweight Swift reference to an underlying GtkAppChooserDialog instance. It exposes methods that can operate on this data type through AppChooserDialogProtocol conformance. Use AppChooserDialogRef only as an unowned reference to an existing GtkAppChooserDialog instance.

  • ptr
    Untyped pointer to the underlying `GtkAppChooserDialog` instance.
    

    For type-safe access, use the generated, typed pointer app_chooser_dialog_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

AppChooserDialog Class