Standard Enumerations
Public enumerated types used throughout GTK+
GtkAccelFlagsundocumented
visibleundocumented
lockedundocumented
maskundocumented
GtkAnchorTypeundocumented
centerundocumented
northundocumented
north-westundocumented
north-eastundocumented
southundocumented
south-westundocumented
south-eastundocumented
westundocumented
eastundocumented
nundocumented
nwundocumented
neundocumented
sundocumented
swundocumented
seundocumented
wundocumented
eundocumented
GtkArrowTypeUsed to indicate the direction in which a GtkArrow should point.
upRepresents an upward pointing arrow.
downRepresents a downward pointing arrow.
leftRepresents a left pointing arrow.
rightRepresents a right pointing arrow.
GtkAttachOptionsDenotes the expansion properties that a widget will have when it (or its parent) is resized.
expandthe widget should expand to take up any extra space in its container that has been allocated.
shrinkthe widget should shrink as and when possible.
fillthe widget should fill the space allocated to it.
GtkButtonBoxStyleUsed to dictate the style that a GtkButtonBox uses to layout the buttons it
contains. (See also: GtkVButtonBox and GtkHButtonBox).
default-styleDefault packing.
spreadButtons are evenly spread across the box.
edgeButtons are placed at the edges of the box.
startButtons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox).
endButtons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox).
GtkCornerTypeSpecifies 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.
top-leftPlace the scrollbars on the right and bottom of the widget (default behaviour).
bottom-leftPlace the scrollbars on the top and right of the widget.
top-rightPlace the scrollbars on the left and bottom of the widget.
bottom-rightPlace the scrollbars on the top and left of the widget.
GtkCurveTypeWARNING: GtkCurveType is deprecated and should not be used in newly-written code.
undocumented
linearundocumented
splineundocumented
freeundocumented
GtkDeleteTypeundocumented
charsundocumented
word-endsundocumented
wordsundocumented
display-linesundocumented
display-line-endsundocumented
paragraph-endsundocumented
paragraphsundocumented
whitespaceundocumented
GtkDirectionTypeundocumented
tab-forwardundocumented
tab-backwardundocumented
upundocumented
downundocumented
leftundocumented
rightundocumented
GtkExpanderStyleUsed to specify the style of the expanders drawn by a GtkTreeView.
collapsedThe style used for a collapsed subtree.
semi-collapsedIntermediate style used during animation.
semi-expandedIntermediate style used during animation.
expandedThe style used for an expanded subtree.
GtkIMPreeditStyleundocumented
nothingundocumented
callbackundocumented
noneundocumented
GtkIMStatusStyleundocumented
nothingundocumented
callbackundocumented
GtkJustificationUsed for justifying the text inside a GtkLabel widget. (See also
GtkAlignment).
leftThe text is placed at the left edge of the label.
rightThe text is placed at the right edge of the label.
centerThe text is placed in the center of the label.
fillThe text is placed is distributed across the label.
GtkMatchTypeWARNING: GtkMatchType is deprecated and should not be used in newly-written code.
undocumented
allundocumented
all-tailundocumented
headundocumented
tailundocumented
exactundocumented
lastundocumented
GtkMetricTypeUsed to indicate which metric is used by a GtkRuler.
pixelsPixels.
inchesInches.
centimetersCentimeters.
GtkMovementStepundocumented
logical-positionsundocumented
visual-positionsundocumented
wordsundocumented
display-linesundocumented
display-line-endsundocumented
paragraphsundocumented
paragraph-endsundocumented
pagesundocumented
buffer-endsundocumented
horizontal-pagesundocumented
GtkOrientationRepresents the orientation of widgets which can be switched between horizontal
and vertical orientation on the fly, like GtkToolbar.
horizontalThe widget is in horizontal orientation.
verticalThe widget is in vertical orientation.
GtkPackTypeRepresents the packing location GtkBox children. (See: GtkVBox,
GtkHBox, and GtkButtonBox).
startThe child is packed into the start of the box
endThe child is packed into the end of the box
GtkPathPriorityTypeundocumented
lowestundocumented
gtkundocumented
applicationundocumented
themeundocumented
rcundocumented
highestundocumented
GtkPathTypeundocumented
widgetundocumented
widget-classundocumented
classundocumented
GtkPolicyTypeDetermines when a scroll bar will be visible.
alwaysThe scrollbar is always visible.
automaticThe scrollbar will appear and disappear as necessary. For example,
when all of a GtkCList can not be seen.
neverThe scrollbar will never appear.
GtkPositionTypeDescribes 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.
leftThe feature is at the left edge.
rightThe feature is at the right edge.
topThe feature is at the top edge.
bottomThe feature is at the bottom edge.
GtkPreviewTypeWARNING: 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.
colorthe preview contains red-green-blue data.
grayscaleThe preview contains grayscale data.
GtkReliefStyleIndicated the relief to be drawn around a GtkButton.
normalDraw a normal relief.
halfA half relief.
noneNo relief.
GtkResizeModeundocumented
parentundocumented
queueundocumented
immediateDeprecated.
GtkScrollStepundocumented
stepsundocumented
pagesundocumented
endsundocumented
horizontal-stepsundocumented
horizontal-pagesundocumented
horizontal-endsundocumented
GtkScrollTypeundocumented
noneundocumented
jumpundocumented
step-backwardundocumented
step-forwardundocumented
page-backwardundocumented
page-forwardundocumented
step-upundocumented
step-downundocumented
page-upundocumented
page-downundocumented
step-leftundocumented
step-rightundocumented
page-leftundocumented
page-rightundocumented
startundocumented
endundocumented
GtkSelectionModeUsed to control what selections users are allowed to make.
noneNo selection is possible.
singleZero or one element may be selected.
browseExactly one element is selected. In some circumstances,
such as initially or during a search operation, it's possible for no element
to be selected with GTK_SELECTION_BROWSE. What is really enforced is that
the user can't deselect a currently selected element except by selecting
another element.
multipleAny number of elements may be selected. Clicks toggle the state of an item. Any number of elements may be selected. The Ctrl key may be used to enlarge the selection, and Shift key to select between the focus and the child pointed to. Some widgets may also allow Click-drag to select a range of elements.
extendedDeprecated, behaves identical to GTK_SELECTION_MULTIPLE.
GtkShadowTypeUsed to change the appearance of an outline typically provided by a GtkFrame.
noneNo outline.
inThe outline is bevelled inwards.
outThe outline is bevelled outwards like a button.
etched-inThe outline has a sunken 3d appearance.
etched-outThe outline has a raised 3d appearance
GtkSideTypeWARNING: GtkSideType is deprecated and should not be used in newly-written code.
undocumented
topundocumented
bottomundocumented
leftundocumented
rightundocumented
GtkStateTypeThis type indicates the current state of a widget; the state determines how
the widget is drawn. The GtkStateType enumeration is also used to
identify different colors in a GtkStyle for drawing, so states can be
used for subparts of a widget as well as entire widgets.
normalState during normal operation.
activeState of a currently active widget, such as a depressed button.
prelightState indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
selectedState of a selected item, such the selected row in a list.
insensitiveState indicating that the widget is unresponsive to user actions.
GtkSubmenuDirectionWARNING: GtkSubmenuDirection is deprecated and should not be used in newly-written code.
Indicates the direction a sub-menu will appear.
leftA sub-menu will appear to the left of the current menu.
rightA sub-menu will appear to the right of the current menu.
GtkSubmenuPlacementWARNING: GtkSubmenuPlacement is deprecated and should not be used in newly-written code.
undocumented
top-bottomundocumented
left-rightundocumented
GtkToolbarStyleUsed to customize the appearance of a GtkToolbar. Note that
setting the toolbar style overrides the user's preferences
for the default toolbar style. Note that if the button has only
a label set and GTK_TOOLBAR_ICONS is used, the label will be
visible, and vice versa.
iconsButtons display only icons in the toolbar.
textButtons display only text labels in the toolbar.
bothButtons display text and icons in the toolbar.
both-horizButtons display icons and text alongside each other, rather than vertically stacked
GtkUpdateTypeUsed by GtkRange to control the policy for notifying value changes.
continuousNotify updates whenever the value changed
discontinuousNotify updates when the mouse button has been released
delayedSpace out updates with a small timeout
GtkVisibilityUsed by GtkCList and GtkCTree to indicate whether a row is visible.
noneThe row is not visible.
partialThe row is partially visible.
fullThe row is fully visible.
GtkWindowPositionWindow placement can be influenced using this enumeration. Note that
using GTK_WIN_POS_CENTER_ALWAYS is almost always a bad idea.
It won't necessarily work well with all window managers or on all windowing systems.
noneNo influence is made on placement.
centerWindows should be placed in the center of the screen.
mouseWindows should be placed at the current mouse position.
center-alwaysKeep window centered as it changes size, etc.
center-on-parentCenter the window on its transient
parent (see gtkWindowSetTransientFor).
GtkWindowTypeA GtkWindow can be one of these types. Most things you'd consider a
"window" should have type GTK_WINDOW_TOPLEVEL; windows with this type
are managed by the window manager and have a frame by default (call
gtkWindowSetDecorated to toggle the frame). Windows with type
GTK_WINDOW_POPUP are ignored by the window manager; window manager
keybindings won't work on them, the window manager won't decorate the
window with a frame, many GTK+ features that rely on the window
manager will not work (e.g. resize grips and
maximization/minimization). GTK_WINDOW_POPUP is used to implement
widgets such as GtkMenu or tooltips that you normally don't think of
as windows per se. Nearly all windows should be GTK_WINDOW_TOPLEVEL.
In particular, do not use GTK_WINDOW_POPUP just to turn off
the window borders; use gtkWindowSetDecorated for that.
toplevelA regular window, such as a dialog.
popupA special window such as a tooltip.
GtkSortTypeDetermines the direction of a sort.
ascendingSorting is in ascending order.
descendingSorting is in descending order.
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.