Top |
Types and Values
enum | GtkAccelFlags |
enum | GtkAnchorType |
enum | GtkArrowPlacement |
enum | GtkArrowType |
enum | GtkAttachOptions |
enum | GtkButtonBoxStyle |
enum | GtkCornerType |
enum | GtkCurveType |
enum | GtkDeleteType |
enum | GtkDirectionType |
enum | GtkExpanderStyle |
enum | GtkIMPreeditStyle |
enum | GtkIMStatusStyle |
enum | GtkJustification |
enum | GtkMatchType |
enum | GtkMetricType |
enum | GtkMovementStep |
enum | GtkOrientation |
enum | GtkPackType |
enum | GtkPathPriorityType |
enum | GtkPathType |
enum | GtkPolicyType |
enum | GtkPositionType |
enum | GtkPreviewType |
enum | GtkReliefStyle |
enum | GtkResizeMode |
enum | GtkScrollStep |
enum | GtkScrollType |
enum | GtkSelectionMode |
enum | GtkShadowType |
enum | GtkSideType |
enum | GtkStateType |
enum | GtkSubmenuDirection |
enum | GtkSubmenuPlacement |
enum | GtkToolbarStyle |
enum | GtkUpdateType |
enum | GtkVisibility |
enum | GtkWindowPosition |
enum | GtkWindowType |
enum | GtkSortType |
enum | GtkDragResult |
Types and Values
enum GtkAttachOptions
Denotes the expansion properties that a widget will have when it (or its parent) is resized.
enum GtkButtonBoxStyle
Used to dictate the style that a GtkButtonBox uses to layout the buttons it contains. (See also: GtkVButtonBox and GtkHButtonBox).
Members
Default packing. |
||
Buttons are evenly spread across the box. |
||
Buttons are placed at the edges of the box. |
||
Buttons are grouped towards the start of the box, (on the left for a HBox, or the top for a VBox). |
||
Buttons are grouped towards the end of the box, (on the right for a HBox, or the bottom for a VBox). |
||
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.
enum GtkJustification
Used for justifying the text inside a GtkLabel widget. (See also GtkAlignment).
enum GtkOrientation
Represents the orientation of widgets which can be switched between horizontal and vertical orientation on the fly, like GtkToolbar.
enum GtkPackType
Represents the packing location GtkBox children. (See: GtkVBox, GtkHBox, and GtkButtonBox).
enum GtkPolicyType
Determines when a scroll bar will be visible.
Members
The scrollbar is always visible. |
||
The scrollbar will appear and disappear as necessary. For example, when all of a GtkCList can not be seen. |
||
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.
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.
enum GtkReliefStyle
GtkReliefStyle
is deprecated and should not be used in newly-written code.
Indicated the relief to be drawn around a GtkButton.
enum GtkScrollType
GtkScrollType
is deprecated and should not be used in newly-written code.
enum GtkSelectionMode
Used to control what selections users are allowed to make.
Members
No selection is possible. |
||
Zero or one element may be selected. |
||
Exactly 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 |
||
Any 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. |
||
Deprecated, behaves identical to |
enum GtkStateType
This 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.
Members
State during normal operation. |
||
State of a currently active widget, such as a depressed button. |
||
State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks. |
||
State of a selected item, such the selected row in a list. |
||
State indicating that the widget is unresponsive to user actions. |
enum GtkSubmenuDirection
GtkSubmenuDirection
is deprecated and should not be used in newly-written code.
Indicates the direction a sub-menu will appear.
enum GtkSubmenuPlacement
GtkSubmenuPlacement
is deprecated and should not be used in newly-written code.
enum GtkToolbarStyle
GtkToolbarStyle
is deprecated and should not be used in newly-written code.
Used 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.
enum GtkWindowPosition
Window 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.
Members
No influence is made on placement. |
||
Windows should be placed in the center of the screen. |
||
Windows should be placed at the current mouse position. |
||
Keep window centered as it changes size, etc. |
||
Center the window on its transient
parent (see |
enum GtkWindowType
A 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
gtk_window_set_decorated()
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 gtk_window_set_decorated()
for that.
enum GtkDragResult
Gives an indication why a drag operation failed. The value can by obtained by connecting to the “drag-failed” signal.