Constants ========= .. currentmodule:: gi.repository.Gtk .. data:: ACCESSIBLE_ATTRIBUTE_BACKGROUND :value: bg-color An attribute for the background color, expressed as an RGB value encoded in a string using the format: ``{r8},{g8},{b8}``. .. data:: ACCESSIBLE_ATTRIBUTE_FAMILY :value: family-name An attribute for the font family name. .. data:: ACCESSIBLE_ATTRIBUTE_FOREGROUND :value: fg-color An attribute for the foreground color, expressed as an RGB value encoded in a string using the format: ``{r8},{g8},{b8}``. .. data:: ACCESSIBLE_ATTRIBUTE_OVERLINE :value: overline An attribute for the overline style. Possible values are: - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_OVERLINE_NONE` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_OVERLINE_SINGLE` .. data:: ACCESSIBLE_ATTRIBUTE_OVERLINE_NONE :value: none The "none" overline value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_OVERLINE`. .. data:: ACCESSIBLE_ATTRIBUTE_OVERLINE_SINGLE :value: single The "single" overline value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_OVERLINE`. .. data:: ACCESSIBLE_ATTRIBUTE_SIZE :value: size An attribute for the font size, expressed in points. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH :value: stretch An attribute for the font stretch type. Possible values are: - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH_ULTRA_CONDENSED` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH_EXTRA_CONDENSED` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH_CONDENSED` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH_SEMI_CONDENSED` .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_CONDENSED :value: condensed The "condensed" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_EXPANDED :value: expanded The "expanded" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_EXTRA_CONDENSED :value: extra_condensed The "extra condensed" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_EXTRA_EXPANDED :value: extra_expanded The "extra expanded" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_NORMAL :value: normal The "normal" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_SEMI_CONDENSED :value: semi_condensed The "semi condensed" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_SEMI_EXPANDED :value: semi_expanded The "semi expanded" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_ULTRA_CONDENSED :value: ultra_condensed The "ultra condensed" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRETCH_ULTRA_EXPANDED :value: ultra_expanded The "ultra expanded" stretch value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STRETCH`. .. data:: ACCESSIBLE_ATTRIBUTE_STRIKETHROUGH :value: strikethrough An attribute for strikethrough text. Possible values are ``true`` or ``false``. .. data:: ACCESSIBLE_ATTRIBUTE_STYLE :value: style An attribute for the font style. Possible values are: - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STYLE_NORMAL` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STYLE_OBLIQUE` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STYLE_ITALIC` .. data:: ACCESSIBLE_ATTRIBUTE_STYLE_ITALIC :value: italic The "italic" style value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STYLE`. .. data:: ACCESSIBLE_ATTRIBUTE_STYLE_NORMAL :value: normal The "normal" style value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STYLE`. .. data:: ACCESSIBLE_ATTRIBUTE_STYLE_OBLIQUE :value: oblique The "oblique" style value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_STYLE`. .. data:: ACCESSIBLE_ATTRIBUTE_UNDERLINE :value: underline An attribute for the underline style. Possible values are: - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE_NONE` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE_SINGLE` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE_DOUBLE` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE_ERROR` .. data:: ACCESSIBLE_ATTRIBUTE_UNDERLINE_DOUBLE :value: double The "double" underline value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE`. .. data:: ACCESSIBLE_ATTRIBUTE_UNDERLINE_ERROR :value: error The "error" underline value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE`. .. data:: ACCESSIBLE_ATTRIBUTE_UNDERLINE_NONE :value: none The "none" underline value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE`. .. data:: ACCESSIBLE_ATTRIBUTE_UNDERLINE_SINGLE :value: single The "single" underline value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_UNDERLINE`. .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT :value: variant An attribute for the font variant. Possible values are: - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT_SMALL_CAPS` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT_ALL_SMALL_CAPS` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT_PETITE_CAPS` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT_ALL_PETITE_CAPS` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT_UNICASE` - :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT_TITLE_CAPS` .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT_ALL_PETITE_CAPS :value: all-petite-caps The "all petite caps" variant value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT`. .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT_ALL_SMALL_CAPS :value: all-small-caps The "all small caps" variant value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT`. .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT_PETITE_CAPS :value: petite-caps The "petite caps" variant value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT`. .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT_SMALL_CAPS :value: small-caps The "small caps" variant value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT`. .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT_TITLE_CAPS :value: title-caps The "title caps" variant value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT`. .. data:: ACCESSIBLE_ATTRIBUTE_VARIANT_UNICASE :value: unicase The "unicase" variant value for :obj:`~gi.repository.Gtk.ACCESSIBLE_ATTRIBUTE_VARIANT`. .. data:: ACCESSIBLE_ATTRIBUTE_WEIGHT :value: weight An attribute for the font weight. .. data:: ACCESSIBLE_VALUE_UNDEFINED :value: -1 An undefined value. The accessible attribute is either unset, or its value is undefined. .. data:: BINARY_AGE :value: 1402 Like :obj:`~gi.repository.Gtk.get_binary_age`, but from the headers used at application compile time, rather than from the library linked against at application run time. .. data:: IM_MODULE_EXTENSION_POINT_NAME :value: gtk-im-module .. data:: INPUT_ERROR :value: -1 Constant to return from a signal handler for the ::input signal in case of conversion failure. See :obj:`~gi.repository.Gtk.SpinButton.signals.input`. .. data:: INTERFACE_AGE :value: 2 Like :obj:`~gi.repository.Gtk.get_interface_age`, but from the headers used at application compile time, rather than from the library linked against at application run time. .. data:: INVALID_LIST_POSITION :value: 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. .. data:: LEVEL_BAR_OFFSET_FULL :value: full The name used for the stock full offset included by ``GtkLevelBar``. .. data:: LEVEL_BAR_OFFSET_HIGH :value: high The name used for the stock high offset included by ``GtkLevelBar``. .. data:: LEVEL_BAR_OFFSET_LOW :value: low The name used for the stock low offset included by ``GtkLevelBar``. .. data:: MAJOR_VERSION :value: 4 Like :obj:`~gi.repository.Gtk.get_major_version`, but from the headers used at application compile time, rather than from the library linked against at application run time. .. data:: MAX_COMPOSE_LEN :value: 7 .. data:: MEDIA_FILE_EXTENSION_POINT_NAME :value: gtk-media-file .. data:: MICRO_VERSION :value: 2 Like :obj:`~gi.repository.Gtk.get_micro_version`, but from the headers used at application compile time, rather than from the library linked against at application run time. .. data:: MINOR_VERSION :value: 14 Like :obj:`~gi.repository.Gtk.get_minor_version`, but from the headers used at application compile time, rather than from the library linked against at application run time. .. data:: PAPER_NAME_A3 :value: iso_a3 Name for the A3 paper size. .. data:: PAPER_NAME_A4 :value: iso_a4 Name for the A4 paper size. .. data:: PAPER_NAME_A5 :value: iso_a5 Name for the A5 paper size. .. data:: PAPER_NAME_B5 :value: iso_b5 Name for the B5 paper size. .. data:: PAPER_NAME_EXECUTIVE :value: na_executive Name for the Executive paper size. .. data:: PAPER_NAME_LEGAL :value: na_legal Name for the Legal paper size. .. data:: PAPER_NAME_LETTER :value: na_letter Name for the Letter paper size. .. data:: PRINT_SETTINGS_COLLATE :value: collate .. data:: PRINT_SETTINGS_DEFAULT_SOURCE :value: default-source .. data:: PRINT_SETTINGS_DITHER :value: dither .. data:: PRINT_SETTINGS_DUPLEX :value: duplex .. data:: PRINT_SETTINGS_FINISHINGS :value: finishings .. data:: PRINT_SETTINGS_MEDIA_TYPE :value: media-type .. data:: PRINT_SETTINGS_NUMBER_UP :value: number-up .. data:: PRINT_SETTINGS_NUMBER_UP_LAYOUT :value: number-up-layout .. data:: PRINT_SETTINGS_N_COPIES :value: n-copies .. data:: PRINT_SETTINGS_ORIENTATION :value: orientation .. data:: PRINT_SETTINGS_OUTPUT_BASENAME :value: 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. .. data:: PRINT_SETTINGS_OUTPUT_BIN :value: output-bin .. data:: PRINT_SETTINGS_OUTPUT_DIR :value: output-dir The key used by the “Print to file” printer to store the directory to which the output should be written. .. data:: PRINT_SETTINGS_OUTPUT_FILE_FORMAT :value: 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”. .. data:: PRINT_SETTINGS_OUTPUT_URI :value: 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. .. data:: PRINT_SETTINGS_PAGE_RANGES :value: page-ranges .. data:: PRINT_SETTINGS_PAGE_SET :value: page-set .. data:: PRINT_SETTINGS_PAPER_FORMAT :value: paper-format .. data:: PRINT_SETTINGS_PAPER_HEIGHT :value: paper-height .. data:: PRINT_SETTINGS_PAPER_WIDTH :value: paper-width .. data:: PRINT_SETTINGS_PRINTER :value: printer .. data:: PRINT_SETTINGS_PRINTER_LPI :value: printer-lpi .. data:: PRINT_SETTINGS_PRINT_PAGES :value: print-pages .. data:: PRINT_SETTINGS_QUALITY :value: quality .. data:: PRINT_SETTINGS_RESOLUTION :value: resolution .. data:: PRINT_SETTINGS_RESOLUTION_X :value: resolution-x .. data:: PRINT_SETTINGS_RESOLUTION_Y :value: resolution-y .. data:: PRINT_SETTINGS_REVERSE :value: reverse .. data:: PRINT_SETTINGS_SCALE :value: scale .. data:: PRINT_SETTINGS_USE_COLOR :value: use-color .. data:: PRINT_SETTINGS_WIN32_DRIVER_EXTRA :value: win32-driver-extra .. data:: PRINT_SETTINGS_WIN32_DRIVER_VERSION :value: win32-driver-version .. data:: PRIORITY_RESIZE :value: 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. .. data:: STYLE_PROVIDER_PRIORITY_APPLICATION :value: 600 A priority that can be used when adding a ``GtkStyleProvider`` for application-specific style information. .. data:: STYLE_PROVIDER_PRIORITY_FALLBACK :value: 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. .. data:: STYLE_PROVIDER_PRIORITY_SETTINGS :value: 400 The priority used for style information provided via ``GtkSettings``. This priority is higher than :const:`~gi.repository.Gtk.STYLE_PROVIDER_PRIORITY_THEME` to let settings override themes. .. data:: STYLE_PROVIDER_PRIORITY_THEME :value: 200 The priority used for style information provided by themes. .. data:: STYLE_PROVIDER_PRIORITY_USER :value: 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. .. data:: TEXT_VIEW_PRIORITY_VALIDATE :value: 125 The priority at which the text view validates onscreen lines in an idle job in the background. .. data:: TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID :value: -1 Uses the default sort function in a :obj:`~gi.repository.Gtk.TreeSortable`. See also: :obj:`~gi.repository.Gtk.TreeSortable.set_sort_column_id` .. data:: TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID :value: -2 Disables sorting in a :obj:`~gi.repository.Gtk.TreeSortable`. See also: :obj:`~gi.repository.Gtk.TreeSortable.set_sort_column_id`