Class: Handy::ExpanderRow

Inherits:
PreferencesRow show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from PreferencesRow

#title, #title=

Constructor Details

#initializeGtk::Widget

Creates a new HdyExpanderRow.

Instance Method Details

#add_action(widget) ⇒ nil

Adds an action widget to self.

Parameters:

  • widget (Gtk::Widget)

    the action widget

Returns:

  • (nil)

#add_prefix(widget) ⇒ nil

Adds a prefix widget to self.

Parameters:

  • widget (Gtk::Widget)

    the prefix widget

Returns:

  • (nil)

#enable_expansionBoolean

Gets whether the expansion of self is enabled.

Returns:

  • (Boolean)

    whether the expansion of self is enabled

#enable_expansion=(enable_expansion) ⇒ Boolean

Whether expansion is enabled.

Parameters:

  • enable_expansion (Boolean)

Returns:

  • (Boolean)

    enable-expansion

  • (Boolean)

    enable-expansion

#enable_expansion?Boolean

Whether expansion is enabled.

Returns:

  • (Boolean)

    enable-expansion

#expandedBoolean

Returns:

  • (Boolean)

#expanded=(expanded) ⇒ Boolean

Whether the row is expanded.

Parameters:

  • expanded (Boolean)

Returns:

  • (Boolean)

    expanded

  • (Boolean)

    expanded

#expanded?Boolean

Whether the row is expanded.

Returns:

  • (Boolean)

    expanded

#icon_nameString

The icon name for this row.

Returns:

  • (String)

    icon-name

#icon_name=(icon_name) ⇒ String

The icon name for this row.

Parameters:

  • icon_name (String)

Returns:

  • (String)

    icon-name

  • (String)

    icon-name

#show_enable_switchBoolean

Gets whether the switch enabling the expansion of self is visible.

Returns:

  • (Boolean)

    whether the switch enabling the expansion of self is visible

#show_enable_switch=(show_enable_switch) ⇒ Boolean

Whether the switch enabling the expansion is visible.

Parameters:

  • show_enable_switch (Boolean)

Returns:

  • (Boolean)

    show-enable-switch

  • (Boolean)

    show-enable-switch

#show_enable_switch?Boolean

Whether the switch enabling the expansion is visible.

Returns:

  • (Boolean)

    show-enable-switch

#subtitleString

The subtitle for this row.

Returns:

  • (String)

    subtitle

#subtitle=(subtitle) ⇒ String

The subtitle for this row.

Parameters:

  • subtitle (String)

Returns:

  • (String)

    subtitle

  • (String)

    subtitle

#use_underlineBoolean

Gets whether an embedded underline in the title or subtitle labels indicates a mnemonic.

Returns:

  • (Boolean)

    whether an embedded underlines indicates a mnemonic

#use_underline=(use_underline) ⇒ Boolean

Whether an embedded underline in the title or subtitle labels indicates a mnemonic.

Parameters:

  • use_underline (Boolean)

Returns:

  • (Boolean)

    use-underline

  • (Boolean)

    use-underline

#use_underline?Boolean

Whether an embedded underline in the title or subtitle labels indicates a mnemonic.

Returns:

  • (Boolean)

    use-underline