gtk :: GdkGravity
Defines the reference point of a window and the meaning of coordinates passed to gtk_window_move(). See: https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#GdkGravity
gtk :: GdkGravity :: center
The reference point is at the center of the windowgtk :: GdkGravity :: defaultinit
gtk :: GdkGravity :: east
The reference point is at the middle of the right edge.gtk :: GdkGravity :: north
The reference point is in the middle of the top edge.gtk :: GdkGravity :: north_east
The reference point is at the top right corner.gtk :: GdkGravity :: north_west
The reference point is at the top left corner.gtk :: GdkGravity :: south
The reference point is at the middle of the lower edge.gtk :: GdkGravity :: south_east
The reference point is at the lower right corner.gtk :: GdkGravity :: south_west
The reference point is at the lower left corner.gtk :: GdkGravity :: static
The reference point is at the top left corner of the window itself, ignoring window manager decorations.gtk :: GdkGravity :: west
The reference point is at the middle of the left edge.gtk $ GdkGravity :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?gtk :: GdkGravity :: center
The reference point is at the center of the windowcore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Object :: defaultinit
gtk :: GdkGravity :: defaultinit
core :: Pointer :: defaultinit
gtk :: GdkGravity :: east
The reference point is at the middle of the right edge.core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
gtk :: GdkGravity :: north
The reference point is in the middle of the top edge.gtk :: GdkGravity :: north_east
The reference point is at the top right corner.gtk :: GdkGravity :: north_west
The reference point is at the top left corner.core :: Object :: output_class_name
Display class name on stdout (debug only).gtk :: GdkGravity :: south
The reference point is at the middle of the lower edge.gtk :: GdkGravity :: south_east
The reference point is at the lower right corner.gtk :: GdkGravity :: south_west
The reference point is at the lower left corner.gtk :: GdkGravity :: static
The reference point is at the top left corner of the window itself, ignoring window manager decorations.gtk :: GdkGravity :: west
The reference point is at the middle of the left edge.
# enum GdkGravity
# Defines the reference point of a window and the meaning of coordinates passed to gtk_window_move().
# See: https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#GdkGravity
extern class GdkGravity `{GdkGravity`}
# The reference point is at the top left corner.
new north_west `{ return GDK_GRAVITY_NORTH_WEST; `}
# The reference point is in the middle of the top edge.
new north `{ return GDK_GRAVITY_NORTH; `}
# The reference point is at the top right corner.
new north_east `{ return GDK_GRAVITY_NORTH_EAST; `}
# The reference point is at the middle of the left edge.
new west `{ return GDK_GRAVITY_WEST; `}
# The reference point is at the center of the window
new center `{ return GDK_GRAVITY_CENTER; `}
# The reference point is at the middle of the right edge.
new east `{ return GDK_GRAVITY_EAST; `}
# The reference point is at the lower left corner.
new south_west `{ return GDK_GRAVITY_SOUTH_WEST; `}
# The reference point is at the middle of the lower edge.
new south `{ return GDK_GRAVITY_SOUTH; `}
# The reference point is at the lower right corner.
new south_east `{ return GDK_GRAVITY_SOUTH_EAST; `}
# The reference point is at the top left corner of the window itself, ignoring window manager decorations.
new static `{ return GDK_GRAVITY_STATIC; `}
end
lib/gtk/v3_4/gdk_enums.nit:24,1--57,3