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 or false.

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 = 1404

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
INPUT_ERROR = -1

Constant to return from a signal handler for the ::input signal in case of conversion failure.

See input.

INTERFACE_AGE = 4

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
MEDIA_FILE_EXTENSION_POINT_NAME = gtk-media-file
MICRO_VERSION = 4

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 = 14

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.

Name for the Legal paper size.

PAPER_NAME_LETTER = na_letter

Name for the Letter paper size.

PRINT_SETTINGS_COLLATE = collate
PRINT_SETTINGS_DEFAULT_SOURCE = default-source
PRINT_SETTINGS_DITHER = dither
PRINT_SETTINGS_DUPLEX = duplex
PRINT_SETTINGS_FINISHINGS = finishings
PRINT_SETTINGS_MEDIA_TYPE = media-type
PRINT_SETTINGS_NUMBER_UP = number-up
PRINT_SETTINGS_NUMBER_UP_LAYOUT = number-up-layout
PRINT_SETTINGS_N_COPIES = n-copies
PRINT_SETTINGS_ORIENTATION = 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
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
PRINT_SETTINGS_PAGE_SET = page-set
PRINT_SETTINGS_PAPER_FORMAT = paper-format
PRINT_SETTINGS_PAPER_HEIGHT = paper-height
PRINT_SETTINGS_PAPER_WIDTH = paper-width
PRINT_SETTINGS_PRINTER = printer
PRINT_SETTINGS_PRINTER_LPI = printer-lpi
PRINT_SETTINGS_PRINT_PAGES = print-pages
PRINT_SETTINGS_QUALITY = quality
PRINT_SETTINGS_RESOLUTION = resolution
PRINT_SETTINGS_RESOLUTION_X = resolution-x
PRINT_SETTINGS_RESOLUTION_Y = resolution-y
PRINT_SETTINGS_REVERSE = reverse
PRINT_SETTINGS_SCALE = scale
PRINT_SETTINGS_USE_COLOR = use-color
PRINT_SETTINGS_WIN32_DRIVER_EXTRA = win32-driver-extra
PRINT_SETTINGS_WIN32_DRIVER_VERSION = win32-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