Top |
Types and Values
enum | GtkBaselinePosition |
enum | GtkDeleteType |
enum | GtkDirectionType |
enum | GtkJustification |
enum | GtkMovementStep |
enum | GtkOrientation |
enum | GtkPackType |
enum | GtkPositionType |
enum | GtkReliefStyle |
enum | GtkScrollStep |
enum | GtkScrollType |
enum | GtkSelectionMode |
enum | GtkShadowType |
enum | GtkStateFlags |
enum | GtkToolbarStyle |
enum | GtkSortType |
Types and Values
enum GtkBaselinePosition
Whenever a container has some form of natural row it may align children in that row along a common typographical baseline. If the amount of verical space in the row is taller than the total requested height of the baseline-aligned children then it can use a GtkBaselinePosition to select where to put the baseline inside the extra availible space.
Since 3.10
enum GtkDeleteType
See also: “delete-from-cursor”.
Members
Delete characters. |
||
Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word. |
||
Delete words. |
||
Delete display-lines. Display-lines refers to the visible lines, with respect to to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input. |
||
Delete only the portion of the display-line to the left/right of cursor. |
||
Delete to the end of the paragraph. Like C-k in Emacs (or its reverse). |
||
Delete entire line. Like C-k in pico. |
||
Delete only whitespace. Like M-\ in Emacs. |
enum GtkJustification
Used for justifying the text inside a GtkLabel widget. (See also GtkAlignment).
enum GtkMovementStep
Members
Move forward or back by graphemes |
||
Move left or right by graphemes |
||
Move forward or back by words |
||
Move up or down lines (wrapped lines) |
||
Move to either end of a line |
||
Move up or down paragraphs (newline-ended lines) |
||
Move to either end of a paragraph |
||
Move by pages |
||
Move to ends of the buffer |
||
Move horizontally by pages |
enum GtkOrientation
Represents the orientation of widgets and other objects which can be switched between horizontal and vertical orientation on the fly, like GtkToolbar or GtkGesturePan.
enum GtkPackType
Represents the packing location GtkBox children. (See: GtkVBox, GtkHBox, and GtkButtonBox).
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 GtkScrollType
Scrolling types.
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. 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. |
enum GtkShadowType
Used to change the appearance of an outline typically provided by a GtkFrame.
Note that many themes do not differentiate the appearance of the
various shadow types: Either their is no visible shadow (GTK_SHADOW_NONE
),
or there is (any other value).
enum GtkStateFlags
Describes a widget state. Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names.
Members
State during normal operation. |
||
Widget is active. |
||
Widget has a mouse pointer over it. |
||
Widget is selected. |
||
Widget is insensitive. |
||
Widget is inconsistent. |
||
Widget has the keyboard focus. |
||
Widget is in a background toplevel window. |
||
Widget is in left-to-right text direction. Since 3.8 |
||
Widget is in right-to-left text direction. Since 3.8 |
||
Widget is a link. Since 3.12 |
||
The location the widget points to has already been visited. Since 3.12 |
||
Widget is checked. Since 3.14 |
enum GtkToolbarStyle
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.