Top | ![]() |
![]() |
![]() |
![]() |
enum | GtkBaselinePosition |
enum | GtkDeleteType |
enum | GtkDirectionType |
enum | GtkJustification |
enum | GtkMovementStep |
enum | GtkOrdering |
enum | GtkOrientation |
enum | GtkPackType |
enum | GtkPositionType |
enum | GtkScrollStep |
enum | GtkScrollType |
enum | GtkSelectionMode |
enum | GtkStateFlags |
enum | GtkSortType |
enum | GtkIconSize |
GtkOrdering
gtk_ordering_from_cmpfunc (int cmpfunc_result
);
Converts the result of a GCompareFunc like strcmp()
to a GtkOrdering.
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 vertical 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 available space.
See also: “delete-from-cursor”.
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 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. |
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 |
Describes the way two values can be compared.
These values can be used with a GCompareFunc. However, a
GCompareFunc is allowed to return any integer values.
For converting such a value to a GtkOrdering, use
gtk_ordering_from_cmpfunc()
.
Represents the orientation of widgets and other objects which can be switched between horizontal and vertical orientation on the fly, like GtkBox or GtkGesturePan.
Describes which edge of a widget a certain feature is positioned at, e.g. the tabs of a GtkNotebook, or the label of a GtkScale.
Scrolling types.
Used to control what selections users are allowed to make.
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. |
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.
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 |
||
Widget is in right-to-left text direction |
||
Widget is a link |
||
The location the widget points to has already been visited |
||
Widget is checked |
||
Widget is highlighted as a drop target for DND |
||
Widget has the visible focus |
||
Widget contains the keyboard focus |
Built-in icon sizes.
Icon sizes default to being inherited. Where they cannot be inherited, text size is the default.
All widgets which use GtkIconSize set the normal-icons or large-icons style classes correspondingly, and let themes determine the actual size to be used with the -gtk-icon-size CSS property.