package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Ocgtk_gtk.Gtk_enums

type accessibleannouncementpriority = [
  1. | `LOW
  2. | `MEDIUM
  3. | `HIGH
]
val accessibleannouncementpriority_of_int : int -> accessibleannouncementpriority
val accessibleannouncementpriority_to_int : accessibleannouncementpriority -> int
type accessibleautocomplete = [
  1. | `NONE
    (*

    When a user is providing input, text suggesting one way to complete the provided input may be dynamically inserted after the caret.

    *)
  2. | `INLINE
    (*

    When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed.

    *)
  3. | `LIST
    (*

    When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed. If displayed, one value in the collection is automatically selected, and the text needed to complete the automatically selected value appears after the caret in the input.

    *)
  4. | `BOTH
]
val accessibleautocomplete_of_int : int -> accessibleautocomplete
val accessibleautocomplete_to_int : accessibleautocomplete -> int
type accessibleinvalidstate = [
  1. | `FALSE
    (*

    The value entered by the user has failed validation

    *)
  2. | `TRUE
    (*

    A grammatical error was detected

    *)
  3. | `GRAMMAR
    (*

    A spelling error was detected

    *)
  4. | `SPELLING
]
val accessibleinvalidstate_of_int : int -> accessibleinvalidstate
val accessibleinvalidstate_to_int : accessibleinvalidstate -> int
type accessibleplatformstate = [
  1. | `FOCUSABLE
    (*

    whether the accessible has focus

    *)
  2. | `FOCUSED
    (*

    whether the accessible is active

    *)
  3. | `ACTIVE
]
val accessibleplatformstate_of_int : int -> accessibleplatformstate
val accessibleplatformstate_to_int : accessibleplatformstate -> int
type accessibleproperty = [
  1. | `AUTOCOMPLETE
    (*

    Defines a string value that describes or annotates the current element. Value type: string

    *)
  2. | `DESCRIPTION
    (*

    Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

    *)
  3. | `HAS_POPUP
    (*

    Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. Value type: string

    *)
  4. | `KEY_SHORTCUTS
    (*

    Defines a string value that labels the current element. Value type: string

    *)
  5. | `LABEL
    (*

    Defines the hierarchical level of an element within a structure. Value type: integer

    *)
  6. | `LEVEL
    (*

    Indicates whether an element is modal when displayed. Value type: boolean

    *)
  7. | `MODAL
    (*

    Indicates whether a text box accepts multiple lines of input or only a single line. Value type: boolean

    *)
  8. | `MULTI_LINE
    (*

    Indicates that the user may select more than one item from the current selectable descendants. Value type: boolean

    *)
  9. | `MULTI_SELECTABLE
    (*

    Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. Value type: enum@Orientation

    *)
  10. | `ORIENTATION
    (*

    Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. Value type: string

    *)
  11. | `PLACEHOLDER
    (*

    Indicates that the element is not editable, but is otherwise operable. Value type: boolean

    *)
  12. | `READ_ONLY
    (*

    Indicates that user input is required on the element before a form may be submitted. Value type: boolean

    *)
  13. | `REQUIRED
    (*

    Defines a human-readable, author-localized description for the role of an element. Value type: string

    *)
  14. | `ROLE_DESCRIPTION
    (*

    Indicates if items in a table or grid are sorted in ascending or descending order. Value type: enum@AccessibleSort

    *)
  15. | `SORT
    (*

    Defines the maximum allowed value for a range widget. Value type: double

    *)
  16. | `VALUE_MAX
    (*

    Defines the minimum allowed value for a range widget. Value type: double

    *)
  17. | `VALUE_MIN
    (*

    Defines the current value for a range widget. Value type: double

    *)
  18. | `VALUE_NOW
    (*

    Defines the human readable text alternative of aria-valuenow for a range widget. Value type: string

    *)
  19. | `VALUE_TEXT
]
val accessibleproperty_of_int : int -> accessibleproperty
val accessibleproperty_to_int : accessibleproperty -> int
type accessiblerelation = [
  1. | `ACTIVE_DESCENDANT
    (*

    Defines the total number of columns in a table, grid, or treegrid. Value type: integer

    *)
  2. | `COL_COUNT
    (*

    Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. Value type: integer

    *)
  3. | `COL_INDEX
    (*

    Defines a human readable text alternative of %GTK_ACCESSIBLE_RELATION_COL_INDEX. Value type: string

    *)
  4. | `COL_INDEX_TEXT
    (*

    Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer

    *)
  5. | `COL_SPAN
    (*

    Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference

    *)
  6. | `CONTROLS
    (*

    Identifies the element (or elements) that describes the object. Value type: reference

    *)
  7. | `DESCRIBED_BY
    (*

    Identifies the element (or elements) that provide additional information related to the object. Value type: reference

    *)
  8. | `DETAILS
    (*

    Identifies the element that provides an error message for an object. Value type: reference

    *)
  9. | `ERROR_MESSAGE
    (*

    Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference

    *)
  10. | `FLOW_TO
    (*

    Identifies the element (or elements) that labels the current element. Value type: reference

    *)
  11. | `LABELLED_BY
    (*

    Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship. Value type: reference

    *)
  12. | `OWNS
    (*

    Defines an element's number or position in the current set of listitems or treeitems. Value type: integer

    *)
  13. | `POS_IN_SET
    (*

    Defines the total number of rows in a table, grid, or treegrid. Value type: integer

    *)
  14. | `ROW_COUNT
    (*

    Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. Value type: integer

    *)
  15. | `ROW_INDEX
    (*

    Defines a human readable text alternative of aria-rowindex. Value type: string

    *)
  16. | `ROW_INDEX_TEXT
    (*

    Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer

    *)
  17. | `ROW_SPAN
    (*

    Defines the number of items in the current set of listitems or treeitems. Value type: integer

    *)
  18. | `SET_SIZE
]
val accessiblerelation_of_int : int -> accessiblerelation
val accessiblerelation_to_int : accessiblerelation -> int
type accessiblerole = [
  1. | `ALERT
    (*

    A type of dialog that contains an alert message

    *)
  2. | `ALERT_DIALOG
    (*

    Unused

    *)
  3. | `BANNER
    (*

    An input element that allows for user-triggered actions when clicked or pressed

    *)
  4. | `BUTTON
    (*

    Unused

    *)
  5. | `CAPTION
    (*

    Unused

    *)
  6. | `CELL
    (*

    A checkable input element that has three possible values: `true`, `false`, or `mixed`

    *)
  7. | `CHECKBOX
    (*

    A header in a columned list.

    *)
  8. | `COLUMN_HEADER
    (*

    An input that controls another element, such as a list or a grid, that can dynamically pop up to help the user set the value of the input

    *)
  9. | `COMBO_BOX
    (*

    Abstract role.

    *)
  10. | `COMMAND
    (*

    Abstract role.

    *)
  11. | `COMPOSITE
    (*

    A dialog is a window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.

    *)
  12. | `DIALOG
    (*

    Content that assistive technology users may want to browse in a reading mode.

    *)
  13. | `DOCUMENT
    (*

    Unused

    *)
  14. | `FEED
    (*

    Unused

    *)
  15. | `FORM
    (*

    A nameless container that has no semantic meaning of its own. This is the role that GTK uses by default for widgets.

    *)
  16. | `GENERIC
    (*

    A grid of items.

    *)
  17. | `GRID
    (*

    An item in a grid or tree grid.

    *)
  18. | `GRID_CELL
    (*

    An element that groups multiple related widgets. GTK uses this role for various containers, like class@Gtk.HeaderBar or class@Gtk.Notebook.

    *)
  19. | `GROUP
    (*

    Unused

    *)
  20. | `HEADING
    (*

    An image.

    *)
  21. | `IMG
    (*

    Abstract role.

    *)
  22. | `INPUT
    (*

    A visible name or caption for a user interface component.

    *)
  23. | `LABEL
    (*

    Abstract role.

    *)
  24. | `LANDMARK
    (*

    Unused

    *)
  25. | `LEGEND
    (*

    A clickable link.

    *)
  26. | `LIST
    (*

    Unused.

    *)
  27. | `LIST_BOX
    (*

    An item in a list.

    *)
  28. | `LIST_ITEM
    (*

    Unused

    *)
  29. | `LOG
    (*

    Unused

    *)
  30. | `MAIN
    (*

    Unused

    *)
  31. | `MARQUEE
    (*

    Unused

    *)
  32. | `MATH
    (*

    An element that represents a value within a known range.

    *)
  33. | `METER
    (*

    A menu.

    *)
  34. | `MENU
    (*

    A menubar.

    *)
  35. | `MENU_BAR
    (*

    An item in a menu.

    *)
  36. | `MENU_ITEM
    (*

    A check item in a menu.

    *)
  37. | `MENU_ITEM_CHECKBOX
    (*

    A radio item in a menu.

    *)
  38. | `MENU_ITEM_RADIO
    (*

    Unused

    *)
  39. | `NAVIGATION
    (*

    An element that is not represented to accessibility technologies. This role is synonymous to @GTK_ACCESSIBLE_ROLE_PRESENTATION.

    *)
  40. | `NONE
    (*

    Unused

    *)
  41. | `NOTE
    (*

    Unused

    *)
  42. | `OPTION
    (*

    An element that is not represented to accessibility technologies. This role is synonymous to @GTK_ACCESSIBLE_ROLE_NONE.

    *)
  43. | `PRESENTATION
    (*

    An element that displays the progress status for tasks that take a long time.

    *)
  44. | `PROGRESS_BAR
    (*

    A checkable input in a group of radio roles, only one of which can be checked at a time.

    *)
  45. | `RADIO
    (*

    Unused

    *)
  46. | `RADIO_GROUP
    (*

    Abstract role.

    *)
  47. | `RANGE
    (*

    Unused

    *)
  48. | `REGION
    (*

    A row in a columned list.

    *)
  49. | `ROW
    (*

    Unused

    *)
  50. | `ROW_GROUP
    (*

    Unused

    *)
  51. | `ROW_HEADER
    (*

    A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.

    *)
  52. | `SCROLLBAR
    (*

    Unused

    *)
  53. | `SEARCH
    (*

    A type of textbox intended for specifying search criteria.

    *)
  54. | `SEARCH_BOX
    (*

    Abstract role.

    *)
  55. | `SECTION
    (*

    Abstract role.

    *)
  56. | `SECTION_HEAD
    (*

    Abstract role.

    *)
  57. | `SELECT
    (*

    A divider that separates and distinguishes sections of content or groups of menuitems.

    *)
  58. | `SEPARATOR
    (*

    A user input where the user selects a value from within a given range.

    *)
  59. | `SLIDER
    (*

    A form of range that expects the user to select from among discrete choices.

    *)
  60. | `SPIN_BUTTON
    (*

    Unused

    *)
  61. | `STATUS
    (*

    Abstract role.

    *)
  62. | `STRUCTURE
    (*

    A type of checkbox that represents on/off values, as opposed to checked/unchecked values.

    *)
  63. | `SWITCH
    (*

    An item in a list of tab used for switching pages.

    *)
  64. | `TAB
    (*

    Unused

    *)
  65. | `TABLE
    (*

    A list of tabs for switching pages.

    *)
  66. | `TAB_LIST
    (*

    A page in a notebook or stack.

    *)
  67. | `TAB_PANEL
    (*

    A type of input that allows free-form text as its value.

    *)
  68. | `TEXT_BOX
    (*

    Unused

    *)
  69. | `TIME
    (*

    Unused

    *)
  70. | `TIMER
    (*

    Unused

    *)
  71. | `TOOLBAR
    (*

    Unused

    *)
  72. | `TOOLTIP
    (*

    Unused

    *)
  73. | `TREE
    (*

    A treeview-like, columned list.

    *)
  74. | `TREE_GRID
    (*

    Unused

    *)
  75. | `TREE_ITEM
    (*

    Abstract role for interactive components of a graphical user interface

    *)
  76. | `WIDGET
    (*

    Abstract role for windows.

    *)
  77. | `WINDOW
    (*

    A type of push button which stays pressed until depressed by a second activation.

    *)
  78. | `TOGGLE_BUTTON
    (*

    A toplevel element of a graphical user interface.

    This is the role that GTK uses by default for windows.

    *)
  79. | `APPLICATION
    (*

    A paragraph of content.

    *)
  80. | `PARAGRAPH
    (*

    A section of content that is quoted from another source.

    *)
  81. | `BLOCK_QUOTE
    (*

    A section of a page that consists of a composition that forms an independent part of a document, page, or site.

    *)
  82. | `ARTICLE
    (*

    A comment contains content expressing reaction to other content.

    *)
  83. | `COMMENT
    (*

    A virtual terminal.

    *)
  84. | `TERMINAL
]
val accessiblerole_of_int : int -> accessiblerole
val accessiblerole_to_int : accessiblerole -> int
type accessiblesort = [
  1. | `NONE
    (*

    Items are sorted in ascending order by this column.

    *)
  2. | `ASCENDING
    (*

    Items are sorted in descending order by this column.

    *)
  3. | `DESCENDING
    (*

    A sort algorithm other than ascending or descending has been applied.

    *)
  4. | `OTHER
]
val accessiblesort_of_int : int -> accessiblesort
val accessiblesort_to_int : accessiblesort -> int
type accessiblestate = [
  1. | `BUSY
    (*

    A “checked” state; indicates the current state of a class@CheckButton. Value type: enum@AccessibleTristate

    *)
  2. | `CHECKED
    (*

    A “disabled” state; corresponds to the property@Widget:sensitive property. It indicates a UI element that is perceivable, but not editable or operable. Value type: boolean

    *)
  3. | `DISABLED
    (*

    An “expanded” state; corresponds to the property@Expander:expanded property. Value type: boolean or undefined

    *)
  4. | `EXPANDED
    (*

    A “hidden” state; corresponds to the property@Widget:visible property. You can use this state explicitly on UI elements that should not be exposed to an assistive technology. Value type: boolean See also: %GTK_ACCESSIBLE_STATE_DISABLED

    *)
  5. | `HIDDEN
    (*

    An “invalid” state; set when a widget is showing an error. Value type: enum@AccessibleInvalidState

    *)
  6. | `INVALID
    (*

    A “pressed” state; indicates the current state of a class@ToggleButton. Value type: enum@AccessibleTristate enumeration

    *)
  7. | `PRESSED
    (*

    A “selected” state; set when a widget is selected. Value type: boolean or undefined

    *)
  8. | `SELECTED
    (*

    Indicates that a widget with the GTK_ACCESSIBLE_ROLE_LINK has been visited. Value type: boolean.

    *)
  9. | `VISITED
]
val accessiblestate_of_int : int -> accessiblestate
val accessiblestate_to_int : accessiblestate -> int
type accessibletextcontentchange = [
  1. | `INSERT
    (*

    contents change as the result of a remove operation

    *)
  2. | `REMOVE
]
val accessibletextcontentchange_of_int : int -> accessibletextcontentchange
val accessibletextcontentchange_to_int : accessibletextcontentchange -> int
type accessibletextgranularity = [
  1. | `CHARACTER
    (*

    Use the boundary between words, starting from the beginning of the current word and ending at the beginning of the next word

    *)
  2. | `WORD
    (*

    Use the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentence

    *)
  3. | `SENTENCE
    (*

    Use the boundary between lines, starting from the beginning of the current line and ending at the beginning of the next line

    *)
  4. | `LINE
    (*

    Use the boundary between paragraphs, starting from the beginning of the current paragraph and ending at the beginning of the next paragraph

    *)
  5. | `PARAGRAPH
]
val accessibletextgranularity_of_int : int -> accessibletextgranularity
val accessibletextgranularity_to_int : accessibletextgranularity -> int
type accessibletristate = [
  1. | `FALSE
    (*

    The state is `true`

    *)
  2. | `TRUE
    (*

    The state is `mixed`

    *)
  3. | `MIXED
]
val accessibletristate_of_int : int -> accessibletristate
val accessibletristate_to_int : accessibletristate -> int
type align = [
  1. | `FILL
    (*

    snap to left or top side, leaving space on right or bottom

    *)
  2. | `START
    (*

    snap to right or bottom side, leaving space on left or top

    *)
  3. | `END
    (*

    center natural width of widget inside the allocation

    *)
  4. | `CENTER
    (*

    a different name for `GTK_ALIGN_BASELINE`.

    *)
  5. | `BASELINE_FILL
    (*

    align the widget according to the baseline.

    *)
  6. | `BASELINE
    (*

    stretch to fill all space, but align the baseline.

    *)
  7. | `BASELINE_CENTER
]
val align_of_int : int -> align
val align_to_int : align -> int
type arrowtype = [
  1. | `UP
    (*

    Represents a downward pointing arrow.

    *)
  2. | `DOWN
    (*

    Represents a left pointing arrow.

    *)
  3. | `LEFT
    (*

    Represents a right pointing arrow.

    *)
  4. | `RIGHT
    (*

    No arrow.

    *)
  5. | `NONE
]
val arrowtype_of_int : int -> arrowtype
val arrowtype_to_int : arrowtype -> int
type assistantpagetype = [
  1. | `CONTENT
    (*

    The page contains an introduction to the assistant task. Only the Forward button will be shown if there is a next page.

    *)
  2. | `INTRO
    (*

    The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown.

    *)
  3. | `CONFIRM
    (*

    The page informs the user of the changes done. Only the Close button will be shown.

    *)
  4. | `SUMMARY
    (*

    Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete. Only the back button will be shown.

    *)
  5. | `PROGRESS
    (*

    Used for when other page types are not appropriate. No buttons will be shown, and the application must add its own buttons through gtk_assistant_add_action_widget().

    *)
  6. | `CUSTOM
]
val assistantpagetype_of_int : int -> assistantpagetype
val assistantpagetype_to_int : assistantpagetype -> int
type baselineposition = [
  1. | `TOP
    (*

    Center the baseline

    *)
  2. | `CENTER
    (*

    Align the baseline at the bottom

    *)
  3. | `BOTTOM
]
val baselineposition_of_int : int -> baselineposition
val baselineposition_to_int : baselineposition -> int
type borderstyle = [
  1. | `NONE
    (*

    Same as %GTK_BORDER_STYLE_NONE

    *)
  2. | `HIDDEN
    (*

    A single line segment

    *)
  3. | `SOLID
    (*

    Looks as if the content is sunken into the canvas

    *)
  4. | `INSET
    (*

    Looks as if the content is coming out of the canvas

    *)
  5. | `OUTSET
    (*

    A series of round dots

    *)
  6. | `DOTTED
    (*

    A series of square-ended dashes

    *)
  7. | `DASHED
    (*

    Two parallel lines with some space between them

    *)
  8. | `DOUBLE
    (*

    Looks as if it were carved in the canvas

    *)
  9. | `GROOVE
    (*

    Looks as if it were coming out of the canvas

    *)
  10. | `RIDGE
]
val borderstyle_of_int : int -> borderstyle
val borderstyle_to_int : borderstyle -> int
type buildererror = [
  1. | `INVALID_TYPE_FUNCTION
    (*

    The input contained a tag that `GtkBuilder` can’t handle.

    *)
  2. | `UNHANDLED_TAG
    (*

    An attribute that is required by `GtkBuilder` was missing.

    *)
  3. | `MISSING_ATTRIBUTE
    (*

    `GtkBuilder` found an attribute that it doesn’t understand.

    *)
  4. | `INVALID_ATTRIBUTE
    (*

    `GtkBuilder` found a tag that it doesn’t understand.

    *)
  5. | `INVALID_TAG
    (*

    A required property value was missing.

    *)
  6. | `MISSING_PROPERTY_VALUE
    (*

    `GtkBuilder` couldn’t parse some attribute value.

    *)
  7. | `INVALID_VALUE
    (*

    The input file requires a newer version of GTK.

    *)
  8. | `VERSION_MISMATCH
    (*

    An object id occurred twice.

    *)
  9. | `DUPLICATE_ID
    (*

    A specified object type is of the same type or derived from the type of the composite class being extended with builder XML.

    *)
  10. | `OBJECT_TYPE_REFUSED
    (*

    The wrong type was specified in a composite class’s template XML

    *)
  11. | `TEMPLATE_MISMATCH
    (*

    The specified property is unknown for the object class.

    *)
  12. | `INVALID_PROPERTY
    (*

    The specified signal is unknown for the object class.

    *)
  13. | `INVALID_SIGNAL
    (*

    An object id is unknown.

    *)
  14. | `INVALID_ID
    (*

    A function could not be found. This often happens when symbols are set to be kept private. Compiling code with -rdynamic or using the `gmodule-export-2.0` pkgconfig module can fix this problem.

    *)
  15. | `INVALID_FUNCTION
]
val buildererror_of_int : int -> buildererror
val buildererror_to_int : buildererror -> int
type buttonstype = [
  1. | `NONE
    (*

    an OK button

    *)
  2. | `OK
    (*

    a Close button

    *)
  3. | `CLOSE
    (*

    a Cancel button

    *)
  4. | `CANCEL
    (*

    Yes and No buttons

    *)
  5. | `YES_NO
    (*

    OK and Cancel buttons

    *)
  6. | `OK_CANCEL
]
val buttonstype_of_int : int -> buttonstype
val buttonstype_to_int : buttonstype -> int
type cellrendereraccelmode = [
  1. | `GTK
    (*

    Other accelerator mode

    *)
  2. | `OTHER
]
val cellrendereraccelmode_of_int : int -> cellrendereraccelmode
val cellrendereraccelmode_to_int : cellrendereraccelmode -> int
type cellrenderermode = [
  1. | `INERT
    (*

    The cell can be clicked.

    *)
  2. | `ACTIVATABLE
    (*

    The cell can be edited or otherwise modified.

    *)
  3. | `EDITABLE
]
val cellrenderermode_of_int : int -> cellrenderermode
val cellrenderermode_to_int : cellrenderermode -> int
type collation = [
  1. | `NONE
    (*

    Use func@GLib.utf8_collate_key

    *)
  2. | `UNICODE
    (*

    Use func@GLib.utf8_collate_key_for_filename

    *)
  3. | `FILENAME
]
val collation_of_int : int -> collation
val collation_to_int : collation -> int
type constraintattribute = [
  1. | `NONE
    (*

    The left edge of a widget, regardless of text direction

    *)
  2. | `LEFT
    (*

    The right edge of a widget, regardless of text direction

    *)
  3. | `RIGHT
    (*

    The top edge of a widget

    *)
  4. | `TOP
    (*

    The bottom edge of a widget

    *)
  5. | `BOTTOM
    (*

    The leading edge of a widget, depending on text direction; equivalent to %GTK_CONSTRAINT_ATTRIBUTE_LEFT for LTR languages, and %GTK_CONSTRAINT_ATTRIBUTE_RIGHT for RTL ones

    *)
  6. | `START
    (*

    The trailing edge of a widget, depending on text direction; equivalent to %GTK_CONSTRAINT_ATTRIBUTE_RIGHT for LTR languages, and %GTK_CONSTRAINT_ATTRIBUTE_LEFT for RTL ones

    *)
  7. | `END
    (*

    The width of a widget

    *)
  8. | `WIDTH
    (*

    The height of a widget

    *)
  9. | `HEIGHT
    (*

    The center of a widget, on the horizontal axis

    *)
  10. | `CENTER_X
    (*

    The center of a widget, on the vertical axis

    *)
  11. | `CENTER_Y
    (*

    The baseline of a widget

    *)
  12. | `BASELINE
]
val constraintattribute_of_int : int -> constraintattribute
val constraintattribute_to_int : constraintattribute -> int
type constraintrelation = [
  1. | `LE
    (*

    Equal

    *)
  2. | `EQ
    (*

    Greater than, or equal

    *)
  3. | `GE
]
val constraintrelation_of_int : int -> constraintrelation
val constraintrelation_to_int : constraintrelation -> int
type constraintstrength = [
  1. | `REQUIRED
    (*

    A strong constraint

    *)
  2. | `STRONG
    (*

    A medium constraint

    *)
  3. | `MEDIUM
    (*

    A weak constraint

    *)
  4. | `WEAK
]
val constraintstrength_of_int : int -> constraintstrength
val constraintstrength_to_int : constraintstrength -> int
type constraintvflparsererror = [
  1. | `SYMBOL
    (*

    Invalid or unknown attribute

    *)
  2. | `ATTRIBUTE
    (*

    Invalid or unknown view

    *)
  3. | `VIEW
    (*

    Invalid or unknown metric

    *)
  4. | `METRIC
    (*

    Invalid or unknown priority

    *)
  5. | `PRIORITY
    (*

    Invalid or unknown relation

    *)
  6. | `RELATION
]
val constraintvflparsererror_of_int : int -> constraintvflparsererror
val constraintvflparsererror_to_int : constraintvflparsererror -> int
type contentfit = [
  1. | `FILL
    (*

    Scale the content to fit the allocation, while taking its aspect ratio in consideration. The resulting content will appear as letterboxed if its aspect ratio is different from the allocation aspect ratio.

    *)
  2. | `CONTAIN
    (*

    Cover the entire allocation, while taking the content aspect ratio in consideration. The resulting content will appear as clipped if its aspect ratio is different from the allocation aspect ratio.

    *)
  3. | `COVER
    (*

    The content is scaled down to fit the allocation, if needed, otherwise its original size is used.

    *)
  4. | `SCALE_DOWN
]
val contentfit_of_int : int -> contentfit
val contentfit_to_int : contentfit -> int
type cornertype = [
  1. | `TOP_LEFT
    (*

    Place the scrollbars on the top and right of the widget.

    *)
  2. | `BOTTOM_LEFT
    (*

    Place the scrollbars on the left and bottom of the widget.

    *)
  3. | `TOP_RIGHT
    (*

    Place the scrollbars on the top and left of the widget.

    *)
  4. | `BOTTOM_RIGHT
]
val cornertype_of_int : int -> cornertype
val cornertype_to_int : cornertype -> int
type cssparsererror = [
  1. | `FAILED
    (*

    The given text does not form valid syntax

    *)
  2. | `SYNTAX
    (*

    Failed to import a resource

    *)
  3. | `IMPORT
    (*

    The given name has not been defined

    *)
  4. | `NAME
    (*

    The given value is not correct

    *)
  5. | `UNKNOWN_VALUE
]
val cssparsererror_of_int : int -> cssparsererror
val cssparsererror_to_int : cssparsererror -> int
type cssparserwarning = [
  1. | `DEPRECATED
    (*

    A syntax construct was used that should be avoided

    *)
  2. | `SYNTAX
    (*

    A feature is not implemented

    *)
  3. | `UNIMPLEMENTED
]
val cssparserwarning_of_int : int -> cssparserwarning
val cssparserwarning_to_int : cssparserwarning -> int
type deletetype = [
  1. | `CHARS
    (*

    Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.

    *)
  2. | `WORD_ENDS
    (*

    Delete words.

    *)
  3. | `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.

    *)
  4. | `DISPLAY_LINES
    (*

    Delete only the portion of the display-line to the left/right of cursor.

    *)
  5. | `DISPLAY_LINE_ENDS
    (*

    Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).

    *)
  6. | `PARAGRAPH_ENDS
    (*

    Delete entire line. Like C-k in pico.

    *)
  7. | `PARAGRAPHS
    (*

    Delete only whitespace. Like M-\ in Emacs.

    *)
  8. | `WHITESPACE
]
val deletetype_of_int : int -> deletetype
val deletetype_to_int : deletetype -> int
type dialogerror = [
  1. | `FAILED
    (*

    The async function call was cancelled via its `GCancellable`

    *)
  2. | `CANCELLED
    (*

    The operation was cancelled by the user (via a Cancel or Close button)

    *)
  3. | `DISMISSED
]
val dialogerror_of_int : int -> dialogerror
val dialogerror_to_int : dialogerror -> int
type directiontype = [
  1. | `TAB_FORWARD
    (*

    Move backward.

    *)
  2. | `TAB_BACKWARD
    (*

    Move up.

    *)
  3. | `UP
    (*

    Move down.

    *)
  4. | `DOWN
    (*

    Move left.

    *)
  5. | `LEFT
    (*

    Move right.

    *)
  6. | `RIGHT
]
val directiontype_of_int : int -> directiontype
val directiontype_to_int : directiontype -> int
type editableproperties = [
  1. | `PROP_TEXT
    (*

    the property id for property@Gtk.Editable:cursor-position

    *)
  2. | `PROP_CURSOR_POSITION
    (*

    the property id for property@Gtk.Editable:selection-bound

    *)
  3. | `PROP_SELECTION_BOUND
    (*

    the property id for property@Gtk.Editable:editable

    *)
  4. | `PROP_EDITABLE
    (*

    the property id for property@Gtk.Editable:width-chars

    *)
  5. | `PROP_WIDTH_CHARS
    (*

    the property id for property@Gtk.Editable:max-width-chars

    *)
  6. | `PROP_MAX_WIDTH_CHARS
    (*

    the property id for property@Gtk.Editable:xalign

    *)
  7. | `PROP_XALIGN
    (*

    the property id for property@Gtk.Editable:enable-undo

    *)
  8. | `PROP_ENABLE_UNDO
    (*

    the number of properties

    *)
  9. | `NUM_PROPERTIES
]
val editableproperties_of_int : int -> editableproperties
val editableproperties_to_int : editableproperties -> int
type entryiconposition = [
  1. | `PRIMARY
    (*

    At the end of the entry (depending on the text direction).

    *)
  2. | `SECONDARY
]
val entryiconposition_of_int : int -> entryiconposition
val entryiconposition_to_int : entryiconposition -> int
type eventsequencestate = [
  1. | `NONE
    (*

    The sequence is handled and grabbed.

    *)
  2. | `CLAIMED
    (*

    The sequence is denied.

    *)
  3. | `DENIED
]
val eventsequencestate_of_int : int -> eventsequencestate
val eventsequencestate_to_int : eventsequencestate -> int
type filechooseraction = [
  1. | `OPEN
    (*

    Indicates save mode. The file chooser will let the user pick an existing file, or type in a new filename.

    *)
  2. | `SAVE
    (*

    Indicates an Open mode for selecting folders. The file chooser will let the user pick an existing folder.

    *)
  3. | `SELECT_FOLDER
]
val filechooseraction_of_int : int -> filechooseraction
val filechooseraction_to_int : filechooseraction -> int
type filechoosererror = [
  1. | `NONEXISTENT
    (*

    Indicates a malformed filename.

    *)
  2. | `BAD_FILENAME
    (*

    Indicates a duplicate path (e.g. when adding a bookmark).

    *)
  3. | `ALREADY_EXISTS
    (*

    Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).

    *)
  4. | `INCOMPLETE_HOSTNAME
]
val filechoosererror_of_int : int -> filechoosererror
val filechoosererror_to_int : filechoosererror -> int
type filterchange = [
  1. | `DIFFERENT
    (*

    The filter is less strict than it was before: All items that it used to return %TRUE for still return %TRUE, others now may, too.

    *)
  2. | `LESS_STRICT
    (*

    The filter is more strict than it was before: All items that it used to return %FALSE for still return %FALSE, others now may, too.

    *)
  3. | `MORE_STRICT
]
val filterchange_of_int : int -> filterchange
val filterchange_to_int : filterchange -> int
type filtermatch = [
  1. | `SOME
    (*

    The filter does not match any item, gtk_filter_match() will always return %FALSE.

    *)
  2. | `NONE
    (*

    The filter matches all items, gtk_filter_match() will alays return %TRUE.

    *)
  3. | `ALL
]
val filtermatch_of_int : int -> filtermatch
val filtermatch_to_int : filtermatch -> int
type fontlevel = [
  1. | `FAMILY
    (*

    Select a font face (i.e. a family and a style)

    *)
  2. | `FACE
    (*

    Select a font (i.e. a face with a size, and possibly font variations)

    *)
  3. | `FONT
    (*

    Select a font and font features

    *)
  4. | `FEATURES
]
val fontlevel_of_int : int -> fontlevel
val fontlevel_to_int : fontlevel -> int
type graphicsoffloadenabled = [
  1. | `ENABLED
    (*

    Graphics offloading is disabled.

    *)
  2. | `DISABLED
]
val graphicsoffloadenabled_of_int : int -> graphicsoffloadenabled
val graphicsoffloadenabled_to_int : graphicsoffloadenabled -> int
type iconsize = [
  1. | `INHERIT
    (*

    Size similar to text size

    *)
  2. | `NORMAL
    (*

    Large size, for example in an icon view

    *)
  3. | `LARGE
]
val iconsize_of_int : int -> iconsize
val iconsize_to_int : iconsize -> int
type iconthemeerror = [
  1. | `NOT_FOUND
    (*

    An unspecified error occurred.

    *)
  2. | `FAILED
]
val iconthemeerror_of_int : int -> iconthemeerror
val iconthemeerror_to_int : iconthemeerror -> int
type iconviewdropposition = [
  1. | `NO_DROP
    (*

    dropped item replaces the item

    *)
  2. | `DROP_INTO
    (*

    dropped item is inserted to the left

    *)
  3. | `DROP_LEFT
    (*

    dropped item is inserted to the right

    *)
  4. | `DROP_RIGHT
    (*

    dropped item is inserted above

    *)
  5. | `DROP_ABOVE
    (*

    dropped item is inserted below

    *)
  6. | `DROP_BELOW
]
val iconviewdropposition_of_int : int -> iconviewdropposition
val iconviewdropposition_to_int : iconviewdropposition -> int
type imagetype = [
  1. | `EMPTY
    (*

    the widget contains a named icon

    *)
  2. | `ICON_NAME
    (*

    the widget contains a `GIcon`

    *)
  3. | `GICON
    (*

    the widget contains a `GdkPaintable`

    *)
  4. | `PAINTABLE
]
val imagetype_of_int : int -> imagetype
val imagetype_to_int : imagetype -> int
type inputpurpose = [
  1. | `FREE_FORM
    (*

    Allow only alphabetic characters

    *)
  2. | `ALPHA
    (*

    Allow only digits

    *)
  3. | `DIGITS
    (*

    Edited field expects numbers

    *)
  4. | `NUMBER
    (*

    Edited field expects phone number

    *)
  5. | `PHONE
    (*

    Edited field expects URL

    *)
  6. | `URL
    (*

    Edited field expects email address

    *)
  7. | `EMAIL
    (*

    Edited field expects the name of a person

    *)
  8. | `NAME
    (*

    Like %GTK_INPUT_PURPOSE_FREE_FORM, but characters are hidden

    *)
  9. | `PASSWORD
    (*

    Like %GTK_INPUT_PURPOSE_DIGITS, but characters are hidden

    *)
  10. | `PIN
    (*

    Allow any character, in addition to control codes

    *)
  11. | `TERMINAL
]
val inputpurpose_of_int : int -> inputpurpose
val inputpurpose_to_int : inputpurpose -> int
type inscriptionoverflow = [
  1. | `CLIP
    (*

    Omit characters at the start of the text

    *)
  2. | `ELLIPSIZE_START
    (*

    Omit characters at the middle of the text

    *)
  3. | `ELLIPSIZE_MIDDLE
    (*

    Omit characters at the end of the text

    *)
  4. | `ELLIPSIZE_END
]
val inscriptionoverflow_of_int : int -> inscriptionoverflow
val inscriptionoverflow_to_int : inscriptionoverflow -> int
type justification = [
  1. | `LEFT
    (*

    The text is placed at the right edge of the label.

    *)
  2. | `RIGHT
    (*

    The text is placed in the center of the label.

    *)
  3. | `CENTER
    (*

    The text is placed is distributed across the label.

    *)
  4. | `FILL
]
val justification_of_int : int -> justification
val justification_to_int : justification -> int
type levelbarmode = [
  1. | `CONTINUOUS
    (*

    the bar has a discrete mode

    *)
  2. | `DISCRETE
]
val levelbarmode_of_int : int -> levelbarmode
val levelbarmode_to_int : levelbarmode -> int
type listtabbehavior = [
  1. | `ALL
    (*

    Cycle through a single list element, then move focus out of the list. Moving focus between items needs to be done with the arrow keys.

    *)
  2. | `ITEM
    (*

    Cycle only through a single cell, then move focus out of the list. Moving focus between cells needs to be done with the arrow keys. This is only relevant for cell-based widgets like #GtkColumnView, otherwise it behaves like `GTK_LIST_TAB_ITEM`.

    *)
  3. | `CELL
]
val listtabbehavior_of_int : int -> listtabbehavior
val listtabbehavior_to_int : listtabbehavior -> int
type messagetype = [
  1. | `INFO
    (*

    Non-fatal warning message

    *)
  2. | `WARNING
    (*

    Question requiring a choice

    *)
  3. | `QUESTION
    (*

    Fatal error message

    *)
  4. | `ERROR
    (*

    None of the above

    *)
  5. | `OTHER
]
val messagetype_of_int : int -> messagetype
val messagetype_to_int : messagetype -> int
type movementstep = [
  1. | `LOGICAL_POSITIONS
    (*

    Move left or right by graphemes

    *)
  2. | `VISUAL_POSITIONS
    (*

    Move forward or back by words

    *)
  3. | `WORDS
    (*

    Move up or down lines (wrapped lines)

    *)
  4. | `DISPLAY_LINES
    (*

    Move to either end of a line

    *)
  5. | `DISPLAY_LINE_ENDS
    (*

    Move up or down paragraphs (newline-ended lines)

    *)
  6. | `PARAGRAPHS
    (*

    Move to either end of a paragraph

    *)
  7. | `PARAGRAPH_ENDS
    (*

    Move by pages

    *)
  8. | `PAGES
    (*

    Move to ends of the buffer

    *)
  9. | `BUFFER_ENDS
    (*

    Move horizontally by pages

    *)
  10. | `HORIZONTAL_PAGES
]
val movementstep_of_int : int -> movementstep
val movementstep_to_int : movementstep -> int
type naturalwrapmode = [
  1. | `INHERIT
    (*

    Try not to wrap the text. This mode is the closest to GTK3's behavior but can lead to a wide label leaving lots of empty space below the text.

    *)
  2. | `NONE
    (*

    Attempt to wrap at word boundaries. This is useful in particular when using %PANGO_WRAP_WORD_CHAR as the wrap mode.

    *)
  3. | `WORD
]
val naturalwrapmode_of_int : int -> naturalwrapmode
val naturalwrapmode_to_int : naturalwrapmode -> int
type notebooktab = [
  1. | `FIRST
    (*

    the last tab in the notebook

    *)
  2. | `LAST
]
val notebooktab_of_int : int -> notebooktab
val notebooktab_to_int : notebooktab -> int
type numberuplayout = [
  1. | `LRTB
    (*

    !(layout-lrbt.png)

    *)
  2. | `LRBT
    (*

    !(layout-rltb.png)

    *)
  3. | `RLTB
    (*

    !(layout-rlbt.png)

    *)
  4. | `RLBT
    (*

    !(layout-tblr.png)

    *)
  5. | `TBLR
    (*

    !(layout-tbrl.png)

    *)
  6. | `TBRL
    (*

    !(layout-btlr.png)

    *)
  7. | `BTLR
    (*

    !(layout-btrl.png)

    *)
  8. | `BTRL
]
val numberuplayout_of_int : int -> numberuplayout
val numberuplayout_to_int : numberuplayout -> int
type ordering = [
  1. | `SMALLER
    (*

    the two values are equal

    *)
  2. | `EQUAL
    (*

    the first value is larger than the second

    *)
  3. | `LARGER
]
val ordering_of_int : int -> ordering
val ordering_to_int : ordering -> int
type orientation = [
  1. | `HORIZONTAL
    (*

    The element is in vertical orientation.

    *)
  2. | `VERTICAL
]
val orientation_of_int : int -> orientation
val orientation_to_int : orientation -> int
type overflow = [
  1. | `VISIBLE
    (*

    Content is clipped to the bounds of the area. Content outside the area is not drawn and cannot be interacted with.

    *)
  2. | `HIDDEN
]
val overflow_of_int : int -> overflow
val overflow_to_int : overflow -> int
type packtype = [
  1. | `START
    (*

    The child is packed into the end of the widget

    *)
  2. | `END
]
val packtype_of_int : int -> packtype
val packtype_to_int : packtype -> int
type padactiontype = [
  1. | `BUTTON
    (*

    Action is triggered by a pad ring

    *)
  2. | `RING
    (*

    Action is triggered by a pad strip

    *)
  3. | `STRIP
]
val padactiontype_of_int : int -> padactiontype
val padactiontype_to_int : padactiontype -> int
type pageorientation = [
  1. | `PORTRAIT
    (*

    Landscape mode.

    *)
  2. | `LANDSCAPE
    (*

    Reverse portrait mode.

    *)
  3. | `REVERSE_PORTRAIT
    (*

    Reverse landscape mode.

    *)
  4. | `REVERSE_LANDSCAPE
]
val pageorientation_of_int : int -> pageorientation
val pageorientation_to_int : pageorientation -> int
type pageset = [
  1. | `ALL
    (*

    Even pages.

    *)
  2. | `EVEN
    (*

    Odd pages.

    *)
  3. | `ODD
]
val pageset_of_int : int -> pageset
val pageset_to_int : pageset -> int
type pandirection = [
  1. | `LEFT
    (*

    panned towards the right

    *)
  2. | `RIGHT
    (*

    panned upwards

    *)
  3. | `UP
    (*

    panned downwards

    *)
  4. | `DOWN
]
val pandirection_of_int : int -> pandirection
val pandirection_to_int : pandirection -> int
type policytype = [
  1. | `ALWAYS
    (*

    The scrollbar will appear and disappear as necessary. For example, when all of a `GtkTreeView` can not be seen.

    *)
  2. | `AUTOMATIC
    (*

    The scrollbar should never appear. In this mode the content determines the size.

    *)
  3. | `NEVER
    (*

    Don't show a scrollbar, but don't force the size to follow the content. This can be used e.g. to make multiple scrolled windows share a scrollbar.

    *)
  4. | `EXTERNAL
]
val policytype_of_int : int -> policytype
val policytype_to_int : policytype -> int
type positiontype = [
  1. | `LEFT
    (*

    The feature is at the right edge.

    *)
  2. | `RIGHT
    (*

    The feature is at the top edge.

    *)
  3. | `TOP
    (*

    The feature is at the bottom edge.

    *)
  4. | `BOTTOM
]
val positiontype_of_int : int -> positiontype
val positiontype_to_int : positiontype -> int
type printduplex = [
  1. | `SIMPLEX
    (*

    Horizontal duplex.

    *)
  2. | `HORIZONTAL
    (*

    Vertical duplex.

    *)
  3. | `VERTICAL
]
val printduplex_of_int : int -> printduplex
val printduplex_to_int : printduplex -> int
type printerror = [
  1. | `GENERAL
    (*

    An internal error occurred.

    *)
  2. | `INTERNAL_ERROR
    (*

    A memory allocation failed.

    *)
  3. | `NOMEM
    (*

    An error occurred while loading a page setup or paper size from a key file.

    *)
  4. | `INVALID_FILE
]
val printerror_of_int : int -> printerror
val printerror_to_int : printerror -> int
type printoperationaction = [
  1. | `PRINT_DIALOG
    (*

    Start to print without showing the print dialog, based on the current print settings.

    *)
  2. | `PRINT
    (*

    Show the print preview.

    *)
  3. | `PREVIEW
    (*

    Export to a file. This requires the export-filename property to be set.

    *)
  4. | `EXPORT
]
val printoperationaction_of_int : int -> printoperationaction
val printoperationaction_to_int : printoperationaction -> int
type printoperationresult = [
  1. | `ERROR
    (*

    The print settings should be stored.

    *)
  2. | `APPLY
    (*

    The print operation has been canceled, the print settings should not be stored.

    *)
  3. | `CANCEL
    (*

    The print operation is not complete yet. This value will only be returned when running asynchronously.

    *)
  4. | `IN_PROGRESS
]
val printoperationresult_of_int : int -> printoperationresult
val printoperationresult_to_int : printoperationresult -> int
type printpages = [
  1. | `ALL
    (*

    Current page.

    *)
  2. | `CURRENT
    (*

    Range of pages.

    *)
  3. | `RANGES
    (*

    Selected pages.

    *)
  4. | `SELECTION
]
val printpages_of_int : int -> printpages
val printpages_to_int : printpages -> int
type printquality = [
  1. | `LOW
    (*

    Normal quality.

    *)
  2. | `NORMAL
    (*

    High quality.

    *)
  3. | `HIGH
    (*

    Draft quality.

    *)
  4. | `DRAFT
]
val printquality_of_int : int -> printquality
val printquality_to_int : printquality -> int
type printstatus = [
  1. | `INITIAL
    (*

    This status is set while the begin-print signal is emitted and during pagination.

    *)
  2. | `PREPARING
    (*

    This status is set while the pages are being rendered.

    *)
  3. | `GENERATING_DATA
    (*

    The print job is being sent off to the printer.

    *)
  4. | `SENDING_DATA
    (*

    The print job has been sent to the printer, but is not printed for some reason, e.g. the printer may be stopped.

    *)
  5. | `PENDING
    (*

    Some problem has occurred during printing, e.g. a paper jam.

    *)
  6. | `PENDING_ISSUE
    (*

    The printer is processing the print job.

    *)
  7. | `PRINTING
    (*

    The printing has been completed successfully.

    *)
  8. | `FINISHED
    (*

    The printing has been aborted.

    *)
  9. | `FINISHED_ABORTED
]
val printstatus_of_int : int -> printstatus
val printstatus_to_int : printstatus -> int
type propagationlimit = [
  1. | `NONE
    (*

    Events are only handled if their target is in the same iface@Native as the event controllers widget. Note that some event types have two targets (origin and destination).

    *)
  2. | `SAME_NATIVE
]
val propagationlimit_of_int : int -> propagationlimit
val propagationlimit_to_int : propagationlimit -> int
type propagationphase = [
  1. | `NONE
    (*

    Events are delivered in the capture phase. The capture phase happens before the bubble phase, runs from the toplevel down to the event widget. This option should only be used on containers that might possibly handle events before their children do.

    *)
  2. | `CAPTURE
    (*

    Events are delivered in the bubble phase. The bubble phase happens after the capture phase, and before the default handlers are run. This phase runs from the event widget, up to the toplevel.

    *)
  3. | `BUBBLE
    (*

    Events are delivered in the default widget event handlers, note that widget implementations must chain up on button, motion, touch and grab broken handlers for controllers in this phase to be run.

    *)
  4. | `TARGET
]
val propagationphase_of_int : int -> propagationphase
val propagationphase_to_int : propagationphase -> int
type recentmanagererror = [
  1. | `NOT_FOUND
    (*

    the URI specified is not valid.

    *)
  2. | `INVALID_URI
    (*

    the supplied string is not UTF-8 encoded.

    *)
  3. | `INVALID_ENCODING
    (*

    no application has registered the specified item.

    *)
  4. | `NOT_REGISTERED
    (*

    failure while reading the recently used resources file.

    *)
  5. | `READ
    (*

    failure while writing the recently used resources file.

    *)
  6. | `WRITE
    (*

    unspecified error.

    *)
  7. | `UNKNOWN
]
val recentmanagererror_of_int : int -> recentmanagererror
val recentmanagererror_to_int : recentmanagererror -> int
type responsetype = [
  1. | `NONE
    (*

    Generic response id, not used by GTK dialogs

    *)
  2. | `REJECT
    (*

    Generic response id, not used by GTK dialogs

    *)
  3. | `ACCEPT
    (*

    Returned if the dialog is deleted

    *)
  4. | `DELETE_EVENT
    (*

    Returned by OK buttons in GTK dialogs

    *)
  5. | `OK
    (*

    Returned by Cancel buttons in GTK dialogs

    *)
  6. | `CANCEL
    (*

    Returned by Close buttons in GTK dialogs

    *)
  7. | `CLOSE
    (*

    Returned by Yes buttons in GTK dialogs

    *)
  8. | `YES
    (*

    Returned by No buttons in GTK dialogs

    *)
  9. | `NO
    (*

    Returned by Apply buttons in GTK dialogs

    *)
  10. | `APPLY
    (*

    Returned by Help buttons in GTK dialogs

    *)
  11. | `HELP
]
val responsetype_of_int : int -> responsetype
val responsetype_to_int : responsetype -> int
type revealertransitiontype = [
  1. | `NONE
    (*

    Fade in

    *)
  2. | `CROSSFADE
    (*

    Slide in from the left

    *)
  3. | `SLIDE_RIGHT
    (*

    Slide in from the right

    *)
  4. | `SLIDE_LEFT
    (*

    Slide in from the bottom

    *)
  5. | `SLIDE_UP
    (*

    Slide in from the top

    *)
  6. | `SLIDE_DOWN
    (*

    Floop in from the left

    *)
  7. | `SWING_RIGHT
    (*

    Floop in from the right

    *)
  8. | `SWING_LEFT
    (*

    Floop in from the bottom

    *)
  9. | `SWING_UP
    (*

    Floop in from the top

    *)
  10. | `SWING_DOWN
]
val revealertransitiontype_of_int : int -> revealertransitiontype
val revealertransitiontype_to_int : revealertransitiontype -> int
type scrollstep = [
  1. | `STEPS
    (*

    Scroll by pages.

    *)
  2. | `PAGES
    (*

    Scroll to ends.

    *)
  3. | `ENDS
    (*

    Scroll in horizontal steps.

    *)
  4. | `HORIZONTAL_STEPS
    (*

    Scroll by horizontal pages.

    *)
  5. | `HORIZONTAL_PAGES
    (*

    Scroll to the horizontal ends.

    *)
  6. | `HORIZONTAL_ENDS
]
val scrollstep_of_int : int -> scrollstep
val scrollstep_to_int : scrollstep -> int
type scrolltype = [
  1. | `NONE
    (*

    Jump to new location.

    *)
  2. | `JUMP
    (*

    Step backward.

    *)
  3. | `STEP_BACKWARD
    (*

    Step forward.

    *)
  4. | `STEP_FORWARD
    (*

    Page backward.

    *)
  5. | `PAGE_BACKWARD
    (*

    Page forward.

    *)
  6. | `PAGE_FORWARD
    (*

    Step up.

    *)
  7. | `STEP_UP
    (*

    Step down.

    *)
  8. | `STEP_DOWN
    (*

    Page up.

    *)
  9. | `PAGE_UP
    (*

    Page down.

    *)
  10. | `PAGE_DOWN
    (*

    Step to the left.

    *)
  11. | `STEP_LEFT
    (*

    Step to the right.

    *)
  12. | `STEP_RIGHT
    (*

    Page to the left.

    *)
  13. | `PAGE_LEFT
    (*

    Page to the right.

    *)
  14. | `PAGE_RIGHT
    (*

    Scroll to start.

    *)
  15. | `START
    (*

    Scroll to end.

    *)
  16. | `END
]
val scrolltype_of_int : int -> scrolltype
val scrolltype_to_int : scrolltype -> int
type scrollablepolicy = [
  1. | `MINIMUM
    (*

    Scrollable adjustments are based on the natural size

    *)
  2. | `NATURAL
]
val scrollablepolicy_of_int : int -> scrollablepolicy
val scrollablepolicy_to_int : scrollablepolicy -> int
type selectionmode = [
  1. | `NONE
    (*

    Zero or one element may be selected.

    *)
  2. | `SINGLE
    (*

    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 %GTK_SELECTION_BROWSE. What is really enforced is that the user can’t deselect a currently selected element except by selecting another element.

    *)
  3. | `BROWSE
    (*

    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.

    *)
  4. | `MULTIPLE
]
val selectionmode_of_int : int -> selectionmode
val selectionmode_to_int : selectionmode -> int
type sensitivitytype = [
  1. | `AUTO
    (*

    The control is always sensitive

    *)
  2. | `ON
    (*

    The control is always insensitive

    *)
  3. | `OFF
]
val sensitivitytype_of_int : int -> sensitivitytype
val sensitivitytype_to_int : sensitivitytype -> int
type shortcutscope = [
  1. | `LOCAL
    (*

    Shortcuts are handled by the first ancestor that is a iface@ShortcutManager

    *)
  2. | `MANAGED
    (*

    Shortcuts are handled by the root widget.

    *)
  3. | `GLOBAL
]
val shortcutscope_of_int : int -> shortcutscope
val shortcutscope_to_int : shortcutscope -> int
type shortcuttype = [
  1. | `ACCELERATOR
    (*

    The shortcut is a pinch gesture. GTK provides an icon and subtitle.

    *)
  2. | `GESTURE_PINCH
    (*

    The shortcut is a stretch gesture. GTK provides an icon and subtitle.

    *)
  3. | `GESTURE_STRETCH
    (*

    The shortcut is a clockwise rotation gesture. GTK provides an icon and subtitle.

    *)
  4. | `GESTURE_ROTATE_CLOCKWISE
    (*

    The shortcut is a counterclockwise rotation gesture. GTK provides an icon and subtitle.

    *)
  5. | `GESTURE_ROTATE_COUNTERCLOCKWISE
    (*

    The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.

    *)
  6. | `GESTURE_TWO_FINGER_SWIPE_LEFT
    (*

    The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.

    *)
  7. | `GESTURE_TWO_FINGER_SWIPE_RIGHT
    (*

    The shortcut is a gesture. The GtkShortcutsShortcut:icon property will be used.

    *)
  8. | `GESTURE
    (*

    The shortcut is a swipe gesture. GTK provides an icon and subtitle.

    *)
  9. | `GESTURE_SWIPE_LEFT
    (*

    The shortcut is a swipe gesture. GTK provides an icon and subtitle.

    *)
  10. | `GESTURE_SWIPE_RIGHT
]
val shortcuttype_of_int : int -> shortcuttype
val shortcuttype_to_int : shortcuttype -> int
type sizegroupmode = [
  1. | `NONE
    (*

    group affects horizontal requisition

    *)
  2. | `HORIZONTAL
    (*

    group affects vertical requisition

    *)
  3. | `VERTICAL
    (*

    group affects both horizontal and vertical requisition

    *)
  4. | `BOTH
]
val sizegroupmode_of_int : int -> sizegroupmode
val sizegroupmode_to_int : sizegroupmode -> int
type sizerequestmode = [
  1. | `HEIGHT_FOR_WIDTH
    (*

    Prefer width-for-height geometry management

    *)
  2. | `WIDTH_FOR_HEIGHT
    (*

    Don’t trade height-for-width or width-for-height

    *)
  3. | `CONSTANT_SIZE
]
val sizerequestmode_of_int : int -> sizerequestmode
val sizerequestmode_to_int : sizerequestmode -> int
type sorttype = [
  1. | `ASCENDING
    (*

    Sorting is in descending order.

    *)
  2. | `DESCENDING
]
val sorttype_of_int : int -> sorttype
val sorttype_to_int : sorttype -> int
type sorterchange = [
  1. | `DIFFERENT
    (*

    The sort order was inverted. Comparisons that returned %GTK_ORDERING_SMALLER now return %GTK_ORDERING_LARGER and vice versa. Other comparisons return the same values as before.

    *)
  2. | `INVERTED
    (*

    The sorter is less strict: Comparisons may now return %GTK_ORDERING_EQUAL that did not do so before.

    *)
  3. | `LESS_STRICT
    (*

    The sorter is more strict: Comparisons that did return %GTK_ORDERING_EQUAL may not do so anymore.

    *)
  4. | `MORE_STRICT
]
val sorterchange_of_int : int -> sorterchange
val sorterchange_to_int : sorterchange -> int
type sorterorder = [
  1. | `PARTIAL
    (*

    No order, all elements are considered equal. gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL.

    *)
  2. | `NONE
    (*

    A total order. gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL if an item is compared with itself. Two different items will never cause this value to be returned.

    *)
  3. | `TOTAL
]
val sorterorder_of_int : int -> sorterorder
val sorterorder_to_int : sorterorder -> int
type spinbuttonupdatepolicy = [
  1. | `ALWAYS
    (*

    When refreshing your `GtkSpinButton`, the value is only displayed if it is valid within the bounds of the spin button's adjustment

    *)
  2. | `IF_VALID
]
val spinbuttonupdatepolicy_of_int : int -> spinbuttonupdatepolicy
val spinbuttonupdatepolicy_to_int : spinbuttonupdatepolicy -> int
type spintype = [
  1. | `STEP_FORWARD
    (*

    Decrement by the adjustments step increment.

    *)
  2. | `STEP_BACKWARD
    (*

    Increment by the adjustments page increment.

    *)
  3. | `PAGE_FORWARD
    (*

    Decrement by the adjustments page increment.

    *)
  4. | `PAGE_BACKWARD
    (*

    Go to the adjustments lower bound.

    *)
  5. | `HOME
    (*

    Go to the adjustments upper bound.

    *)
  6. | `END
    (*

    Change by a specified amount.

    *)
  7. | `USER_DEFINED
]
val spintype_of_int : int -> spintype
val spintype_to_int : spintype -> int
type stacktransitiontype = [
  1. | `NONE
    (*

    A cross-fade

    *)
  2. | `CROSSFADE
    (*

    Slide from left to right

    *)
  3. | `SLIDE_RIGHT
    (*

    Slide from right to left

    *)
  4. | `SLIDE_LEFT
    (*

    Slide from bottom up

    *)
  5. | `SLIDE_UP
    (*

    Slide from top down

    *)
  6. | `SLIDE_DOWN
    (*

    Slide from left or right according to the children order

    *)
  7. | `SLIDE_LEFT_RIGHT
    (*

    Slide from top down or bottom up according to the order

    *)
  8. | `SLIDE_UP_DOWN
    (*

    Cover the old page by sliding up

    *)
  9. | `OVER_UP
    (*

    Cover the old page by sliding down

    *)
  10. | `OVER_DOWN
    (*

    Cover the old page by sliding to the left

    *)
  11. | `OVER_LEFT
    (*

    Cover the old page by sliding to the right

    *)
  12. | `OVER_RIGHT
    (*

    Uncover the new page by sliding up

    *)
  13. | `UNDER_UP
    (*

    Uncover the new page by sliding down

    *)
  14. | `UNDER_DOWN
    (*

    Uncover the new page by sliding to the left

    *)
  15. | `UNDER_LEFT
    (*

    Uncover the new page by sliding to the right

    *)
  16. | `UNDER_RIGHT
    (*

    Cover the old page sliding up or uncover the new page sliding down, according to order

    *)
  17. | `OVER_UP_DOWN
    (*

    Cover the old page sliding down or uncover the new page sliding up, according to order

    *)
  18. | `OVER_DOWN_UP
    (*

    Cover the old page sliding left or uncover the new page sliding right, according to order

    *)
  19. | `OVER_LEFT_RIGHT
    (*

    Cover the old page sliding right or uncover the new page sliding left, according to order

    *)
  20. | `OVER_RIGHT_LEFT
    (*

    Pretend the pages are sides of a cube and rotate that cube to the left

    *)
  21. | `ROTATE_LEFT
    (*

    Pretend the pages are sides of a cube and rotate that cube to the right

    *)
  22. | `ROTATE_RIGHT
    (*

    Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order

    *)
  23. | `ROTATE_LEFT_RIGHT
]
val stacktransitiontype_of_int : int -> stacktransitiontype
val stacktransitiontype_to_int : stacktransitiontype -> int
type stringfiltermatchmode = [
  1. | `EXACT
    (*

    The search string must be contained as a substring inside the text.

    *)
  2. | `SUBSTRING
    (*

    The text must begin with the search string.

    *)
  3. | `PREFIX
]
val stringfiltermatchmode_of_int : int -> stringfiltermatchmode
val stringfiltermatchmode_to_int : stringfiltermatchmode -> int
type symboliccolor = [
  1. | `FOREGROUND
    (*

    Indication color for errors

    *)
  2. | `ERROR
    (*

    Indication color for warnings

    *)
  3. | `WARNING
    (*

    Indication color for success

    *)
  4. | `SUCCESS
]
val symboliccolor_of_int : int -> symboliccolor
val symboliccolor_to_int : symboliccolor -> int
type systemsetting = [
  1. | `DPI
    (*

    The property@Gtk.Settings:gtk-font-name setting has changed

    *)
  2. | `FONT_NAME
    (*

    The font configuration has changed in a way that requires text to be redrawn. This can be any of the property@Gtk.Settings:gtk-xft-antialias, property@Gtk.Settings:gtk-xft-hinting, property@Gtk.Settings:gtk-xft-hintstyle, property@Gtk.Settings:gtk-xft-rgba or property@Gtk.Settings:gtk-fontconfig-timestamp settings

    *)
  3. | `FONT_CONFIG
    (*

    The display has changed

    *)
  4. | `DISPLAY
    (*

    The icon theme has changed in a way that requires icons to be looked up again

    *)
  5. | `ICON_THEME
]
val systemsetting_of_int : int -> systemsetting
val systemsetting_to_int : systemsetting -> int
type textdirection = [
  1. | `NONE
    (*

    Left to right text direction.

    *)
  2. | `LTR
    (*

    Right to left text direction.

    *)
  3. | `RTL
]
val textdirection_of_int : int -> textdirection
val textdirection_to_int : textdirection -> int
type textextendselection = [
  1. | `WORD
    (*

    Selects the current line. It is triggered by a triple-click for example.

    *)
  2. | `LINE
]
val textextendselection_of_int : int -> textextendselection
val textextendselection_to_int : textextendselection -> int
type textviewlayer = [
  1. | `BELOW_TEXT
    (*

    The layer rendered above the text.

    *)
  2. | `ABOVE_TEXT
]
val textviewlayer_of_int : int -> textviewlayer
val textviewlayer_to_int : textviewlayer -> int
type textwindowtype = [
  1. | `WIDGET
    (*

    Scrollable text window.

    *)
  2. | `TEXT
    (*

    Left side border window.

    *)
  3. | `LEFT
    (*

    Right side border window.

    *)
  4. | `RIGHT
    (*

    Top border window.

    *)
  5. | `TOP
    (*

    Bottom border window.

    *)
  6. | `BOTTOM
]
val textwindowtype_of_int : int -> textwindowtype
val textwindowtype_to_int : textwindowtype -> int
type treeviewcolumnsizing = [
  1. | `GROW_ONLY
    (*

    Columns resize to be the optimal size every time the model changes.

    *)
  2. | `AUTOSIZE
    (*

    Columns are a fixed numbers of pixels wide.

    *)
  3. | `FIXED
]
val treeviewcolumnsizing_of_int : int -> treeviewcolumnsizing
val treeviewcolumnsizing_to_int : treeviewcolumnsizing -> int
type treeviewdropposition = [
  1. | `BEFORE
    (*

    dropped row is inserted after

    *)
  2. | `AFTER
    (*

    dropped row becomes a child or is inserted before

    *)
  3. | `INTO_OR_BEFORE
    (*

    dropped row becomes a child or is inserted after

    *)
  4. | `INTO_OR_AFTER
]
val treeviewdropposition_of_int : int -> treeviewdropposition
val treeviewdropposition_to_int : treeviewdropposition -> int
type treeviewgridlines = [
  1. | `NONE
    (*

    Horizontal grid lines.

    *)
  2. | `HORIZONTAL
    (*

    Vertical grid lines.

    *)
  3. | `VERTICAL
    (*

    Horizontal and vertical grid lines.

    *)
  4. | `BOTH
]
val treeviewgridlines_of_int : int -> treeviewgridlines
val treeviewgridlines_to_int : treeviewgridlines -> int
type unit = [
  1. | `NONE
    (*

    Dimensions in points.

    *)
  2. | `POINTS
    (*

    Dimensions in inches.

    *)
  3. | `INCH
    (*

    Dimensions in millimeters

    *)
  4. | `MM
]
val unit_of_int : int -> unit
val unit_to_int : unit -> int
type wrapmode = [
  1. | `NONE
    (*

    wrap text, breaking lines anywhere the cursor can appear (between characters, usually - if you want to be technical, between graphemes, see pango_get_log_attrs())

    *)
  2. | `CHAR
    (*

    wrap text, breaking lines in between words

    *)
  3. | `WORD
    (*

    wrap text, breaking lines in between words, or if that is not enough, also between graphemes

    *)
  4. | `WORD_CHAR
]
val wrapmode_of_int : int -> wrapmode
val wrapmode_to_int : wrapmode -> int
type applicationinhibitflags_flag = [
  1. | `LOGOUT
    (*

    Inhibit user switching

    *)
  2. | `SWITCH
    (*

    Inhibit suspending the session or computer

    *)
  3. | `SUSPEND
    (*

    Inhibit the session being marked as idle (and possibly locked)

    *)
  4. | `IDLE
]
type applicationinhibitflags = applicationinhibitflags_flag list
val applicationinhibitflags_of_int : int -> applicationinhibitflags
val applicationinhibitflags_to_int : applicationinhibitflags -> int
type builderclosureflags_flag = [
  1. | `SWAPPED
]
type builderclosureflags = builderclosureflags_flag list
val builderclosureflags_of_int : int -> builderclosureflags
val builderclosureflags_to_int : builderclosureflags -> int
type cellrendererstate_flag = [
  1. | `SELECTED
    (*

    The mouse is hovering over the cell.

    *)
  2. | `PRELIT
    (*

    The cell is drawn in an insensitive manner

    *)
  3. | `INSENSITIVE
    (*

    The cell is in a sorted row

    *)
  4. | `SORTED
    (*

    The cell is in the focus row.

    *)
  5. | `FOCUSED
    (*

    The cell is in a row that can be expanded

    *)
  6. | `EXPANDABLE
    (*

    The cell is in a row that is expanded

    *)
  7. | `EXPANDED
]
type cellrendererstate = cellrendererstate_flag list
val cellrendererstate_of_int : int -> cellrendererstate
val cellrendererstate_to_int : cellrendererstate -> int
type debugflags_flag = [
  1. | `TEXT
    (*

    Information about GtkTreeView

    *)
  2. | `TREE
    (*

    Information about keyboard shortcuts

    *)
  3. | `KEYBINDINGS
    (*

    Information about modules and extensions

    *)
  4. | `MODULES
    (*

    Information about size allocation

    *)
  5. | `GEOMETRY
    (*

    Information about icon themes

    *)
  6. | `ICONTHEME
    (*

    Information about printing

    *)
  7. | `PRINTING
    (*

    Trace GtkBuilder operation

    *)
  8. | `BUILDER
    (*

    Information about size requests

    *)
  9. | `SIZE_REQUEST
    (*

    Disable the style property cache

    *)
  10. | `NO_CSS_CACHE
    (*

    Open the GTK inspector

    *)
  11. | `INTERACTIVE
    (*

    Information about actions and menu models

    *)
  12. | `ACTIONS
    (*

    Information from layout managers

    *)
  13. | `LAYOUT
    (*

    Include debug render nodes in the generated snapshots

    *)
  14. | `SNAPSHOT
    (*

    Information from the constraints solver

    *)
  15. | `CONSTRAINTS
    (*

    Log unused GtkBuilder objects

    *)
  16. | `BUILDER_OBJECTS
    (*

    Information about accessibility state changes

    *)
  17. | `A11Y
    (*

    Information about icon fallback.

    *)
  18. | `ICONFALLBACK
    (*

    Inverts the default text-direction.

    *)
  19. | `INVERT_TEXT_DIR
]
type debugflags = debugflags_flag list
val debugflags_of_int : int -> debugflags
val debugflags_to_int : debugflags -> int
type dialogflags_flag = [
  1. | `MODAL
    (*

    Destroy the dialog when its parent is destroyed

    *)
  2. | `DESTROY_WITH_PARENT
    (*

    Create dialog with actions in header bar instead of action area

    *)
  3. | `USE_HEADER_BAR
]
type dialogflags = dialogflags_flag list
val dialogflags_of_int : int -> dialogflags
val dialogflags_to_int : dialogflags -> int
type eventcontrollerscrollflags_flag = [
  1. | `NONE
    (*

    Emit scroll with vertical deltas.

    *)
  2. | `VERTICAL
    (*

    Emit scroll with horizontal deltas.

    *)
  3. | `HORIZONTAL
    (*

    Only emit deltas that are multiples of 1.

    *)
  4. | `DISCRETE
    (*

    Emit ::decelerate after continuous scroll finishes.

    *)
  5. | `KINETIC
    (*

    Emit scroll on both axes.

    *)
  6. | `BOTH_AXES
]
type eventcontrollerscrollflags = eventcontrollerscrollflags_flag list
val eventcontrollerscrollflags_of_int : int -> eventcontrollerscrollflags
val eventcontrollerscrollflags_to_int : eventcontrollerscrollflags -> int
type fontchooserlevel_flag = [
  1. | `FAMILY
    (*

    Allow selecting a specific font face

    *)
  2. | `STYLE
    (*

    Allow selecting a specific font size

    *)
  3. | `SIZE
    (*

    Allow changing OpenType font variation axes

    *)
  4. | `VARIATIONS
    (*

    Allow selecting specific OpenType font features

    *)
  5. | `FEATURES
]
type fontchooserlevel = fontchooserlevel_flag list
val fontchooserlevel_of_int : int -> fontchooserlevel
val fontchooserlevel_to_int : fontchooserlevel -> int
type iconlookupflags_flag = [
  1. | `FORCE_REGULAR
    (*

    Try to always load symbolic icons, even when regular icon names are given

    *)
  2. | `FORCE_SYMBOLIC
    (*

    Starts loading the texture in the background so it is ready when later needed.

    *)
  3. | `PRELOAD
]
type iconlookupflags = iconlookupflags_flag list
val iconlookupflags_of_int : int -> iconlookupflags
val iconlookupflags_to_int : iconlookupflags -> int
type inputhints_flag = [
  1. | `NONE
    (*

    Suggest checking for typos

    *)
  2. | `SPELLCHECK
    (*

    Suggest not checking for typos

    *)
  3. | `NO_SPELLCHECK
    (*

    Suggest word completion

    *)
  4. | `WORD_COMPLETION
    (*

    Suggest to convert all text to lowercase

    *)
  5. | `LOWERCASE
    (*

    Suggest to capitalize all text

    *)
  6. | `UPPERCASE_CHARS
    (*

    Suggest to capitalize the first character of each word

    *)
  7. | `UPPERCASE_WORDS
    (*

    Suggest to capitalize the first word of each sentence

    *)
  8. | `UPPERCASE_SENTENCES
    (*

    Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).

    *)
  9. | `INHIBIT_OSK
    (*

    The text is vertical

    *)
  10. | `VERTICAL_WRITING
    (*

    Suggest offering Emoji support

    *)
  11. | `EMOJI
    (*

    Suggest not offering Emoji support

    *)
  12. | `NO_EMOJI
    (*

    Request that the input method should not update personalized data (like typing history)

    *)
  13. | `PRIVATE
]
type inputhints = inputhints_flag list
val inputhints_of_int : int -> inputhints
val inputhints_to_int : inputhints -> int
type listscrollflags_flag = [
  1. | `NONE
    (*

    Focus the target item

    *)
  2. | `FOCUS
    (*

    Select the target item and unselect all other items.

    *)
  3. | `SELECT
]
type listscrollflags = listscrollflags_flag list
val listscrollflags_of_int : int -> listscrollflags
val listscrollflags_to_int : listscrollflags -> int
type pickflags_flag = [
  1. | `DEFAULT
    (*

    Include widgets that are insensitive

    *)
  2. | `INSENSITIVE
    (*

    Include widgets that are marked as non-targetable. See property@Widget:can-target

    *)
  3. | `NON_TARGETABLE
]
type pickflags = pickflags_flag list
val pickflags_of_int : int -> pickflags
val pickflags_to_int : pickflags -> int
type popovermenuflags_flag = [
  1. | `SLIDING
    (*

    Submenus are presented as traditional, nested popovers.

    *)
  2. | `NESTED
]
type popovermenuflags = popovermenuflags_flag list
val popovermenuflags_of_int : int -> popovermenuflags
val popovermenuflags_to_int : popovermenuflags -> int
type shortcutactionflags_flag = [
  1. | `EXCLUSIVE
]
type shortcutactionflags = shortcutactionflags_flag list
val shortcutactionflags_of_int : int -> shortcutactionflags
val shortcutactionflags_to_int : shortcutactionflags -> int
type stateflags_flag = [
  1. | `NORMAL
    (*

    Widget is active

    *)
  2. | `ACTIVE
    (*

    Widget has a mouse pointer over it

    *)
  3. | `PRELIGHT
    (*

    Widget is selected

    *)
  4. | `SELECTED
    (*

    Widget is insensitive

    *)
  5. | `INSENSITIVE
    (*

    Widget is inconsistent

    *)
  6. | `INCONSISTENT
    (*

    Widget has the keyboard focus

    *)
  7. | `FOCUSED
    (*

    Widget is in a background toplevel window

    *)
  8. | `BACKDROP
    (*

    Widget is in left-to-right text direction

    *)
  9. | `DIR_LTR
    (*

    Widget is in right-to-left text direction

    *)
  10. | `DIR_RTL
    (*

    Widget is a link

    *)
  11. | `VISITED
    (*

    Widget is checked

    *)
  12. | `CHECKED
    (*

    Widget is highlighted as a drop target for DND

    *)
  13. | `DROP_ACTIVE
    (*

    Widget has the visible focus

    *)
  14. | `FOCUS_VISIBLE
    (*

    Widget contains the keyboard focus

    *)
  15. | `FOCUS_WITHIN
]
type stateflags = stateflags_flag list
val stateflags_of_int : int -> stateflags
val stateflags_to_int : stateflags -> int
type stylecontextprintflags_flag = [
  1. | `NONE
    (*

    Print the entire tree of CSS nodes starting at the style context's node

    *)
  2. | `RECURSE
    (*

    Show the values of the CSS properties for each node

    *)
  3. | `SHOW_STYLE
    (*

    Show information about what changes affect the styles

    *)
  4. | `SHOW_CHANGE
]
type stylecontextprintflags = stylecontextprintflags_flag list
val stylecontextprintflags_of_int : int -> stylecontextprintflags
val stylecontextprintflags_to_int : stylecontextprintflags -> int
type textsearchflags_flag = [
  1. | `VISIBLE_ONLY
    (*

    Search only text. A match may have paintables or child widgets mixed inside the matched range.

    *)
  2. | `TEXT_ONLY
    (*

    The text will be matched regardless of what case it is in.

    *)
  3. | `CASE_INSENSITIVE
]
type textsearchflags = textsearchflags_flag list
val textsearchflags_of_int : int -> textsearchflags
val textsearchflags_to_int : textsearchflags -> int
type treemodelflags_flag = [
  1. | `ITERS_PERSIST
    (*

    the model is a list only, and never has children

    *)
  2. | `LIST_ONLY
]
type treemodelflags = treemodelflags_flag list
val treemodelflags_of_int : int -> treemodelflags
val treemodelflags_to_int : treemodelflags -> int