Dazzle.CenteringBin¶
- 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 |
---|---|---|---|
r/w |
Max Width Request |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.CenteringBin(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
First off, you probably want to use
Gtk.Box
with a center widget instead of this widget. However, the case where this widget is useful is when you cannot control your layout within the width of the toplevel, but still want your child centered within the toplevel.This is done by translating coordinates of the widget with respect to the toplevel and anchoring the child at TRUE_CENTER-(alloc.width/2).
- classmethod new()¶
- Return type: