/**
* GtkAlign:
- *
* @GTK_ALIGN_FILL: stretch to fill all space if possible, center if
- * no meaningful way to stretch
+ * no meaningful way to stretch
* @GTK_ALIGN_START: snap to left or top side, leaving space on right
- * or bottom
+ * or bottom
* @GTK_ALIGN_END: snap to right or bottom side, leaving space on left
- * or top
+ * or top
* @GTK_ALIGN_CENTER: center natural width of widget inside the
- * allocation
+ * allocation
*
* Controls how a widget deals with extra space in a single (x or y)
* dimension.
*
- * Alignment only matters if the widget receives a "too large"
- * allocation, for example if you packed the widget with the "expand"
+ * Alignment only matters if the widget receives a "too large" allocation,
+ * for example if you packed the widget with the #GtkWidget:expand
* flag inside a #GtkBox, then the widget might get extra space. If
* you have for example a 16x16 icon inside a 32x32 space, the icon
* could be scaled and stretched, it could be centered, or it could be
GTK_MESSAGE_OTHER
} GtkMessageType;
-typedef enum
-{
- GTK_PIXELS,
- GTK_INCHES,
- GTK_CENTIMETERS
-} GtkMetricType;
-
/**
* GtkMovementStep:
* @GTK_MOVEMENT_LOGICAL_POSITIONS: Move forward or back by graphemes
GTK_UNIT_MM
} GtkUnit;
+/**
+ * GtkTreeViewGridLines:
+ * @GTK_TREE_VIEW_GRID_LINES_NONE: No grid lines.
+ * @GTK_TREE_VIEW_GRID_LINES_HORIZONTAL: Horizontal grid lines.
+ * @GTK_TREE_VIEW_GRID_LINES_VERTICAL: Vertical grid lines.
+ * @GTK_TREE_VIEW_GRID_LINES_BOTH: Horizontal and vertical grid lines.
+ *
+ * Used to indicate which grid lines to draw in a tree view.
+ */
typedef enum
{
GTK_TREE_VIEW_GRID_LINES_NONE,
GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT
} GtkSizeRequestMode;
-
-/**
- * GtkWrapAllocationMode:
- * @GTK_WRAP_ALLOCATE_FREE: Items wrap freely in the box's orientation
- * @GTK_WRAP_ALLOCATE_ALIGNED: Items are aligned into rows and columns
- * @GTK_WRAP_ALLOCATE_HOMOGENEOUS: Items are all allocated the same size
- *
- * Describes how an #GtkWrapBox positions its children.
- */
-typedef enum {
- GTK_WRAP_ALLOCATE_FREE = 0,
- GTK_WRAP_ALLOCATE_ALIGNED,
- GTK_WRAP_ALLOCATE_HOMOGENEOUS
-} GtkWrapAllocationMode;
-
-/**
- * GtkWrapBoxSpreading:
- * @GTK_WRAP_BOX_SPREAD_START: Children are allocated no more than their natural size
- * in the layout's orientation and any extra space is left trailing at
- * the end of each line.
- * @GTK_WRAP_BOX_SPREAD_END: Children are allocated no more than their natural size
- * in the layout's orientation and any extra space skipped at the beginning
- * of each line.
- * @GTK_WRAP_BOX_SPREAD_EVEN: Children are allocated no more than their natural size
- * in the layout's orientation and any extra space is evenly distributed
- * as empty space between children.
- * @GTK_WRAP_BOX_SPREAD_EXPAND: Items share the extra space evenly (or among children that 'expand' when
- * in %GTK_WRAP_ALLOCATE_FREE mode.
- *
- * Describes how an #GtkWrapBox deals with extra space when allocating children.
- *
- * The box always tries to fit as many children at their natural size
- * in the given orentation as possible with the exception of fitting "minimum-line-children"
- * items into the available size. When the available size is larger than
- * the size needed to fit a given number of children at their natural size
- * then extra space is available to distribute among children. The
- * #GtkWrapBoxSpreading option describes what to do with this space.
- *
- */
-typedef enum {
- GTK_WRAP_BOX_SPREAD_START = 0,
- GTK_WRAP_BOX_SPREAD_END,
- GTK_WRAP_BOX_SPREAD_EVEN,
- GTK_WRAP_BOX_SPREAD_EXPAND
-} GtkWrapBoxSpreading;
-
/**
- * GtkWrapBoxPacking:
- * @GTK_WRAP_BOX_H_EXPAND: Whether the child expands horizontally.
- * @GTK_WRAP_BOX_H_FILL: Whether the child fills its allocated horizontal space.
- * @GTK_WRAP_BOX_V_EXPAND: Whether the child expands vertically.
- * @GTK_WRAP_BOX_V_FILL: Whether the child fills its allocated vertical space.
+ * GtkScrollablePolicy:
+ * @GTK_SCROLL_MINIMUM: Scrollable adjustments are based on the minimum size
+ * @GTK_SCROLL_NATURAL: Scrollable adjustments are based on the natural size
*
- * Specifies how widgets will expand/fill vertically and
- * horizontally when placed inside a #GtkWrapBox.
+ * Defines the policy to be used in a scrollable widget when updating
+ * the scrolled window adjustments in a given orientation.
*/
typedef enum
{
- GTK_WRAP_BOX_H_EXPAND = 1 << 0,
- GTK_WRAP_BOX_H_FILL = 1 << 1,
- GTK_WRAP_BOX_V_EXPAND = 1 << 2,
- GTK_WRAP_BOX_V_FILL = 1 << 3
-} GtkWrapBoxPacking;
-
+ GTK_SCROLL_MINIMUM = 0,
+ GTK_SCROLL_NATURAL
+} GtkScrollablePolicy;
G_END_DECLS
+
#endif /* __GTK_ENUMS_H__ */