Class: Gtk::HeaderBar
- Inherits:
-
Object
- Object
- Gtk::HeaderBar
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#custom_title ⇒ Gtk::Widget
Custom-title.
- #custom_title=(custom_title) ⇒ Gtk::Widget
-
#decoration_layout ⇒ String
The decoration layout for buttons.
-
#decoration_layout=(decoration_layout) ⇒ String
The decoration layout for buttons.
-
#decoration_layout_set=(decoration_layout_set) ⇒ TrueClass
Set to true if Gtk::HeaderBar:decoration-layout is set.
-
#decoration_layout_set? ⇒ TrueClass
Set to true if Gtk::HeaderBar:decoration-layout is set.
-
#has_subtitle ⇒ TrueClass
Retrieves whether the header bar reserves space for a subtitle, regardless if one is currently set or not.
-
#has_subtitle=(has_subtitle) ⇒ TrueClass
If true, reserve space for a subtitle, even if none is currently set.
-
#has_subtitle? ⇒ TrueClass
If true, reserve space for a subtitle, even if none is currently set.
-
#new ⇒ Gtk::Widget
Creates a new Gtk::HeaderBar widget.
-
#pack_end(child) ⇒ nil
Adds child to bar, packed with reference to the end of the bar.
-
#pack_start(child) ⇒ nil
Adds child to bar, packed with reference to the start of the bar.
-
#show_close_button ⇒ TrueClass
Returns whether this header bar shows the standard window decorations.
-
#show_close_button=(show_close_button) ⇒ TrueClass
Whether to show window decorations.
-
#show_close_button? ⇒ TrueClass
Whether to show window decorations.
-
#spacing ⇒ Integer
Spacing.
- #spacing=(spacing) ⇒ Integer
-
#subtitle ⇒ String
Subtitle.
- #subtitle=(subtitle) ⇒ String
-
#title ⇒ String
Title.
- #title=(title) ⇒ String
Instance Method Details
#custom_title ⇒ Gtk::Widget
Returns custom-title.
#custom_title=(custom_title) ⇒ Gtk::Widget
#decoration_layout ⇒ String
The decoration layout for buttons. If this property is not set, the Gtk::Settings:gtk-decoration-layout setting is used.
See gtk_header_bar_set_decoration_layout() for information about the format of this string.
#decoration_layout=(decoration_layout) ⇒ String
The decoration layout for buttons. If this property is not set, the Gtk::Settings:gtk-decoration-layout setting is used.
See gtk_header_bar_set_decoration_layout() for information about the format of this string.
#decoration_layout_set=(decoration_layout_set) ⇒ TrueClass
Set to true if Gtk::HeaderBar:decoration-layout is set.
#decoration_layout_set? ⇒ TrueClass
Set to true if Gtk::HeaderBar:decoration-layout is set.
#has_subtitle ⇒ TrueClass
Retrieves whether the header bar reserves space for a subtitle, regardless if one is currently set or not.
#has_subtitle=(has_subtitle) ⇒ TrueClass
If true, reserve space for a subtitle, even if none is currently set.
#has_subtitle? ⇒ TrueClass
If true, reserve space for a subtitle, even if none is currently set.
#new ⇒ Gtk::Widget
Creates a new Gtk::HeaderBar widget.
#pack_end(child) ⇒ nil
Adds child to bar, packed with reference to the end of the bar.
#pack_start(child) ⇒ nil
Adds child to bar, packed with reference to the start of the bar.
#show_close_button ⇒ TrueClass
Returns whether this header bar shows the standard window decorations.
#show_close_button=(show_close_button) ⇒ TrueClass
Whether to show window decorations.
Which buttons are actually shown and where is determined by the Gtk::HeaderBar:decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can’t be closed).
#show_close_button? ⇒ TrueClass
Whether to show window decorations.
Which buttons are actually shown and where is determined by the Gtk::HeaderBar:decoration-layout property, and by the state of the window (e.g. a close button will not be shown if the window can’t be closed).
#spacing ⇒ Integer
Returns spacing.
#spacing=(spacing) ⇒ Integer
#subtitle ⇒ String
Returns subtitle.
#subtitle=(subtitle) ⇒ String
#title ⇒ String
Returns title.