Standard Enumerations

Standard Enumerations — Public enumerated types used throughout GTK+

Types and Values

Includes

#include <gtk/gtk.h>

Description

Functions

Types and Values

enum GtkAccelFlags

Members

GTK_ACCEL_VISIBLE

   

GTK_ACCEL_LOCKED

   

GTK_ACCEL_MASK

   

enum GtkAnchorType

Members

GTK_ANCHOR_CENTER

   

GTK_ANCHOR_NORTH

   

GTK_ANCHOR_NORTH_WEST

   

GTK_ANCHOR_NORTH_EAST

   

GTK_ANCHOR_SOUTH

   

GTK_ANCHOR_SOUTH_WEST

   

GTK_ANCHOR_SOUTH_EAST

   

GTK_ANCHOR_WEST

   

GTK_ANCHOR_EAST

   

GTK_ANCHOR_N

   

GTK_ANCHOR_NW

   

GTK_ANCHOR_NE

   

GTK_ANCHOR_S

   

GTK_ANCHOR_SW

   

GTK_ANCHOR_SE

   

GTK_ANCHOR_W

   

GTK_ANCHOR_E

   

enum GtkArrowPlacement

Used to specify the placement of scroll arrows in scrolling menus.

Members

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.

 

enum GtkArrowType

Used to indicate the direction in which a GtkArrow should point.

Members

GTK_ARROW_UP

Represents an upward pointing arrow.

 

GTK_ARROW_DOWN

Represents a downward pointing arrow.

 

GTK_ARROW_LEFT

Represents a left pointing arrow.

 

GTK_ARROW_RIGHT

Represents a right pointing arrow.

 

GTK_ARROW_NONE

No arrow. Since 2.10.

 

enum GtkAttachOptions

Denotes the expansion properties that a widget will have when it (or its parent) is resized.

Members

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.

 

enum GtkButtonBoxStyle

Used to dictate the style that a GtkButtonBox uses to layout the buttons it contains. (See also: GtkVButtonBox and GtkHButtonBox).

Members

GTK_BUTTONBOX_DEFAULT_STYLE

Default packing.

 

GTK_BUTTONBOX_SPREAD

Buttons are evenly spread across the box.

 

GTK_BUTTONBOX_EDGE

Buttons are placed at the edges of the box.

 

GTK_BUTTONBOX_START

Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).

 

GTK_BUTTONBOX_END

Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).

 

GTK_BUTTONBOX_CENTER

Buttons are centered in the box. Since 2.12

 

enum GtkCornerType

Specifies which corner a child widget should be placed in when packed into a GtkScrolledWindow. This is effectively the opposite of where the scroll bars are placed.

Members

GTK_CORNER_TOP_LEFT

Place the scrollbars on the right and bottom of the widget (default behaviour).

 

GTK_CORNER_BOTTOM_LEFT

Place the scrollbars on the top and right of the widget.

 

GTK_CORNER_TOP_RIGHT

Place the scrollbars on the left and bottom of the widget.

 

GTK_CORNER_BOTTOM_RIGHT

Place the scrollbars on the top and left of the widget.

 

enum GtkCurveType

GtkCurveType is deprecated and should not be used in newly-written code.

Members

GTK_CURVE_TYPE_LINEAR

   

GTK_CURVE_TYPE_SPLINE

   

GTK_CURVE_TYPE_FREE

   

enum GtkDeleteType

Members

GTK_DELETE_CHARS

   

GTK_DELETE_WORD_ENDS

   

GTK_DELETE_WORDS

   

GTK_DELETE_DISPLAY_LINES

   

GTK_DELETE_DISPLAY_LINE_ENDS

   

GTK_DELETE_PARAGRAPH_ENDS

   

GTK_DELETE_PARAGRAPHS

   

GTK_DELETE_WHITESPACE

   

enum GtkDirectionType

Members

GTK_DIR_TAB_FORWARD

   

GTK_DIR_TAB_BACKWARD

   

GTK_DIR_UP

   

GTK_DIR_DOWN

   

GTK_DIR_LEFT

   

GTK_DIR_RIGHT

   

enum GtkExpanderStyle

Used to specify the style of the expanders drawn by a GtkTreeView.

Members

GTK_EXPANDER_COLLAPSED

The style used for a collapsed subtree.

 

GTK_EXPANDER_SEMI_COLLAPSED

Intermediate style used during animation.

 

GTK_EXPANDER_SEMI_EXPANDED

Intermediate style used during animation.

 

GTK_EXPANDER_EXPANDED

The style used for an expanded subtree.

 

enum GtkIMPreeditStyle

Members

GTK_IM_PREEDIT_NOTHING

   

GTK_IM_PREEDIT_CALLBACK

   

GTK_IM_PREEDIT_NONE

   

enum GtkIMStatusStyle

Members

GTK_IM_STATUS_NOTHING

   

GTK_IM_STATUS_CALLBACK

   

GTK_IM_STATUS_NONE

   

enum GtkJustification

Used for justifying the text inside a GtkLabel widget. (See also GtkAlignment).

Members

GTK_JUSTIFY_LEFT

The text is placed at the left edge of the label.

 

GTK_JUSTIFY_RIGHT

The text is placed at the right edge of the label.

 

GTK_JUSTIFY_CENTER

The text is placed in the center of the label.

 

GTK_JUSTIFY_FILL

The text is placed is distributed across the label.

 

enum GtkMatchType

GtkMatchType is deprecated and should not be used in newly-written code.

Members

GTK_MATCH_ALL

   

GTK_MATCH_ALL_TAIL

   

GTK_MATCH_HEAD

   

GTK_MATCH_TAIL

   

GTK_MATCH_EXACT

   

GTK_MATCH_LAST

   

enum GtkMetricType

Used to indicate which metric is used by a GtkRuler.

Members

GTK_PIXELS

Pixels.

 

GTK_INCHES

Inches.

 

GTK_CENTIMETERS

Centimeters.

 

enum GtkMovementStep

Members

GTK_MOVEMENT_LOGICAL_POSITIONS

   

GTK_MOVEMENT_VISUAL_POSITIONS

   

GTK_MOVEMENT_WORDS

   

GTK_MOVEMENT_DISPLAY_LINES

   

GTK_MOVEMENT_DISPLAY_LINE_ENDS

   

GTK_MOVEMENT_PARAGRAPHS

   

GTK_MOVEMENT_PARAGRAPH_ENDS

   

GTK_MOVEMENT_PAGES

   

GTK_MOVEMENT_BUFFER_ENDS

   

GTK_MOVEMENT_HORIZONTAL_PAGES

   

enum GtkOrientation

Represents the orientation of widgets which can be switched between horizontal and vertical orientation on the fly, like GtkToolbar.

Members

GTK_ORIENTATION_HORIZONTAL

The widget is in horizontal orientation.

 

GTK_ORIENTATION_VERTICAL

The widget is in vertical orientation.

 

enum GtkPackType

Represents the packing location GtkBox children. (See: GtkVBox, GtkHBox, and GtkButtonBox).

Members

GTK_PACK_START

The child is packed into the start of the box

 

GTK_PACK_END

The child is packed into the end of the box

 

enum GtkPathPriorityType

Members

GTK_PATH_PRIO_LOWEST

   

GTK_PATH_PRIO_GTK

   

GTK_PATH_PRIO_APPLICATION

   

GTK_PATH_PRIO_THEME

   

GTK_PATH_PRIO_RC

   

GTK_PATH_PRIO_HIGHEST

   

enum GtkPathType

Members

GTK_PATH_WIDGET

   

GTK_PATH_WIDGET_CLASS

   

GTK_PATH_CLASS

   

enum GtkPolicyType

Determines when a scroll bar will be visible.

Members

GTK_POLICY_ALWAYS

The scrollbar is always visible.

 

GTK_POLICY_AUTOMATIC

The scrollbar will appear and disappear as necessary. For example, when all of a GtkCList can not be seen.

 

GTK_POLICY_NEVER

The scrollbar will never appear.

 

enum GtkPositionType

Describes which edge of a widget a certain feature is positioned at, e.g. the tabs of a GtkNotebook, the handle of a GtkHandleBox or the label of a GtkScale.

Members

GTK_POS_LEFT

The feature is at the left edge.

 

GTK_POS_RIGHT

The feature is at the right edge.

 

GTK_POS_TOP

The feature is at the top edge.

 

GTK_POS_BOTTOM

The feature is at the bottom edge.

 

enum GtkPreviewType

GtkPreviewType is deprecated and should not be used in newly-written code.

An enumeration which describes whether a preview contains grayscale or red-green-blue data.

Members

GTK_PREVIEW_COLOR

the preview contains red-green-blue data.

 

GTK_PREVIEW_GRAYSCALE

The preview contains grayscale data.

 

enum GtkReliefStyle

GtkReliefStyle is deprecated and should not be used in newly-written code.

Indicated the relief to be drawn around a GtkButton.

Members