Handy.TitleBar¶
- Subclasses:
None
Methods¶
- Inherited:
Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
- Structs:
Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class |
|
|
Virtual Methods¶
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
d/r/w/en |
Whether or not the title bar is in selection mode |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Handy.TitleBar(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A simple title bar container.
HdyTitleBar
is meant to be used as the top-level widget of your window’s title bar. It will be drawn with the same style as a [class`Gtk`.HeaderBar] but it won’t force a widget layout on you: you can put whatever widget you want in it, including a [class`Gtk`.HeaderBar].HdyTitleBar
becomes really useful when you want to animate header bars, like an adaptive application using [class`Leaflet`] would do.HdyTitleBar
has been deprecated, header bars can be animated without it when placed inside [class`Window`] or [class`ApplicationWindow`].- CSS nodes
HdyTitleBar
has a single CSS node with nameheaderbar
.New in version 1.0.
Deprecated since version 1.4.
- classmethod new()¶
- Returns:
a new
HdyTitleBar
- Return type:
Creates a new
HdyTitleBar
.New in version 1.0.
Deprecated since version 1.4.
- get_selection_mode()¶
- Returns:
TRUE
if the title bar is in selection mode- Return type:
Returns whether whether self is in selection mode.
New in version 1.0.
Deprecated since version 1.4.
Property Details¶
- Handy.TitleBar.props.selection_mode¶
- Name:
selection-mode
- Type:
- Default Value:
- Flags:
Whether or not the title bar is in selection mode.
New in version 1.0.
Deprecated since version 1.4.