:right-sidebar: True Gravity =================================================================== .. currentmodule:: gi.repository.Gdk .. class:: Gravity :no-contents-entry: Defines the reference point of a surface and is used in ``GdkPopupLayout``. Fields ------ .. rst-class:: interim-class .. class:: Gravity :no-index: .. attribute:: CENTER The reference point is at the center of the surface. .. attribute:: EAST The reference point is at the middle of the right edge. .. attribute:: NORTH The reference point is in the middle of the top edge. .. attribute:: NORTH_EAST The reference point is at the top right corner. .. attribute:: NORTH_WEST The reference point is at the top left corner. .. attribute:: SOUTH The reference point is at the middle of the lower edge. .. attribute:: SOUTH_EAST The reference point is at the lower right corner. .. attribute:: SOUTH_WEST The reference point is at the lower left corner. .. attribute:: STATIC The reference point is at the top left corner of the surface itself, ignoring window manager decorations. .. attribute:: WEST The reference point is at the middle of the left edge.