Constants#
- ACCESSIBLE_ATTRIBUTE_BACKGROUND = bg-color#
An attribute for the background color, expressed as an RGB value encoded in a string using the format:
{r8},{g8},{b8}
.
- ACCESSIBLE_ATTRIBUTE_FAMILY = family-name#
An attribute for the font family name.
- ACCESSIBLE_ATTRIBUTE_FOREGROUND = fg-color#
An attribute for the foreground color, expressed as an RGB value encoded in a string using the format:
{r8},{g8},{b8}
.
- ACCESSIBLE_ATTRIBUTE_OVERLINE = overline#
An attribute for the overline style.
Possible values are:
- ACCESSIBLE_ATTRIBUTE_OVERLINE_NONE = none#
The “none” overline value for
ACCESSIBLE_ATTRIBUTE_OVERLINE
.
- ACCESSIBLE_ATTRIBUTE_OVERLINE_SINGLE = single#
The “single” overline value for
ACCESSIBLE_ATTRIBUTE_OVERLINE
.
- ACCESSIBLE_ATTRIBUTE_SIZE = size#
An attribute for the font size, expressed in points.
- ACCESSIBLE_ATTRIBUTE_STRETCH = stretch#
An attribute for the font stretch type.
Possible values are:
- ACCESSIBLE_ATTRIBUTE_STRETCH_CONDENSED = condensed#
The “condensed” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_EXPANDED = expanded#
The “expanded” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_EXTRA_CONDENSED = extra_condensed#
The “extra condensed” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_EXTRA_EXPANDED = extra_expanded#
The “extra expanded” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_NORMAL = normal#
The “normal” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_SEMI_CONDENSED = semi_condensed#
The “semi condensed” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_SEMI_EXPANDED = semi_expanded#
The “semi expanded” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_ULTRA_CONDENSED = ultra_condensed#
The “ultra condensed” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRETCH_ULTRA_EXPANDED = ultra_expanded#
The “ultra expanded” stretch value for
ACCESSIBLE_ATTRIBUTE_STRETCH
.
- ACCESSIBLE_ATTRIBUTE_STRIKETHROUGH = strikethrough#
An attribute for strikethrough text.
Possible values are
true
orfalse
.
- ACCESSIBLE_ATTRIBUTE_STYLE = style#
An attribute for the font style.
Possible values are:
- ACCESSIBLE_ATTRIBUTE_STYLE_ITALIC = italic#
The “italic” style value for
ACCESSIBLE_ATTRIBUTE_STYLE
.
- ACCESSIBLE_ATTRIBUTE_STYLE_NORMAL = normal#
The “normal” style value for
ACCESSIBLE_ATTRIBUTE_STYLE
.
- ACCESSIBLE_ATTRIBUTE_STYLE_OBLIQUE = oblique#
The “oblique” style value for
ACCESSIBLE_ATTRIBUTE_STYLE
.
- ACCESSIBLE_ATTRIBUTE_UNDERLINE = underline#
An attribute for the underline style.
Possible values are:
- ACCESSIBLE_ATTRIBUTE_UNDERLINE_DOUBLE = double#
The “double” underline value for
ACCESSIBLE_ATTRIBUTE_UNDERLINE
.
- ACCESSIBLE_ATTRIBUTE_UNDERLINE_ERROR = error#
The “error” underline value for
ACCESSIBLE_ATTRIBUTE_UNDERLINE
.
- ACCESSIBLE_ATTRIBUTE_UNDERLINE_NONE = none#
The “none” underline value for
ACCESSIBLE_ATTRIBUTE_UNDERLINE
.
- ACCESSIBLE_ATTRIBUTE_UNDERLINE_SINGLE = single#
The “single” underline value for
ACCESSIBLE_ATTRIBUTE_UNDERLINE
.
- ACCESSIBLE_ATTRIBUTE_VARIANT = variant#
An attribute for the font variant.
Possible values are:
- ACCESSIBLE_ATTRIBUTE_VARIANT_ALL_PETITE_CAPS = all-petite-caps#
The “all petite caps” variant value for
ACCESSIBLE_ATTRIBUTE_VARIANT
.
- ACCESSIBLE_ATTRIBUTE_VARIANT_ALL_SMALL_CAPS = all-small-caps#
The “all small caps” variant value for
ACCESSIBLE_ATTRIBUTE_VARIANT
.
- ACCESSIBLE_ATTRIBUTE_VARIANT_PETITE_CAPS = petite-caps#
The “petite caps” variant value for
ACCESSIBLE_ATTRIBUTE_VARIANT
.
- ACCESSIBLE_ATTRIBUTE_VARIANT_SMALL_CAPS = small-caps#
The “small caps” variant value for
ACCESSIBLE_ATTRIBUTE_VARIANT
.
- ACCESSIBLE_ATTRIBUTE_VARIANT_TITLE_CAPS = title-caps#
The “title caps” variant value for
ACCESSIBLE_ATTRIBUTE_VARIANT
.
- ACCESSIBLE_ATTRIBUTE_VARIANT_UNICASE = unicase#
The “unicase” variant value for
ACCESSIBLE_ATTRIBUTE_VARIANT
.
- ACCESSIBLE_ATTRIBUTE_WEIGHT = weight#
An attribute for the font weight.
- ACCESSIBLE_VALUE_UNDEFINED = -1#
An undefined value. The accessible attribute is either unset, or its value is undefined.
- BINARY_AGE = 1603#
Like
get_binary_age
, but from the headers used at application compile time, rather than from the library linked against at application run time.
- IM_MODULE_EXTENSION_POINT_NAME = gtk-im-module#
The default name of the extension point.
- INPUT_ERROR = -1#
Constant to return from a signal handler for the ::input signal in case of conversion failure.
See
input
.
- INTERFACE_AGE = 3#
Like
get_interface_age
, but from the headers used at application compile time, rather than from the library linked against at application run time.
- INVALID_LIST_POSITION = 4294967295#
The value used to refer to a guaranteed invalid position in a
GListModel
.This value may be returned from some functions, others may accept it as input. Its interpretation may differ for different functions.
Refer to each function’s documentation for if this value is allowed and what it does.
- LEVEL_BAR_OFFSET_FULL = full#
The name used for the stock full offset included by
GtkLevelBar
.
- LEVEL_BAR_OFFSET_HIGH = high#
The name used for the stock high offset included by
GtkLevelBar
.
- LEVEL_BAR_OFFSET_LOW = low#
The name used for the stock low offset included by
GtkLevelBar
.
- MAJOR_VERSION = 4#
Like
get_major_version
, but from the headers used at application compile time, rather than from the library linked against at application run time.
- MAX_COMPOSE_LEN = 7#
Evaluates to the maximum length of a compose sequence.
This macro is longer used by GTK.
- MEDIA_FILE_EXTENSION_POINT_NAME = gtk-media-file#
The default extension point name for media file.
- MICRO_VERSION = 3#
Like
get_micro_version
, but from the headers used at application compile time, rather than from the library linked against at application run time.
- MINOR_VERSION = 16#
Like
get_minor_version
, but from the headers used at application compile time, rather than from the library linked against at application run time.
- PAPER_NAME_A3 = iso_a3#
Name for the A3 paper size.
- PAPER_NAME_A4 = iso_a4#
Name for the A4 paper size.
- PAPER_NAME_A5 = iso_a5#
Name for the A5 paper size.
- PAPER_NAME_B5 = iso_b5#
Name for the B5 paper size.
- PAPER_NAME_EXECUTIVE = na_executive#
Name for the Executive paper size.
- PAPER_NAME_LEGAL = na_legal#
Name for the Legal paper size.
- PAPER_NAME_LETTER = na_letter#
Name for the Letter paper size.
- PRINT_SETTINGS_COLLATE = collate#
The key used by the “Print to file” printer to store whether to collate the printed pages.
- PRINT_SETTINGS_DEFAULT_SOURCE = default-source#
The key used by the “Print to file” printer to store the default source.
- PRINT_SETTINGS_DITHER = dither#
The key used by the “Print to file” printer to store the dither used.
- PRINT_SETTINGS_DUPLEX = duplex#
The key used by the “Print to file” printer to store whether to print the output in duplex.
- PRINT_SETTINGS_FINISHINGS = finishings#
The key used by the “Print to file” printer to store the finishings.
- PRINT_SETTINGS_MEDIA_TYPE = media-type#
The key used by the “Print to file” printer to store the media type.
The set of media types is defined in PWG 5101.1-2002 PWG.
- PRINT_SETTINGS_NUMBER_UP = number-up#
The key used by the “Print to file” printer to store the number of pages per sheet.
- PRINT_SETTINGS_NUMBER_UP_LAYOUT = number-up-layout#
The key used by the “Print to file” printer to store the number of pages per sheet in number-up mode.
- PRINT_SETTINGS_N_COPIES = n-copies#
The key used by the “Print to file” printer to store the number of copies.
- PRINT_SETTINGS_ORIENTATION = orientation#
The key used by the “Print to file” printer to store the orientation.
- PRINT_SETTINGS_OUTPUT_BASENAME = output-basename#
The key used by the “Print to file” printer to store the file name of the output without the path to the directory and the file extension.
- PRINT_SETTINGS_OUTPUT_BIN = output-bin#
The key used by the “Print to file” printer to store the output bin.
- PRINT_SETTINGS_OUTPUT_DIR = output-dir#
The key used by the “Print to file” printer to store the directory to which the output should be written.
- PRINT_SETTINGS_OUTPUT_FILE_FORMAT = output-file-format#
The key used by the “Print to file” printer to store the format of the output. The supported values are “PS” and “PDF”.
- PRINT_SETTINGS_OUTPUT_URI = output-uri#
The key used by the “Print to file” printer to store the URI to which the output should be written. GTK itself supports only “file://” URIs.
- PRINT_SETTINGS_PAGE_RANGES = page-ranges#
The key used by the “Print to file” printer to store the array of page ranges to print.
- PRINT_SETTINGS_PAGE_SET = page-set#
The key used by the “Print to file” printer to store the set of pages to print.
- PRINT_SETTINGS_PAPER_FORMAT = paper-format#
The key used by the “Print to file” printer to store the page format.
- PRINT_SETTINGS_PAPER_HEIGHT = paper-height#
The key used by the “Print to file” printer to store the page height.
- PRINT_SETTINGS_PAPER_WIDTH = paper-width#
The key used by the “Print to file” printer to store the paper width.
- PRINT_SETTINGS_PRINTER = printer#
The key used by the “Print to file” printer to store the printer name.
- PRINT_SETTINGS_PRINTER_LPI = printer-lpi#
The key used by the “Print to file” printer to store the resolution in lines per inch.
- PRINT_SETTINGS_PRINT_PAGES = print-pages#
The key used by the “Print to file” printer to store which pages to print.
- PRINT_SETTINGS_QUALITY = quality#
The key used by the “Print to file” printer to store the printing quality.
- PRINT_SETTINGS_RESOLUTION = resolution#
The key used by the “Print to file” printer to store the resolution in DPI.
- PRINT_SETTINGS_RESOLUTION_X = resolution-x#
The key used by the “Print to file” printer to store the horizontal resolution in DPI.
- PRINT_SETTINGS_RESOLUTION_Y = resolution-y#
The key used by the “Print to file” printer to store the vertical resolution in DPI.
- PRINT_SETTINGS_REVERSE = reverse#
The key used by the “Print to file” printer to store whether to reverse the order of the printed pages.
- PRINT_SETTINGS_SCALE = scale#
The key used by the “Print to file” printer to store the scale.
- PRINT_SETTINGS_USE_COLOR = use-color#
The key used by the “Print to file” printer to store whether to print with colors.
- PRINT_SETTINGS_WIN32_DRIVER_EXTRA = win32-driver-extra#
The key used by the “Print to file” printer to store 32-bit Windows extra driver.
- PRINT_SETTINGS_WIN32_DRIVER_VERSION = win32-driver-version#
The key used by the “Print to file” printer to store the 32-bit Windows driver version.
- PRIORITY_RESIZE = 110#
Use this priority for functionality related to size allocation.
It is used internally by GTK+ to compute the sizes of widgets. This priority is higher than
%GDK_PRIORITY_REDRAW
to avoid resizing a widget which was just redrawn.
- STYLE_PROVIDER_PRIORITY_APPLICATION = 600#
A priority that can be used when adding a
GtkStyleProvider
for application-specific style information.
- STYLE_PROVIDER_PRIORITY_FALLBACK = 1#
The priority used for default style information that is used in the absence of themes.
Note that this is not very useful for providing default styling for custom style classes - themes are likely to override styling provided at this priority with catch-all
* {...}
rules.
- STYLE_PROVIDER_PRIORITY_SETTINGS = 400#
The priority used for style information provided via
GtkSettings
.This priority is higher than
STYLE_PROVIDER_PRIORITY_THEME
to let settings override themes.
- STYLE_PROVIDER_PRIORITY_THEME = 200#
The priority used for style information provided by themes.
- STYLE_PROVIDER_PRIORITY_USER = 800#
The priority used for the style information from
$XDG_CONFIG_HOME/gtk-4.0/gtk.css
.You should not use priorities higher than this, to give the user the last word.
- TEXT_VIEW_PRIORITY_VALIDATE = 125#
The priority at which the text view validates onscreen lines in an idle job in the background.
- TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1#
Uses the default sort function in a
TreeSortable
.See also:
set_sort_column_id
- TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = -2#
Disables sorting in a
TreeSortable
.See also:
set_sort_column_id