Class: Handy::HeaderGroup

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

Instance Method Summary collapse

Constructor Details

#initializeHandy::HeaderGroup

Creates a new HdyHeaderGroup.

Instance Method Details

#add_gtk_header_bar(header_bar) ⇒ nil

Adds header_bar to self.

When the widget is destroyed or no longer referenced elsewhere, it will be removed from the header group.

Parameters:

  • header_bar (Gtk::HeaderBar)

    the header bar to add

Returns:

  • (nil)

#add_header_bar(header_bar) ⇒ nil

Adds header_bar to self.

When the widget is destroyed or no longer referenced elsewhere, it will be removed from the header group.

Parameters:

Returns:

  • (nil)

#add_header_group(header_group) ⇒ nil

Adds header_group to self.

When the nested group is no longer referenced elsewhere, it will be removed from the header group.

Parameters:

Returns:

  • (nil)

#childrenGLib::SList<Handy::HeaderGroupChild>

Returns the list of children associated with self.

Returns:

#decorate_allBoolean

Gets whether the elements of the group should all receive the full decoration.

Returns:

  • (Boolean)

    whether the elements of the group should all receive the full decoration

#decorate_all=(decorate_all) ⇒ Boolean

Whether the elements of the group should all receive the full decoration.

This is useful in conjunction with [propertyLeaflet:folded] when the leaflet contains the header bars of the group, as you want them all to display the complete decoration when the leaflet is folded.

Parameters:

  • decorate_all (Boolean)

Returns:

  • (Boolean)

    decorate-all

  • (Boolean)

    decorate-all

#decorate_all?Boolean

Whether the elements of the group should all receive the full decoration.

This is useful in conjunction with [propertyLeaflet:folded] when the leaflet contains the header bars of the group, as you want them all to display the complete decoration when the leaflet is folded.

Returns:

  • (Boolean)

    decorate-all

#remove_child(child) ⇒ nil

Removes child from self.

Parameters:

Returns:

  • (nil)

#remove_gtk_header_bar(header_bar) ⇒ nil

Removes header_bar from self.

Parameters:

  • header_bar (Gtk::HeaderBar)

    the header bar to remove

Returns:

  • (nil)

#remove_header_bar(header_bar) ⇒ nil

Removes header_bar from self.

Parameters:

Returns:

  • (nil)

#remove_header_group(header_group) ⇒ nil

Removes a nested HdyHeaderGroup from self.

Parameters:

Returns:

  • (nil)