Class: Gtk::AppChooserWidget

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#default_textString

The Gtk::AppChooserWidget:default-text property determines the text that appears in the widget when there are no applications for the given content type. See also gtk_app_chooser_widget_set_default_text().

Returns:

  • (String)

    default-text

#default_text=(default_text) ⇒ String

The Gtk::AppChooserWidget:default-text property determines the text that appears in the widget when there are no applications for the given content type. See also gtk_app_chooser_widget_set_default_text().

Parameters:

  • default_text (String)

Returns:

  • (String)

    default-text

  • (String)

    default-text

#new(content_type) ⇒ Gtk::Widget

Creates a new Gtk::AppChooserWidget for applications that can handle content of the given type.

Parameters:

  • content_type (String)

    the content type to show applications for

Returns:

  • (Gtk::Widget)

    a newly created Gtk::AppChooserWidget

#show_allTrueClass

Returns the current value of the Gtk::AppChooserWidget:show-all property.

Returns:

  • (TrueClass)

    the value of Gtk::AppChooserWidget:show-all

#show_all=(show_all) ⇒ TrueClass

If the Gtk::AppChooserWidget:show-all property is true, the app chooser presents all applications in a single list, without subsections for default, recommended or related applications.

Parameters:

  • show_all (TrueClass)

Returns:

  • (TrueClass)

    show-all

  • (TrueClass)

    show-all

#show_all?TrueClass

If the Gtk::AppChooserWidget:show-all property is true, the app chooser presents all applications in a single list, without subsections for default, recommended or related applications.

Returns:

  • (TrueClass)

    show-all

#show_defaultTrueClass

Returns the current value of the Gtk::AppChooserWidget:show-default property.

Returns:

  • (TrueClass)

    the value of Gtk::AppChooserWidget:show-default

#show_default=(show_default) ⇒ TrueClass

The ::show-default property determines whether the app chooser should show the default handler for the content type in a separate section. If false, the default handler is listed among the recommended applications.

Parameters:

  • show_default (TrueClass)

Returns:

  • (TrueClass)

    show-default

  • (TrueClass)

    show-default

#show_default?TrueClass

The ::show-default property determines whether the app chooser should show the default handler for the content type in a separate section. If false, the default handler is listed among the recommended applications.

Returns:

  • (TrueClass)

    show-default

#show_fallbackTrueClass

Returns the current value of the Gtk::AppChooserWidget:show-fallback property.

Returns:

  • (TrueClass)

    the value of Gtk::AppChooserWidget:show-fallback

#show_fallback=(show_fallback) ⇒ TrueClass

The Gtk::AppChooserWidget:show-fallback property determines whether the app chooser should show a section for fallback applications. If false, the fallback applications are listed among the other applications.

Parameters:

  • show_fallback (TrueClass)

Returns:

  • (TrueClass)

    show-fallback

  • (TrueClass)

    show-fallback

#show_fallback?TrueClass

The Gtk::AppChooserWidget:show-fallback property determines whether the app chooser should show a section for fallback applications. If false, the fallback applications are listed among the other applications.

Returns:

  • (TrueClass)

    show-fallback

#show_otherTrueClass

Returns the current value of the Gtk::AppChooserWidget:show-other property.

Returns:

  • (TrueClass)

    the value of Gtk::AppChooserWidget:show-other

#show_other=(show_other) ⇒ TrueClass

The Gtk::AppChooserWidget:show-other property determines whether the app chooser should show a section for other applications.

Parameters:

  • show_other (TrueClass)

Returns:

  • (TrueClass)

    show-other

  • (TrueClass)

    show-other

#show_other?TrueClass

The Gtk::AppChooserWidget:show-other property determines whether the app chooser should show a section for other applications.

Returns:

  • (TrueClass)

    show-other

Returns the current value of the Gtk::AppChooserWidget:show-recommended property.

Returns:

  • (TrueClass)

    the value of Gtk::AppChooserWidget:show-recommended

#show_recommended=(show_recommended) ⇒ TrueClass

The Gtk::AppChooserWidget:show-recommended property determines whether the app chooser should show a section for recommended applications. If false, the recommended applications are listed among the other applications.

Parameters:

  • show_recommended (TrueClass)

Returns:

  • (TrueClass)

    show-recommended

  • (TrueClass)

    show-recommended

#show_recommended?TrueClass

The Gtk::AppChooserWidget:show-recommended property determines whether the app chooser should show a section for recommended applications. If false, the recommended applications are listed among the other applications.

Returns:

  • (TrueClass)

    show-recommended