Constants

Details

Gtk.BINARY_AGE = 2441

Like Gtk.get_binary_age(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Gtk.INPUT_ERROR = -1

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

Gtk.INTERFACE_AGE = 32

Like Gtk.get_interface_age(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Gtk.LEVEL_BAR_OFFSET_FULL = 'full'

The name used for the stock full offset included by Gtk.LevelBar.

New in version 3.20.

Gtk.LEVEL_BAR_OFFSET_HIGH = 'high'

The name used for the stock high offset included by Gtk.LevelBar.

New in version 3.6.

Gtk.LEVEL_BAR_OFFSET_LOW = 'low'

The name used for the stock low offset included by Gtk.LevelBar.

New in version 3.6.

Gtk.MAJOR_VERSION = 3

Like Gtk.get_major_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Gtk.MAX_COMPOSE_LEN = 7

The maximum length of sequences in compose tables.

Gtk.MICRO_VERSION = 41

Like Gtk.get_micro_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Gtk.MINOR_VERSION = 24

Like Gtk.get_minor_version(), but from the headers used at application compile time, rather than from the library linked against at application run time.

Gtk.PAPER_NAME_A3 = 'iso_a3'

Name for the A3 paper size.

Gtk.PAPER_NAME_A4 = 'iso_a4'

Name for the A4 paper size.

Gtk.PAPER_NAME_A5 = 'iso_a5'

Name for the A5 paper size.

Gtk.PAPER_NAME_B5 = 'iso_b5'

Name for the B5 paper size.

Gtk.PAPER_NAME_EXECUTIVE = 'na_executive'

Name for the Executive paper size.

Name for the Legal paper size.

Gtk.PAPER_NAME_LETTER = 'na_letter'

Name for the Letter paper size.

Gtk.PATH_PRIO_MASK = 15
Gtk.PRINT_SETTINGS_COLLATE = 'collate'
Gtk.PRINT_SETTINGS_DEFAULT_SOURCE = 'default-source'
Gtk.PRINT_SETTINGS_DITHER = 'dither'
Gtk.PRINT_SETTINGS_DUPLEX = 'duplex'
Gtk.PRINT_SETTINGS_FINISHINGS = 'finishings'
Gtk.PRINT_SETTINGS_MEDIA_TYPE = 'media-type'
Gtk.PRINT_SETTINGS_NUMBER_UP = 'number-up'
Gtk.PRINT_SETTINGS_NUMBER_UP_LAYOUT = 'number-up-layout'
Gtk.PRINT_SETTINGS_N_COPIES = 'n-copies'
Gtk.PRINT_SETTINGS_ORIENTATION = 'orientation'
Gtk.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.

New in version 3.6.

Gtk.PRINT_SETTINGS_OUTPUT_BIN = 'output-bin'
Gtk.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.

New in version 3.6.

Gtk.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”.

Gtk.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.

Gtk.PRINT_SETTINGS_PAGE_RANGES = 'page-ranges'
Gtk.PRINT_SETTINGS_PAGE_SET = 'page-set'
Gtk.PRINT_SETTINGS_PAPER_FORMAT = 'paper-format'
Gtk.PRINT_SETTINGS_PAPER_HEIGHT = 'paper-height'
Gtk.PRINT_SETTINGS_PAPER_WIDTH = 'paper-width'
Gtk.PRINT_SETTINGS_PRINTER = 'printer'
Gtk.PRINT_SETTINGS_PRINTER_LPI = 'printer-lpi'
Gtk.PRINT_SETTINGS_PRINT_PAGES = 'print-pages'
Gtk.PRINT_SETTINGS_QUALITY = 'quality'
Gtk.PRINT_SETTINGS_RESOLUTION = 'resolution'
Gtk.PRINT_SETTINGS_RESOLUTION_X = 'resolution-x'
Gtk.PRINT_SETTINGS_RESOLUTION_Y = 'resolution-y'
Gtk.PRINT_SETTINGS_REVERSE = 'reverse'
Gtk.PRINT_SETTINGS_SCALE = 'scale'
Gtk.PRINT_SETTINGS_USE_COLOR = 'use-color'
Gtk.PRINT_SETTINGS_WIN32_DRIVER_EXTRA = 'win32-driver-extra'
Gtk.PRINT_SETTINGS_WIN32_DRIVER_VERSION = 'win32-driver-version'
Gtk.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.

Gtk.STOCK_ABOUT = 'gtk-about'

The “About” item.

New in version 2.6.

Deprecated since version 3.10: Use named icon “help-about” or the label “_About”.

Gtk.STOCK_ADD = 'gtk-add'

The “Add” item and icon.

Deprecated since version 3.10: Use named icon “list-add” or the label “_Add”.

Gtk.STOCK_APPLY = 'gtk-apply'

The “Apply” item and icon.

Deprecated since version 3.10: Do not use an icon. Use label “_Apply”.

Gtk.STOCK_BOLD = 'gtk-bold'

The “Bold” item and icon.

Deprecated since version 3.10: Use named icon “format-text-bold”.

Gtk.STOCK_CANCEL = 'gtk-cancel'

The “Cancel” item and icon.

Deprecated since version 3.10: Do not use an icon. Use label “_Cancel”.

Gtk.STOCK_CAPS_LOCK_WARNING = 'gtk-caps-lock-warning'

The “Caps Lock Warning” icon.

New in version 2.16.

Deprecated since version 3.10: Use named icon “dialog-warning-symbolic”.

Gtk.STOCK_CDROM = 'gtk-cdrom'

The “CD-Rom” item and icon.

Deprecated since version 3.10: Use named icon “media-optical”.

Gtk.STOCK_CLEAR = 'gtk-clear'

The “Clear” item and icon.

Deprecated since version 3.10: Use named icon “edit-clear”.

Gtk.STOCK_CLOSE = 'gtk-close'

The “Close” item and icon.

Deprecated since version 3.10: Use named icon “window-close” or the label “_Close”.

Gtk.STOCK_COLOR_PICKER = 'gtk-color-picker'

The “Color Picker” item and icon.

New in version 2.2.

Deprecated since version 3.10.

Gtk.STOCK_CONNECT = 'gtk-connect'

The “Connect” icon.

New in version 2.6.

Deprecated since version 3.10.

Gtk.STOCK_CONVERT = 'gtk-convert'

The “Convert” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_COPY = 'gtk-copy'

The “Copy” item and icon.

Deprecated since version 3.10: Use the named icon “edit-copy” or the label “_Copy”.

Gtk.STOCK_CUT = 'gtk-cut'

The “Cut” item and icon.

Deprecated since version 3.10: Use the named icon “edit-cut” or the label “Cu_t”.

Gtk.STOCK_DELETE = 'gtk-delete'

The “Delete” item and icon.

Deprecated since version 3.10: Use the named icon “edit-delete” or the label “_Delete”.

Gtk.STOCK_DIALOG_AUTHENTICATION = 'gtk-dialog-authentication'

The “Authentication” item and icon.

New in version 2.4.

Deprecated since version 3.10: Use named icon “dialog-password”.

Gtk.STOCK_DIALOG_ERROR = 'gtk-dialog-error'

The “Error” item and icon.

Deprecated since version 3.10: Use named icon “dialog-error”.

Gtk.STOCK_DIALOG_INFO = 'gtk-dialog-info'

The “Information” item and icon.

Deprecated since version 3.10: Use named icon “dialog-information”.

Gtk.STOCK_DIALOG_QUESTION = 'gtk-dialog-question'

The “Question” item and icon.

Deprecated since version 3.10: Use named icon “dialog-question”.

Gtk.STOCK_DIALOG_WARNING = 'gtk-dialog-warning'

The “Warning” item and icon.

Deprecated since version 3.10: Use named icon “dialog-warning”.

Gtk.STOCK_DIRECTORY = 'gtk-directory'

The “Directory” icon.

New in version 2.6.

Deprecated since version 3.10: Use named icon “folder”.

Gtk.STOCK_DISCARD = 'gtk-discard'

The “Discard” item.

New in version 2.12.

Deprecated since version 3.10.

Gtk.STOCK_DISCONNECT = 'gtk-disconnect'

The “Disconnect” icon.

New in version 2.6.

Deprecated since version 3.10.

Gtk.STOCK_DND = 'gtk-dnd'

The “Drag-And-Drop” icon.

Deprecated since version 3.10.

Gtk.STOCK_DND_MULTIPLE = 'gtk-dnd-multiple'

The “Drag-And-Drop multiple” icon.

Deprecated since version 3.10.

Gtk.STOCK_EDIT = 'gtk-edit'

The “Edit” item and icon.

New in version 2.6.

Deprecated since version 3.10.

Gtk.STOCK_EXECUTE = 'gtk-execute'

The “Execute” item and icon.

Deprecated since version 3.10: Use named icon “system-run”.

Gtk.STOCK_FILE = 'gtk-file'

The “File” item and icon.

Since 3.0, this item has a label, before it only had an icon.

New in version 2.6.

Deprecated since version 3.10: Use named icon “text-x-generic”.

Gtk.STOCK_FIND = 'gtk-find'

The “Find” item and icon.

Deprecated since version 3.10: Use named icon “edit-find”.

Gtk.STOCK_FIND_AND_REPLACE = 'gtk-find-and-replace'

The “Find and Replace” item and icon.

Deprecated since version 3.10: Use named icon “edit-find-replace”.

Gtk.STOCK_FLOPPY = 'gtk-floppy'

The “Floppy” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_FULLSCREEN = 'gtk-fullscreen'

The “Fullscreen” item and icon.

New in version 2.8.

Deprecated since version 3.10: Use named icon “view-fullscreen”.

Gtk.STOCK_GOTO_BOTTOM = 'gtk-goto-bottom'

The “Bottom” item and icon.

Deprecated since version 3.10: Use named icon “go-bottom”.

Gtk.STOCK_GOTO_FIRST = 'gtk-goto-first'

The “First” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “go-first”.

Gtk.STOCK_GOTO_LAST = 'gtk-goto-last'

The “Last” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “go-last”.

Gtk.STOCK_GOTO_TOP = 'gtk-goto-top'

The “Top” item and icon.

Deprecated since version 3.10: Use named icon “go-top”.

Gtk.STOCK_GO_BACK = 'gtk-go-back'

The “Back” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “go-previous”.

Gtk.STOCK_GO_DOWN = 'gtk-go-down'

The “Down” item and icon.

Deprecated since version 3.10: Use named icon “go-down”.

Gtk.STOCK_GO_FORWARD = 'gtk-go-forward'

The “Forward” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “go-next”.

Gtk.STOCK_GO_UP = 'gtk-go-up'

The “Up” item and icon.

Deprecated since version 3.10: Use named icon “go-up”.

Gtk.STOCK_HARDDISK = 'gtk-harddisk'

The “Harddisk” item and icon.

New in version 2.4.

Deprecated since version 3.10: Use named icon “drive-harddisk”.

Gtk.STOCK_HELP = 'gtk-help'

The “Help” item and icon.

Deprecated since version 3.10: Use named icon “help-browser”.

Gtk.STOCK_HOME = 'gtk-home'

The “Home” item and icon.

Deprecated since version 3.10: Use named icon “go-home”.

Gtk.STOCK_INDENT = 'gtk-indent'

The “Indent” item and icon. The icon has an RTL variant.

New in version 2.4.

Deprecated since version 3.10: Use named icon “format-indent-more”.

Gtk.STOCK_INDEX = 'gtk-index'

The “Index” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_INFO = 'gtk-info'

The “Info” item and icon.

New in version 2.8.

Deprecated since version 3.10: Use named icon “dialog-information”.

Gtk.STOCK_ITALIC = 'gtk-italic'

The “Italic” item and icon.

Deprecated since version 3.10: Use named icon “format-text-italic”.

Gtk.STOCK_JUMP_TO = 'gtk-jump-to'

The “Jump to” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “go-jump”.

Gtk.STOCK_JUSTIFY_CENTER = 'gtk-justify-center'

The “Center” item and icon.

Deprecated since version 3.10: Use named icon “format-justify-center”.

Gtk.STOCK_JUSTIFY_FILL = 'gtk-justify-fill'

The “Fill” item and icon.

Deprecated since version 3.10: Use named icon “format-justify-fill”.

Gtk.STOCK_JUSTIFY_LEFT = 'gtk-justify-left'

The “Left” item and icon.

Deprecated since version 3.10: Use named icon “format-justify-left”.

Gtk.STOCK_JUSTIFY_RIGHT = 'gtk-justify-right'

The “Right” item and icon.

Deprecated since version 3.10: Use named icon “format-justify-right”.

Gtk.STOCK_LEAVE_FULLSCREEN = 'gtk-leave-fullscreen'

The “Leave Fullscreen” item and icon.

New in version 2.8.

Deprecated since version 3.10: Use named icon “view-restore”.

Gtk.STOCK_MEDIA_FORWARD = 'gtk-media-forward'

The “Media Forward” item and icon. The icon has an RTL variant.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-seek-forward” or the label “_Forward”.

Gtk.STOCK_MEDIA_NEXT = 'gtk-media-next'

The “Media Next” item and icon. The icon has an RTL variant.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-skip-forward” or the label “_Next”.

Gtk.STOCK_MEDIA_PAUSE = 'gtk-media-pause'

The “Media Pause” item and icon.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-playback-pause” or the label “P_ause”.

Gtk.STOCK_MEDIA_PLAY = 'gtk-media-play'

The “Media Play” item and icon. The icon has an RTL variant.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-playback-start” or the label “_Play”.

Gtk.STOCK_MEDIA_PREVIOUS = 'gtk-media-previous'

The “Media Previous” item and icon. The icon has an RTL variant.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-skip-backward” or the label “Pre_vious”.

Gtk.STOCK_MEDIA_RECORD = 'gtk-media-record'

The “Media Record” item and icon.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-record” or the label “_Record”.

Gtk.STOCK_MEDIA_REWIND = 'gtk-media-rewind'

The “Media Rewind” item and icon. The icon has an RTL variant.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-seek-backward” or the label “R_ewind”.

Gtk.STOCK_MEDIA_STOP = 'gtk-media-stop'

The “Media Stop” item and icon.

New in version 2.6.

Deprecated since version 3.10: Use named icon “media-playback-stop” or the label “_Stop”.

Gtk.STOCK_MISSING_IMAGE = 'gtk-missing-image'

The “Missing image” icon.

Deprecated since version 3.10: Use named icon “image-missing”.

Gtk.STOCK_NETWORK = 'gtk-network'

The “Network” item and icon.

New in version 2.4.

Deprecated since version 3.10: Use named icon “network-workgroup”.

Gtk.STOCK_NEW = 'gtk-new'

The “New” item and icon.

Deprecated since version 3.10: Use named icon “document-new” or the label “_New”.

Gtk.STOCK_NO = 'gtk-no'

The “No” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_OK = 'gtk-ok'

The “OK” item and icon.

Deprecated since version 3.10: Do not use an icon. Use label “_OK”.

Gtk.STOCK_OPEN = 'gtk-open'

The “Open” item and icon.

Deprecated since version 3.10: Use named icon “document-open” or the label “_Open”.

Gtk.STOCK_ORIENTATION_LANDSCAPE = 'gtk-orientation-landscape'

The “Landscape Orientation” item and icon.

New in version 2.10.

Deprecated since version 3.10.

Gtk.STOCK_ORIENTATION_PORTRAIT = 'gtk-orientation-portrait'

The “Portrait Orientation” item and icon.

New in version 2.10.

Deprecated since version 3.10.

Gtk.STOCK_ORIENTATION_REVERSE_LANDSCAPE = 'gtk-orientation-reverse-landscape'

The “Reverse Landscape Orientation” item and icon.

New in version 2.10.

Deprecated since version 3.10.

Gtk.STOCK_ORIENTATION_REVERSE_PORTRAIT = 'gtk-orientation-reverse-portrait'

The “Reverse Portrait Orientation” item and icon.

New in version 2.10.

Deprecated since version 3.10.

Gtk.STOCK_PAGE_SETUP = 'gtk-page-setup'

The “Page Setup” item and icon.

New in version 2.14.

Deprecated since version 3.10: Use named icon “document-page-setup” or the label “Page Set_up”.

Gtk.STOCK_PASTE = 'gtk-paste'

The “Paste” item and icon.

Deprecated since version 3.10: Use named icon “edit-paste” or the label “_Paste”.

Gtk.STOCK_PREFERENCES = 'gtk-preferences'

The “Preferences” item and icon.

Deprecated since version 3.10: Use named icon “preferences-system” or the label “_Preferences”.

Gtk.STOCK_PRINT = 'gtk-print'

The “Print” item and icon.

Deprecated since version 3.10: Use named icon “document-print” or the label “_Print”.

Gtk.STOCK_PRINT_ERROR = 'gtk-print-error'

The “Print Error” icon.

New in version 2.14.

Deprecated since version 3.10: Use named icon “printer-error”.

Gtk.STOCK_PRINT_PAUSED = 'gtk-print-paused'

The “Print Paused” icon.

New in version 2.14.

Deprecated since version 3.10.

Gtk.STOCK_PRINT_PREVIEW = 'gtk-print-preview'

The “Print Preview” item and icon.

Deprecated since version 3.10: Use label “Pre_view”.

Gtk.STOCK_PRINT_REPORT = 'gtk-print-report'

The “Print Report” icon.

New in version 2.14.

Deprecated since version 3.10.

Gtk.STOCK_PRINT_WARNING = 'gtk-print-warning'

The “Print Warning” icon.

New in version 2.14.

Deprecated since version 3.10.

Gtk.STOCK_PROPERTIES = 'gtk-properties'

The “Properties” item and icon.

Deprecated since version 3.10: Use named icon “document-properties” or the label “_Properties”.

Gtk.STOCK_QUIT = 'gtk-quit'

The “Quit” item and icon.

Deprecated since version 3.10: Use named icon “application-exit” or the label “_Quit”.

Gtk.STOCK_REDO = 'gtk-redo'

The “Redo” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “edit-redo” or the label “_Redo”.

Gtk.STOCK_REFRESH = 'gtk-refresh'

The “Refresh” item and icon.

Deprecated since version 3.10: Use named icon “view-refresh” or the label “_Refresh”.

Gtk.STOCK_REMOVE = 'gtk-remove'

The “Remove” item and icon.

Deprecated since version 3.10: Use named icon “list-remove” or the label “_Remove”.

Gtk.STOCK_REVERT_TO_SAVED = 'gtk-revert-to-saved'

The “Revert” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “document-revert” or the label “_Revert”.

Gtk.STOCK_SAVE = 'gtk-save'

The “Save” item and icon.

Deprecated since version 3.10: Use named icon “document-save” or the label “_Save”.

Gtk.STOCK_SAVE_AS = 'gtk-save-as'

The “Save As” item and icon.

Deprecated since version 3.10: Use named icon “document-save-as” or the label “Save _As”.

Gtk.STOCK_SELECT_ALL = 'gtk-select-all'

The “Select All” item and icon.

New in version 2.10.

Deprecated since version 3.10: Use named icon “edit-select-all” or the label “Select _All”.

Gtk.STOCK_SELECT_COLOR = 'gtk-select-color'

The “Color” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_SELECT_FONT = 'gtk-select-font'

The “Font” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_SORT_ASCENDING = 'gtk-sort-ascending'

The “Ascending” item and icon.

Deprecated since version 3.10: Use named icon “view-sort-ascending”.

Gtk.STOCK_SORT_DESCENDING = 'gtk-sort-descending'

The “Descending” item and icon.

Deprecated since version 3.10: Use named icon “view-sort-descending”.

Gtk.STOCK_SPELL_CHECK = 'gtk-spell-check'

The “Spell Check” item and icon.

Deprecated since version 3.10: Use named icon “tools-check-spelling”.

Gtk.STOCK_STOP = 'gtk-stop'

The “Stop” item and icon.

Deprecated since version 3.10: Use named icon “process-stop” or the label “_Stop”.

Gtk.STOCK_STRIKETHROUGH = 'gtk-strikethrough'

The “Strikethrough” item and icon.

Deprecated since version 3.10: Use named icon “format-text-strikethrough” or the label “_Strikethrough”.

Gtk.STOCK_UNDELETE = 'gtk-undelete'

The “Undelete” item and icon. The icon has an RTL variant.

Deprecated since version 3.10.

Gtk.STOCK_UNDERLINE = 'gtk-underline'

The “Underline” item and icon.

Deprecated since version 3.10: Use named icon “format-text-underline” or the label “_Underline”.

Gtk.STOCK_UNDO = 'gtk-undo'

The “Undo” item and icon. The icon has an RTL variant.

Deprecated since version 3.10: Use named icon “edit-undo” or the label “_Undo”.

Gtk.STOCK_UNINDENT = 'gtk-unindent'

The “Unindent” item and icon. The icon has an RTL variant.

New in version 2.4.

Deprecated since version 3.10: Use named icon “format-indent-less”.

Gtk.STOCK_YES = 'gtk-yes'

The “Yes” item and icon.

Deprecated since version 3.10.

Gtk.STOCK_ZOOM_100 = 'gtk-zoom-100'

The “Zoom 100%” item and icon.

Deprecated since version 3.10: Use named icon “zoom-original” or the label “_Normal Size”.

Gtk.STOCK_ZOOM_FIT = 'gtk-zoom-fit'

The “Zoom to Fit” item and icon.

Deprecated since version 3.10: Use named icon “zoom-fit-best” or the label “Best _Fit”.

Gtk.STOCK_ZOOM_IN = 'gtk-zoom-in'

The “Zoom In” item and icon.

Deprecated since version 3.10: Use named icon “zoom-in” or the label “Zoom _In”.

Gtk.STOCK_ZOOM_OUT = 'gtk-zoom-out'

The “Zoom Out” item and icon.

Deprecated since version 3.10: Use named icon “zoom-out” or the label “Zoom _Out”.

Gtk.STYLE_CLASS_ACCELERATOR = 'accelerator'

A CSS class to match an accelerator.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_ARROW = 'arrow'

A CSS class used when rendering an arrow element.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_BACKGROUND = 'background'

A CSS class to match the window background.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_BOTTOM = 'bottom'

A CSS class to indicate an area at the bottom of a widget.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_BUTTON = 'button'

A CSS class to match buttons.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_CALENDAR = 'calendar'

A CSS class to match calendars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_CELL = 'cell'

A CSS class to match content rendered in cell views.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_CHECK = 'check'

A CSS class to match check boxes.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_COMBOBOX_ENTRY = 'combobox-entry'

A CSS class to match combobox entries.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_CONTEXT_MENU = 'context-menu'

A CSS class to match context menus.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_CSD = 'csd'

A CSS class that gets added to windows which have client-side decorations.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_CURSOR_HANDLE = 'cursor-handle'

A CSS class used when rendering a drag handle for text selection.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_DEFAULT = 'default'

A CSS class to match the default widget.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_DESTRUCTIVE_ACTION = 'destructive-action'

A CSS class used when an action (usually a button) is one that is expected to remove or destroy something visible to the user.

Refer to individual widget documentation for used style classes.

New in version 3.12.

Gtk.STYLE_CLASS_DIM_LABEL = 'dim-label'

A CSS class to match dimmed labels.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_DND = 'dnd'

A CSS class for a drag-and-drop indicator.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_DOCK = 'dock'

A CSS class defining a dock area.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_ENTRY = 'entry'

A CSS class to match text entries.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_ERROR = 'error'

A CSS class for an area displaying an error message, such as those in infobars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_EXPANDER = 'expander'

A CSS class defining an expander, such as those in treeviews.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_FLAT = 'flat'

A CSS class that is added when widgets that usually have a frame or border (like buttons or entries) should appear without it.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_FRAME = 'frame'

A CSS class defining a frame delimiting content, such as Gtk.Frame or the scrolled window frame around the scrollable area.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_GRIP = 'grip'

A CSS class defining a resize grip.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_HEADER = 'header'

A CSS class to match a header element.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_HIGHLIGHT = 'highlight'

A CSS class defining a highlighted area, such as headings in assistants and calendars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_HORIZONTAL = 'horizontal'

A CSS class for horizontally layered widgets.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_IMAGE = 'image'

A CSS class defining an image, such as the icon in an entry.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_INFO = 'info'

A CSS class for an area displaying an informational message, such as those in infobars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_INLINE_TOOLBAR = 'inline-toolbar'

A CSS class to match inline toolbars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_INSERTION_CURSOR = 'insertion-cursor'

A CSS class used when rendering a drag handle for the insertion cursor position.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_LABEL = 'label'

A CSS class to match labels.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_CLASS_LEFT = 'left'

A CSS class to indicate an area at the left of a widget.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_LEVEL_BAR = 'level-bar'

A CSS class used when rendering a level indicator, such as a battery charge level, or a password strength.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_LINKED = 'linked'

A CSS class to match a linked area, such as a box containing buttons belonging to the same control.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_LIST = 'list'

A CSS class to match lists.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_LIST_ROW = 'list-row'

A CSS class to match list rows.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_MARK = 'mark'

A CSS class defining marks in a widget, such as in scales.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_MENU = 'menu'

A CSS class to match menus.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_MENUBAR = 'menubar'

A CSS class to menubars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_MENUITEM = 'menuitem'

A CSS class to match menu items.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_MESSAGE_DIALOG = 'message-dialog'

A CSS class that is added to message dialogs.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_MONOSPACE = 'monospace'

A CSS class that is added to text view that should use a monospace font.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_CLASS_NEEDS_ATTENTION = 'needs-attention'

A CSS class used when an element needs the user attention, for instance a button in a stack switcher corresponding to a hidden page that changed state.

Refer to individual widget documentation for used style classes.

New in version 3.12.

Gtk.STYLE_CLASS_NOTEBOOK = 'notebook'

A CSS class defining a notebook.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_OSD = 'osd'

A CSS class used when rendering an OSD (On xlib.Screen xlib.Display) element, on top of another container.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_OVERSHOOT = 'overshoot'

A CSS class that is added on the visual hints that happen when scrolling is attempted past the limits of a scrollable area.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_PANE_SEPARATOR = 'pane-separator'

A CSS class for a pane separator, such as those in Gtk.Paned.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_PAPER = 'paper'

A CSS class that is added to areas that should look like paper.

This is used in print previews and themes are encouraged to style it as black text on white background.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_CLASS_POPOVER = 'popover'

A CSS class that matches popovers.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_POPUP = 'popup'

A CSS class that is added to the toplevel windows used for menus.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_PRIMARY_TOOLBAR = 'primary-toolbar'

A CSS class to match primary toolbars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_PROGRESSBAR = 'progressbar'

A CSS class to use when rendering activity as a progressbar.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_PULSE = 'pulse'

A CSS class to use when rendering a pulse in an indeterminate progress bar.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_QUESTION = 'question'

A CSS class for an area displaying a question to the user, such as those in infobars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_RADIO = 'radio'

A CSS class to match radio buttons.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_RAISED = 'raised'

A CSS class to match a raised control, such as a raised button on a toolbar.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_READ_ONLY = 'read-only'

A CSS class used to indicate a read-only state.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_RIGHT = 'right'

A CSS class to indicate an area at the right of a widget.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_RUBBERBAND = 'rubberband'

A CSS class to match the rubberband selection rectangle.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SCALE = 'scale'

A CSS class to match scale widgets.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SCALE_HAS_MARKS_ABOVE = 'scale-has-marks-above'

A CSS class to match scale widgets with marks attached, all the marks are above for horizontal Gtk.Scale. left for vertical Gtk.Scale.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SCALE_HAS_MARKS_BELOW = 'scale-has-marks-below'

A CSS class to match scale widgets with marks attached, all the marks are below for horizontal Gtk.Scale, right for vertical Gtk.Scale.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SCROLLBAR = 'scrollbar'

A CSS class to match scrollbars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SCROLLBARS_JUNCTION = 'scrollbars-junction'

A CSS class to match the junction area between an horizontal and vertical scrollbar, when they’re both shown.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SEPARATOR = 'separator'

A CSS class for a separator.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SIDEBAR = 'sidebar'

A CSS class defining a sidebar, such as the left side in a file chooser.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SLIDER = 'slider'

A CSS class to match sliders.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SPINBUTTON = 'spinbutton'

A CSS class defining an spinbutton.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_SPINNER = 'spinner'

A CSS class to use when rendering activity as a “spinner”.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_STATUSBAR = 'statusbar'

A CSS class to match statusbars.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_CLASS_SUBTITLE = 'subtitle'

A CSS class used for the subtitle label in a titlebar in a toplevel window.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_SUGGESTED_ACTION = 'suggested-action'

A CSS class used when an action (usually a button) is the primary suggested action in a specific context.

Refer to individual widget documentation for used style classes.

New in version 3.12.

Gtk.STYLE_CLASS_TITLE = 'title'

A CSS class used for the title label in a titlebar in a toplevel window.

Refer to individual widget documentation for used style classes.

New in version 3.14.

Gtk.STYLE_CLASS_TITLEBAR = 'titlebar'

A CSS class used when rendering a titlebar in a toplevel window.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_TOOLBAR = 'toolbar'

A CSS class to match toolbars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_TOOLTIP = 'tooltip'

A CSS class to match tooltip windows.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_TOP = 'top'

A CSS class to indicate an area at the top of a widget.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_TOUCH_SELECTION = 'touch-selection'

A CSS class for touch selection popups on entries and text views.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_CLASS_TROUGH = 'trough'

A CSS class to match troughs, as in scrollbars and progressbars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_UNDERSHOOT = 'undershoot'

A CSS class that is added on the visual hints that happen where content is ‘scrolled off’ and can be made visible by scrolling.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_CLASS_VERTICAL = 'vertical'

A CSS class for vertically layered widgets.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_VIEW = 'view'

A CSS class defining a view, such as iconviews or treeviews.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_WARNING = 'warning'

A CSS class for an area displaying a warning message, such as those in infobars.

Refer to individual widget documentation for used style classes.

Gtk.STYLE_CLASS_WIDE = 'wide'

A CSS class to indicate that a UI element should be ‘wide’. Used by Gtk.Paned.

Refer to individual widget documentation for used style classes.

New in version 3.16.

Gtk.STYLE_PROPERTY_BACKGROUND_COLOR = 'background-color'

A property holding the background color of rendered elements as a Gdk.RGBA.

Gtk.STYLE_PROPERTY_BACKGROUND_IMAGE = 'background-image'

A property holding the element’s background as a cairo.Pattern.

Gtk.STYLE_PROPERTY_BORDER_COLOR = 'border-color'

A property holding the element’s border color as a Gdk.RGBA.

Gtk.STYLE_PROPERTY_BORDER_RADIUS = 'border-radius'

A property holding the rendered element’s border radius in pixels as a int.

Gtk.STYLE_PROPERTY_BORDER_STYLE = 'border-style'

A property holding the element’s border style as a Gtk.BorderStyle.

Gtk.STYLE_PROPERTY_BORDER_WIDTH = 'border-width'

A property holding the rendered element’s border width in pixels as a Gtk.Border. The border is the intermediary spacing property of the padding/border/margin series.

Gtk.render_frame() uses this property to find out the frame line width, so Gtk.Widgets rendering frames may need to add up this padding when requesting size

Gtk.STYLE_PROPERTY_COLOR = 'color'

A property holding the foreground color of rendered elements as a Gdk.RGBA.

Gtk.STYLE_PROPERTY_FONT = 'font'

A property holding the font properties used when rendering text as a Pango.FontDescription.

Gtk.STYLE_PROPERTY_MARGIN = 'margin'

A property holding the rendered element’s margin as a Gtk.Border. The margin is defined as the spacing between the border of the element and its surrounding elements. It is external to Gtk.Widget's size allocations, and the most external spacing property of the padding/border/margin series.

Gtk.STYLE_PROPERTY_PADDING = 'padding'

A property holding the rendered element’s padding as a Gtk.Border. The padding is defined as the spacing between the inner part of the element border and its child. It’s the innermost spacing property of the padding/border/margin series.

Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION = 600

A priority that can be used when adding a Gtk.StyleProvider for application-specific style information.

Gtk.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.

Gtk.STYLE_PROVIDER_PRIORITY_SETTINGS = 400

The priority used for style information provided via Gtk.Settings.

This priority is higher than Gtk.STYLE_PROVIDER_PRIORITY_THEME to let settings override themes.

Gtk.STYLE_PROVIDER_PRIORITY_THEME = 200

The priority used for style information provided by themes.

Gtk.STYLE_PROVIDER_PRIORITY_USER = 800

The priority used for the style information from XDG_CONFIG_HOME/gtk-3.0/gtk.css.

You should not use priorities higher than this, to give the user the last word.

Gtk.STYLE_REGION_COLUMN = 'column'

A widget region name to define a treeview column.

Deprecated since version 3.20: Don’t use regions.

Gtk.STYLE_REGION_COLUMN_HEADER = 'column-header'

A widget region name to define a treeview column header.

Deprecated since version 3.20: Don’t use regions.

Gtk.STYLE_REGION_ROW = 'row'

A widget region name to define a treeview row.

Deprecated since version 3.20: Don’t use regions.

Gtk.STYLE_REGION_TAB = 'tab'

A widget region name to define a notebook tab.

Deprecated since version 3.20: Don’t use regions.

Gtk.TEXT_VIEW_PRIORITY_VALIDATE = 125

The priority at which the text view validates onscreen lines in an idle job in the background.

Gtk.TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = -1

The Gtk.TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID can be used to make a Gtk.TreeSortable use the default sort function.

See also Gtk.TreeSortable.set_sort_column_id()

Gtk.TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = -2

The Gtk.TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID can be used to make a Gtk.TreeSortable use no sorting.

See also Gtk.TreeSortable.set_sort_column_id()