Gtk.ActionBar¶
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 | new() | 
| get_center_widget() | |
| pack_end(child) | |
| pack_start(child) | |
| set_center_widget(center_widget) | 
Virtual Methods¶
| Inherited: | Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10) | 
|---|
Properties¶
| Inherited: | Gtk.Container (3), Gtk.Widget (39) | 
|---|
Child Properties¶
| Name | Type | Default | Flags | Short Description | 
|---|---|---|---|---|
| pack-type | Gtk.PackType | Gtk.PackType.START | r/w | A Gtk.PackTypeindicating whether the child is packed with reference to the start or end of the parent | 
| position | int | 0 | r/w | The index of the child in the parent | 
Style Properties¶
| Inherited: | Gtk.Widget (17) | 
|---|
Signals¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
Fields¶
| Inherited: | Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) | 
|---|
| Name | Type | Access | Description | 
|---|---|---|---|
| bin | Gtk.Bin | r | 
Class Details¶
- 
class Gtk.ActionBar(**kwargs)¶
- Bases: - Gtk.Bin- Abstract: - No - Structure: - Gtk.ActionBarClass- Gtk.ActionBaris designed to present contextual actions. It is expected to be displayed below the content and expand horizontally to fill the area.- It allows placing children at the start or the end. In addition, it contains an internal centered box which is centered with respect to the full width of the box, even if the children at either side take up different amounts of space. - CSS nodes
 - Gtk.ActionBarhas a single CSS node with name actionbar.- 
classmethod new()[source]¶
- Returns: - a new - Gtk.ActionBar- Return type: - Gtk.Widget- Creates a new - Gtk.ActionBarwidget.- New in version 3.12. 
 - 
get_center_widget()[source]¶
- Returns: - the center - Gtk.Widgetor- None.- Return type: - Gtk.Widgetor- None- Retrieves the center bar widget of the bar. - New in version 3.12. 
 - 
pack_end(child)[source]¶
- Parameters: - child ( - Gtk.Widget) – the- Gtk.Widgetto be added to self- Adds child to self, packed with reference to the end of the self. - New in version 3.12. 
 - 
pack_start(child)[source]¶
- Parameters: - child ( - Gtk.Widget) – the- Gtk.Widgetto be added to self- Adds child to self, packed with reference to the start of the self. - New in version 3.12. 
 - 
set_center_widget(center_widget)[source]¶
- Parameters: - center_widget ( - Gtk.Widgetor- None) – a widget to use for the center- Sets the center widget for the - Gtk.ActionBar.- New in version 3.12. 
 
