docs: enum cleanup

Move GtkArrowPlacement to the GtkMenu docs. This type is
only used for a style property there.
This commit is contained in:
Matthias Clasen 2014-05-20 06:17:16 -04:00
parent b72f932b9a
commit edde7aca60
3 changed files with 16 additions and 17 deletions

View File

@ -2183,6 +2183,7 @@ gtk_link_button_get_type
<FILE>gtkmenu</FILE> <FILE>gtkmenu</FILE>
<TITLE>GtkMenu</TITLE> <TITLE>GtkMenu</TITLE>
GtkMenu GtkMenu
GtkArrowPlacement
gtk_menu_new gtk_menu_new
gtk_menu_new_from_model gtk_menu_new_from_model
gtk_menu_set_screen gtk_menu_set_screen
@ -6505,7 +6506,6 @@ gtk_binding_set_add_path
<SECTION> <SECTION>
<FILE>gtkenums</FILE> <FILE>gtkenums</FILE>
<TITLE>Standard Enumerations</TITLE> <TITLE>Standard Enumerations</TITLE>
GtkArrowPlacement
GtkArrowType GtkArrowType
GtkAttachOptions GtkAttachOptions
GtkBaselinePosition GtkBaselinePosition

View File

@ -79,22 +79,6 @@ typedef enum
GTK_ALIGN_BASELINE GTK_ALIGN_BASELINE
} GtkAlign; } GtkAlign;
/**
* GtkArrowPlacement:
* @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
* @GTK_ARROWS_START: Place both arrows at the top of the menu.
* @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
*
* Used to specify the placement of scroll arrows in scrolling menus.
*/
typedef enum
{
GTK_ARROWS_BOTH,
GTK_ARROWS_START,
GTK_ARROWS_END
} GtkArrowPlacement;
/** /**
* GtkArrowType: * GtkArrowType:
* @GTK_ARROW_UP: Represents an upward pointing arrow. * @GTK_ARROW_UP: Represents an upward pointing arrow.

View File

@ -48,6 +48,21 @@ typedef struct _GtkMenu GtkMenu;
typedef struct _GtkMenuClass GtkMenuClass; typedef struct _GtkMenuClass GtkMenuClass;
typedef struct _GtkMenuPrivate GtkMenuPrivate; typedef struct _GtkMenuPrivate GtkMenuPrivate;
/**
* GtkArrowPlacement:
* @GTK_ARROWS_BOTH: Place one arrow on each end of the menu.
* @GTK_ARROWS_START: Place both arrows at the top of the menu.
* @GTK_ARROWS_END: Place both arrows at the bottom of the menu.
*
* Used to specify the placement of scroll arrows in scrolling menus.
*/
typedef enum
{
GTK_ARROWS_BOTH,
GTK_ARROWS_START,
GTK_ARROWS_END
} GtkArrowPlacement;
/** /**
* GtkMenuPositionFunc: * GtkMenuPositionFunc:
* @menu: a #GtkMenu. * @menu: a #GtkMenu.