forked from AuroraMiddleware/gtk
docs: enum cleanup
Move GtkAttachOptions to the only place its used: GtkTable
This commit is contained in:
parent
ee244473d6
commit
cf1c8c8c69
@ -3476,6 +3476,7 @@ GtkTable
|
||||
gtk_table_new
|
||||
gtk_table_resize
|
||||
gtk_table_get_size
|
||||
GtkAttachOptions
|
||||
gtk_table_attach
|
||||
gtk_table_attach_defaults
|
||||
gtk_table_set_row_spacing
|
||||
@ -6507,7 +6508,6 @@ gtk_binding_set_add_path
|
||||
<SECTION>
|
||||
<FILE>gtkenums</FILE>
|
||||
<TITLE>Standard Enumerations</TITLE>
|
||||
GtkAttachOptions
|
||||
GtkBaselinePosition
|
||||
GtkButtonBoxStyle
|
||||
GtkCornerType
|
||||
|
@ -95,6 +95,23 @@ struct _GtkTableRowCol
|
||||
guint empty : 1;
|
||||
};
|
||||
|
||||
/**
|
||||
* GtkAttachOptions:
|
||||
* @GTK_EXPAND: the widget should expand to take up any extra space in its
|
||||
* container that has been allocated.
|
||||
* @GTK_SHRINK: the widget should shrink as and when possible.
|
||||
* @GTK_FILL: the widget should fill the space allocated to it.
|
||||
*
|
||||
* Denotes the expansion properties that a widget will have when it (or its
|
||||
* parent) is resized.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
GTK_EXPAND = 1 << 0,
|
||||
GTK_SHRINK = 1 << 1,
|
||||
GTK_FILL = 1 << 2
|
||||
} GtkAttachOptions;
|
||||
|
||||
|
||||
GDK_DEPRECATED_IN_3_4
|
||||
GType gtk_table_get_type (void) G_GNUC_CONST;
|
||||
|
@ -98,23 +98,6 @@ typedef enum
|
||||
GTK_ARROW_NONE
|
||||
} GtkArrowType;
|
||||
|
||||
/**
|
||||
* GtkAttachOptions:
|
||||
* @GTK_EXPAND: the widget should expand to take up any extra space in its
|
||||
* container that has been allocated.
|
||||
* @GTK_SHRINK: the widget should shrink as and when possible.
|
||||
* @GTK_FILL: the widget should fill the space allocated to it.
|
||||
*
|
||||
* Denotes the expansion properties that a widget will have when it (or its
|
||||
* parent) is resized.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
GTK_EXPAND = 1 << 0,
|
||||
GTK_SHRINK = 1 << 1,
|
||||
GTK_FILL = 1 << 2
|
||||
} GtkAttachOptions;
|
||||
|
||||
/**
|
||||
* GtkBaselinePosition:
|
||||
* @GTK_BASELINE_POSITION_TOP: Align the baseline at the top
|
||||
|
Loading…
Reference in New Issue
Block a user