![]() That is, it can holdĪlmost any other standard Gtk.Widget. The Gtk.Button widget can hold any valid child widget. The Gtk.Button widget is generally used to trigger a callback function that isĬalled when the button is pressed. Gtk.Bin, Gtk.Actionable, Gtk.Activatable Abstract deprecatedĮmitted when the button is released. deprecatedĮmitted when the button is pressed. deprecatedĮmitted when the pointer leaves the button. The ::activate signal on Gtk.Button is an action signal and emitting it causes the button to animate press then release.Įmitted when the button has been activated (pressed and released).Įmitted when the pointer enters the button. Gtk.Container (4), Gtk.Widget (69), GObject.Object (1) Spacing in pixels between the image and label deprecatedīorder between button edges and child. Whether the child_displacement_x/_y properties should also affect the focus rectangle deprecated How far in the y direction to move the child when the button is depressed deprecatedĮxtra space to add for GTK_CAN_DEFAULT buttons deprecatedĮxtra space to add for GTK_CAN_DEFAULT buttons that is always drawn outside the border deprecated How far in the x direction to move the child when the button is depressed deprecated 0.0 is top aligned, 1.0 is bottom aligned deprecated Vertical position of child in available space. ![]() 0.0 is left aligned, 1.0 is right aligned deprecated Horizontal position of child in available space. If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key If set, the label is used to pick a stock item instead of being displayed deprecated Text of the label widget inside the button, if the button contains a label widget The position of the image relative to the text Gtk.Container (3), Gtk.Widget (39), Gtk.Actionable (2), Gtk.Activatable (2)Ĭhild widget to appear next to the button text Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gtk.Actionable (4), Gtk.Activatable (2) Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5) Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Actionable (5), Gtk.Activatable (6) Structs Gtk.ColorButton, Gtk.FontButton, Gtk.LinkButton, Gtk.LockButton, Gtk.ModelButton, Gtk.ScaleButton, Gtk.ToggleButton Methods ¶ Inherited G Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Actionable Gtk.Actionable GObject.GInterface->Gtk.Actionable Gtk.Activatable Gtk.Activatable GObject.GInterface->Gtk.Activatable Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Button Gtk.Button Gtk.Actionable->Gtk.Button Gtk.Activatable->Gtk.Button Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.Button Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container Example ¶ Subclasses
0 Comments
Leave a Reply. |