Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-3.0.gir |
C documentation: | GtkPositionType |
Enum : | PositionType |
Properties | |
---|---|
guint32 Gtk.PositionType.BOTTOM : 3
|
|
guint32 Gtk.PositionType.LEFT : 0
|
|
guint32 Gtk.PositionType.RIGHT : 1
|
|
guint32 Gtk.PositionType.TOP : 2
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk
Method |
Gtk.paint_box_gap
(Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget widget, String detail, gint32 x, gint32 y, gint32 width, gint32 height, PositionType gap_side, gint32 gap_x, gint32 gap_width)
:
none
Draws a box in cr using the given style and state and shadow type,
leaving a gap in one side. |
Gtk
Method |
Gtk.paint_extension
(Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget widget, String detail, gint32 x, gint32 y, gint32 width, gint32 height, PositionType gap_side)
:
none
Draws an extension, i.e.
|
Gtk
Method |
Gtk.paint_shadow_gap
(Style style, Context cr, StateType state_type, ShadowType shadow_type, Widget widget, String detail, gint32 x, gint32 y, gint32 width, gint32 height, PositionType gap_side, gint32 gap_x, gint32 gap_width)
:
none
Draws a shadow around the given rectangle in cr
using the given style and state and shadow type, leaving a gap in one side. |
Gtk
Method |
Gtk.render_extension
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height, PositionType gap_side)
:
none
Renders a extension (as in a GtkNotebook tab) in the rectangle
defined by x, y, width, height. |
Gtk
Method |
Gtk.render_frame_gap
(StyleContext context, Context cr, gdouble x, gdouble y, gdouble width, gdouble height, PositionType gap_side, gdouble xy0_gap, gdouble xy1_gap)
:
none
Renders a frame around the rectangle defined by (x, y, width, height),
leaving a gap on one side. |
Gtk.Button
Property |
image_position : Gtk.PositionType
The position of the image relative to the text inside the button.
|
Gtk.Button
Method |
get_image_position
()
:
Gtk.PositionType
Gets the position of the image relative to the text
inside the button. |
Gtk.Button
Method |
set_image_position
(PositionType position)
:
none
Sets the position of the image relative to the text
inside the button. |
Gtk.Grid
Method |
attach_next_to
(Widget child, Widget sibling, PositionType side, gint32 width, gint32 height)
:
none
Adds a widget to the grid.
|
Gtk.HandleBox
Property |
handle_position : Gtk.PositionType
|
Gtk.HandleBox
Property |
snap_edge : Gtk.PositionType
|
Gtk.HandleBox
Method |
get_handle_position
()
:
Gtk.PositionType
Gets the handle position of the handle box.
|
Gtk.HandleBox
Method |
get_snap_edge
()
:
Gtk.PositionType
Gets the edge used for determining reattachment of the handle box.
|
Gtk.HandleBox
Method |
set_handle_position
(PositionType position)
:
none
|
Gtk.HandleBox
Method |
set_snap_edge
(PositionType edge)
:
none
|
Gtk.Notebook
Property |
tab_pos : Gtk.PositionType
|
Gtk.Notebook
Method |
get_tab_pos
()
:
Gtk.PositionType
Gets the edge at which the tabs for switching pages in the
notebook are drawn. |
Gtk.Notebook
Method |
set_tab_pos
(PositionType pos)
:
none
Sets the edge at which the tabs for switching pages in the
notebook are drawn. |
Gtk.Scale
Property |
value_pos : Gtk.PositionType
|
Gtk.Scale
Method |
Adds a mark at value.
|
Gtk.Scale
Method |
get_value_pos
()
:
Gtk.PositionType
Gets the position in which the current value is displayed.
|
Gtk.Scale
Method |
set_value_pos
(PositionType pos)
:
none
Sets the position in which the current value is displayed.
|