Class: Gtk::NotebookPage

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

Overview

GtkNotebookPage is an auxiliary object used by GtkNotebook.

Instance Method Summary collapse

Instance Method Details

#child ⇒ Gtk::Widget

The child for this page.

Returns:

#child=(child) ⇒ Gtk::Widget

The child for this page.

Parameters:

Returns:

#detachable=(detachable) ⇒ Boolean

Whether the tab is detachable.

Parameters:

  • detachable (Boolean)

Returns:

  • (Boolean) —

    detachable

  • (Boolean) —

    detachable

#detachable? ⇒ Boolean

Whether the tab is detachable.

Returns:

  • (Boolean) —

    detachable

The label widget displayed in the child's menu entry.

Returns:

The label widget displayed in the child's menu entry.

Parameters:

Returns:

The text of the menu widget.

Returns:

  • (String) —

    menu-label

The text of the menu widget.

Parameters:

  • menu_label (String)

Returns:

  • (String) —

    menu-label

  • (String) —

    menu-label

#position ⇒ Integer

The index of the child in the parent.

Returns:

  • (Integer) —

    position

#position=(position) ⇒ Integer

The index of the child in the parent.

Parameters:

  • position (Integer)

Returns:

  • (Integer) —

    position

  • (Integer) —

    position

#reorderable=(reorderable) ⇒ Boolean

Whether the tab is reorderable by user action.

Parameters:

  • reorderable (Boolean)

Returns:

  • (Boolean) —

    reorderable

  • (Boolean) —

    reorderable

#reorderable? ⇒ Boolean

Whether the tab is reorderable by user action.

Returns:

  • (Boolean) —

    reorderable

#tab ⇒ Gtk::Widget

The tab widget for this page.

Returns:

#tab=(tab) ⇒ Gtk::Widget

The tab widget for this page.

Parameters:

Returns:

#tab_expand=(tab_expand) ⇒ Boolean

Whether to expand the child's tab.

Parameters:

  • tab_expand (Boolean)

Returns:

  • (Boolean) —

    tab-expand

  • (Boolean) —

    tab-expand

#tab_expand? ⇒ Boolean

Whether to expand the child's tab.

Returns:

  • (Boolean) —

    tab-expand

#tab_fill=(tab_fill) ⇒ Boolean

Whether the child's tab should fill the allocated area.

Parameters:

  • tab_fill (Boolean)

Returns:

  • (Boolean) —

    tab-fill

  • (Boolean) —

    tab-fill

#tab_fill? ⇒ Boolean

Whether the child's tab should fill the allocated area.

Returns:

  • (Boolean) —

    tab-fill

#tab_label ⇒ String

The text of the tab widget.

Returns:

  • (String) —

    tab-label

#tab_label=(tab_label) ⇒ String

The text of the tab widget.

Parameters:

  • tab_label (String)

Returns:

  • (String) —

    tab-label

  • (String) —

    tab-label