ClapperGtk.TitleHeader¶
- Subclasses:
None
Methods¶
- Inherited:
ClapperGtk.LeadContainer (5), ClapperGtk.Container (11), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9)
Properties¶
- Inherited:
ClapperGtk.LeadContainer (2), ClapperGtk.Container (4), Gtk.Widget (34), Gtk.Accessible (1)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/en |
|||
r/w |
Signals¶
- Inherited:
ClapperGtk.Container (1), Gtk.Widget (13), GObject.Object (1)
Fields¶
- Inherited:
ClapperGtk.Container (1), Gtk.Widget (13), GObject.Object (1)
Class Details¶
- class ClapperGtk.TitleHeader(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A header panel widget that displays current media title.
ClapperGtk.TitleHeader
is a simple, ready to be used header widget that displays current media title. It can be placed as-is as a [class`ClapperGtk`.Video] overlay (either fading or not).If you need a further customized header, you can use [class`ClapperGtk`.TitleLabel] which is used by this widget to build your own implementation instead.
- classmethod new()¶
- Returns:
a new title header
Gtk.Widget
.- Return type:
Creates a new
ClapperGtk.TitleHeader
instance.
- get_current_title()¶
- Returns:
text of title label.
- Return type:
Get currently displayed title by self.
- get_fallback_to_uri()¶
-
Get whether a [property`Clapper`.MediaItem:uri] property is going be displayed as a header text when no other title could be determined.
Property Details¶
- ClapperGtk.TitleHeader.props.current_title¶
- Name:
current-title
- Type:
- Default Value:
- Flags:
Currently displayed title.