package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk_enums/index.html
Module Ocgtk_gtk.Gtk_enums
val accessibleannouncementpriority_of_int :
int ->
accessibleannouncementpriorityval accessibleannouncementpriority_to_int :
accessibleannouncementpriority ->
inttype accessibleautocomplete = [ | `NONE(*When a user is providing input, text suggesting one way to complete the provided input may be dynamically inserted after the caret.
*)| `INLINE(*When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed.
*)| `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.
*)| `BOTH
]val accessibleautocomplete_of_int : int -> accessibleautocompleteval accessibleautocomplete_to_int : accessibleautocomplete -> intval accessibleinvalidstate_of_int : int -> accessibleinvalidstateval accessibleinvalidstate_to_int : accessibleinvalidstate -> intval accessibleplatformstate_of_int : int -> accessibleplatformstateval accessibleplatformstate_to_int : accessibleplatformstate -> inttype accessibleproperty = [ | `AUTOCOMPLETE(*Defines a string value that describes or annotates the current element. Value type: string
*)| `DESCRIPTION(*Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
*)| `HAS_POPUP(*Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. Value type: string
*)| `KEY_SHORTCUTS(*Defines a string value that labels the current element. Value type: string
*)| `LABEL(*Defines the hierarchical level of an element within a structure. Value type: integer
*)| `LEVEL(*Indicates whether an element is modal when displayed. Value type: boolean
*)| `MODAL(*Indicates whether a text box accepts multiple lines of input or only a single line. Value type: boolean
*)| `MULTI_LINE(*Indicates that the user may select more than one item from the current selectable descendants. Value type: boolean
*)| `MULTI_SELECTABLE(*Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. Value type:
*)enum@Orientation| `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
*)| `PLACEHOLDER(*Indicates that the element is not editable, but is otherwise operable. Value type: boolean
*)| `READ_ONLY(*Indicates that user input is required on the element before a form may be submitted. Value type: boolean
*)| `REQUIRED(*Defines a human-readable, author-localized description for the role of an element. Value type: string
*)| `ROLE_DESCRIPTION(*Indicates if items in a table or grid are sorted in ascending or descending order. Value type:
*)enum@AccessibleSort| `SORT(*Defines the maximum allowed value for a range widget. Value type: double
*)| `VALUE_MAX(*Defines the minimum allowed value for a range widget. Value type: double
*)| `VALUE_MIN(*Defines the current value for a range widget. Value type: double
*)| `VALUE_NOW(*Defines the human readable text alternative of aria-valuenow for a range widget. Value type: string
*)| `VALUE_TEXT
]val accessibleproperty_of_int : int -> accessiblepropertyval accessibleproperty_to_int : accessibleproperty -> inttype accessiblerelation = [ | `ACTIVE_DESCENDANT(*Defines the total number of columns in a table, grid, or treegrid. Value type: integer
*)| `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
*)| `COL_INDEX(*Defines a human readable text alternative of %GTK_ACCESSIBLE_RELATION_COL_INDEX. Value type: string
*)| `COL_INDEX_TEXT(*Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer
*)| `COL_SPAN(*Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference
*)| `CONTROLS(*Identifies the element (or elements) that describes the object. Value type: reference
*)| `DESCRIBED_BY(*Identifies the element (or elements) that provide additional information related to the object. Value type: reference
*)| `DETAILS(*Identifies the element that provides an error message for an object. Value type: reference
*)| `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
*)| `FLOW_TO(*Identifies the element (or elements) that labels the current element. Value type: reference
*)| `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
*)| `OWNS(*Defines an element's number or position in the current set of listitems or treeitems. Value type: integer
*)| `POS_IN_SET(*Defines the total number of rows in a table, grid, or treegrid. Value type: integer
*)| `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
*)| `ROW_INDEX(*Defines a human readable text alternative of aria-rowindex. Value type: string
*)| `ROW_INDEX_TEXT(*Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer
*)| `ROW_SPAN(*Defines the number of items in the current set of listitems or treeitems. Value type: integer
*)| `SET_SIZE
]val accessiblerelation_of_int : int -> accessiblerelationval accessiblerelation_to_int : accessiblerelation -> inttype accessiblerole = [ | `ALERT(*A type of dialog that contains an alert message
*)| `ALERT_DIALOG(*Unused
*)| `BANNER(*An input element that allows for user-triggered actions when clicked or pressed
*)| `BUTTON(*Unused
*)| `CAPTION(*Unused
*)| `CELL(*A checkable input element that has three possible values: `true`, `false`, or `mixed`
*)| `CHECKBOX(*A header in a columned list.
*)| `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
*)| `COMBO_BOX(*Abstract role.
*)| `COMMAND(*Abstract role.
*)| `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.
*)| `DIALOG(*Content that assistive technology users may want to browse in a reading mode.
*)| `DOCUMENT(*Unused
*)| `FEED(*Unused
*)| `FORM(*A nameless container that has no semantic meaning of its own. This is the role that GTK uses by default for widgets.
*)| `GENERIC(*A grid of items.
*)| `GRID(*An item in a grid or tree grid.
*)| `GRID_CELL(*An element that groups multiple related widgets. GTK uses this role for various containers, like
*)class@Gtk.HeaderBarorclass@Gtk.Notebook.| `GROUP(*Unused
*)| `HEADING(*An image.
*)| `IMG(*Abstract role.
*)| `INPUT(*A visible name or caption for a user interface component.
*)| `LABEL(*Abstract role.
*)| `LANDMARK(*Unused
*)| `LEGEND(*A clickable link.
*)| `LINK(*A list of items.
*)| `LIST(*Unused.
*)| `LIST_BOX(*An item in a list.
*)| `LIST_ITEM(*Unused
*)| `LOG(*Unused
*)| `MAIN(*Unused
*)| `MARQUEE(*Unused
*)| `MATH(*An element that represents a value within a known range.
*)| `METER(*A menu.
*)| `MENU(*A menubar.
*)| `MENU_BAR(*An item in a menu.
*)| `MENU_ITEM(*A check item in a menu.
*)| `MENU_ITEM_CHECKBOX(*A radio item in a menu.
*)| `MENU_ITEM_RADIO(*Unused
*)| `NAVIGATION(*An element that is not represented to accessibility technologies. This role is synonymous to @GTK_ACCESSIBLE_ROLE_PRESENTATION.
*)| `NONE(*Unused
*)| `NOTE(*Unused
*)| `OPTION(*An element that is not represented to accessibility technologies. This role is synonymous to @GTK_ACCESSIBLE_ROLE_NONE.
*)| `PRESENTATION(*An element that displays the progress status for tasks that take a long time.
*)| `PROGRESS_BAR(*A checkable input in a group of radio roles, only one of which can be checked at a time.
*)| `RADIO(*Unused
*)| `RADIO_GROUP(*Abstract role.
*)| `RANGE(*Unused
*)| `REGION(*A row in a columned list.
*)| `ROW(*Unused
*)| `ROW_GROUP(*Unused
*)| `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.
*)| `SCROLLBAR(*Unused
*)| `SEARCH(*A type of textbox intended for specifying search criteria.
*)| `SEARCH_BOX(*Abstract role.
*)| `SECTION(*Abstract role.
*)| `SECTION_HEAD(*Abstract role.
*)| `SELECT(*A divider that separates and distinguishes sections of content or groups of menuitems.
*)| `SEPARATOR(*A user input where the user selects a value from within a given range.
*)| `SLIDER(*A form of range that expects the user to select from among discrete choices.
*)| `SPIN_BUTTON(*Unused
*)| `STATUS(*Abstract role.
*)| `STRUCTURE(*A type of checkbox that represents on/off values, as opposed to checked/unchecked values.
*)| `SWITCH(*An item in a list of tab used for switching pages.
*)| `TAB(*Unused
*)| `TABLE(*A list of tabs for switching pages.
*)| `TAB_LIST(*A page in a notebook or stack.
*)| `TAB_PANEL(*A type of input that allows free-form text as its value.
*)| `TEXT_BOX(*Unused
*)| `TIME(*Unused
*)| `TIMER(*Unused
*)| `TOOLBAR(*Unused
*)| `TOOLTIP(*Unused
*)| `TREE(*A treeview-like, columned list.
*)| `TREE_GRID(*Unused
*)| `TREE_ITEM(*Abstract role for interactive components of a graphical user interface
*)| `WIDGET(*Abstract role for windows.
*)| `WINDOW(*A type of push button which stays pressed until depressed by a second activation.
*)| `TOGGLE_BUTTON(*A toplevel element of a graphical user interface.
This is the role that GTK uses by default for windows.
*)| `APPLICATION(*A paragraph of content.
*)| `PARAGRAPH(*A section of content that is quoted from another source.
*)| `BLOCK_QUOTE(*A section of a page that consists of a composition that forms an independent part of a document, page, or site.
*)| `ARTICLE(*A comment contains content expressing reaction to other content.
*)| `COMMENT(*A virtual terminal.
*)| `TERMINAL
]val accessiblerole_of_int : int -> accessibleroleval accessiblerole_to_int : accessiblerole -> intval accessiblesort_of_int : int -> accessiblesortval accessiblesort_to_int : accessiblesort -> inttype accessiblestate = [ | `BUSY(*A “checked” state; indicates the current state of a
*)class@CheckButton. Value type:enum@AccessibleTristate| `CHECKED(*A “disabled” state; corresponds to the
*)property@Widget:sensitiveproperty. It indicates a UI element that is perceivable, but not editable or operable. Value type: boolean| `DISABLED(*An “expanded” state; corresponds to the
*)property@Expander:expandedproperty. Value type: boolean or undefined| `EXPANDED(*A “hidden” state; corresponds to the
*)property@Widget:visibleproperty. 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| `HIDDEN(*An “invalid” state; set when a widget is showing an error. Value type:
*)enum@AccessibleInvalidState| `INVALID(*A “pressed” state; indicates the current state of a
*)class@ToggleButton. Value type:enum@AccessibleTristateenumeration| `PRESSED(*A “selected” state; set when a widget is selected. Value type: boolean or undefined
*)| `SELECTED(*Indicates that a widget with the GTK_ACCESSIBLE_ROLE_LINK has been visited. Value type: boolean.
*)| `VISITED
]val accessiblestate_of_int : int -> accessiblestateval accessiblestate_to_int : accessiblestate -> intval accessibletextcontentchange_of_int : int -> accessibletextcontentchangeval accessibletextcontentchange_to_int : accessibletextcontentchange -> inttype accessibletextgranularity = [ | `CHARACTER(*Use the boundary between words, starting from the beginning of the current word and ending at the beginning of the next word
*)| `WORD(*Use the boundary between sentences, starting from the beginning of the current sentence and ending at the beginning of the next sentence
*)| `SENTENCE(*Use the boundary between lines, starting from the beginning of the current line and ending at the beginning of the next line
*)| `LINE(*Use the boundary between paragraphs, starting from the beginning of the current paragraph and ending at the beginning of the next paragraph
*)| `PARAGRAPH
]val accessibletextgranularity_of_int : int -> accessibletextgranularityval accessibletextgranularity_to_int : accessibletextgranularity -> intval accessibletristate_of_int : int -> accessibletristateval accessibletristate_to_int : accessibletristate -> inttype align = [ | `FILL(*snap to left or top side, leaving space on right or bottom
*)| `START(*snap to right or bottom side, leaving space on left or top
*)| `END(*center natural width of widget inside the allocation
*)| `CENTER(*a different name for `GTK_ALIGN_BASELINE`.
*)| `BASELINE_FILL(*align the widget according to the baseline.
*)| `BASELINE(*stretch to fill all space, but align the baseline.
*)| `BASELINE_CENTER
]val align_of_int : int -> alignval align_to_int : align -> intval arrowtype_of_int : int -> arrowtypeval arrowtype_to_int : arrowtype -> inttype assistantpagetype = [ | `CONTENT(*The page contains an introduction to the assistant task. Only the Forward button will be shown if there is a next page.
*)| `INTRO(*The page lets the user confirm or deny the changes. The Back and Apply buttons will be shown.
*)| `CONFIRM(*The page informs the user of the changes done. Only the Close button will be shown.
*)| `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.
*)| `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().
*)| `CUSTOM
]val assistantpagetype_of_int : int -> assistantpagetypeval assistantpagetype_to_int : assistantpagetype -> intval baselineposition_of_int : int -> baselinepositionval baselineposition_to_int : baselineposition -> inttype borderstyle = [ | `NONE(*Same as %GTK_BORDER_STYLE_NONE
*)| `HIDDEN(*A single line segment
*)| `SOLID(*Looks as if the content is sunken into the canvas
*)| `INSET(*Looks as if the content is coming out of the canvas
*)| `OUTSET(*A series of round dots
*)| `DOTTED(*A series of square-ended dashes
*)| `DASHED(*Two parallel lines with some space between them
*)| `DOUBLE(*Looks as if it were carved in the canvas
*)| `GROOVE(*Looks as if it were coming out of the canvas
*)| `RIDGE
]val borderstyle_of_int : int -> borderstyleval borderstyle_to_int : borderstyle -> inttype buildererror = [ | `INVALID_TYPE_FUNCTION(*The input contained a tag that `GtkBuilder` can’t handle.
*)| `UNHANDLED_TAG(*An attribute that is required by `GtkBuilder` was missing.
*)| `MISSING_ATTRIBUTE(*`GtkBuilder` found an attribute that it doesn’t understand.
*)| `INVALID_ATTRIBUTE(*`GtkBuilder` found a tag that it doesn’t understand.
*)| `INVALID_TAG(*A required property value was missing.
*)| `MISSING_PROPERTY_VALUE(*`GtkBuilder` couldn’t parse some attribute value.
*)| `INVALID_VALUE(*The input file requires a newer version of GTK.
*)| `VERSION_MISMATCH(*An object id occurred twice.
*)| `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.
*)| `OBJECT_TYPE_REFUSED(*The wrong type was specified in a composite class’s template XML
*)| `TEMPLATE_MISMATCH(*The specified property is unknown for the object class.
*)| `INVALID_PROPERTY(*The specified signal is unknown for the object class.
*)| `INVALID_SIGNAL(*An object id is unknown.
*)| `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.
*)| `INVALID_FUNCTION
]val buildererror_of_int : int -> buildererrorval buildererror_to_int : buildererror -> intval buttonstype_of_int : int -> buttonstypeval buttonstype_to_int : buttonstype -> intval cellrendereraccelmode_of_int : int -> cellrendereraccelmodeval cellrendereraccelmode_to_int : cellrendereraccelmode -> intval cellrenderermode_of_int : int -> cellrenderermodeval cellrenderermode_to_int : cellrenderermode -> intval collation_of_int : int -> collationval collation_to_int : collation -> inttype constraintattribute = [ | `NONE(*The left edge of a widget, regardless of text direction
*)| `LEFT(*The right edge of a widget, regardless of text direction
*)| `RIGHT(*The top edge of a widget
*)| `TOP(*The bottom edge of a widget
*)| `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
*)| `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
*)| `END(*The width of a widget
*)| `WIDTH(*The height of a widget
*)| `HEIGHT(*The center of a widget, on the horizontal axis
*)| `CENTER_X(*The center of a widget, on the vertical axis
*)| `CENTER_Y(*The baseline of a widget
*)| `BASELINE
]val constraintattribute_of_int : int -> constraintattributeval constraintattribute_to_int : constraintattribute -> intval constraintrelation_of_int : int -> constraintrelationval constraintrelation_to_int : constraintrelation -> intval constraintstrength_of_int : int -> constraintstrengthval constraintstrength_to_int : constraintstrength -> intval constraintvflparsererror_of_int : int -> constraintvflparsererrorval constraintvflparsererror_to_int : constraintvflparsererror -> inttype contentfit = [ | `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.
*)| `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.
*)| `COVER(*The content is scaled down to fit the allocation, if needed, otherwise its original size is used.
*)| `SCALE_DOWN
]val contentfit_of_int : int -> contentfitval contentfit_to_int : contentfit -> intval cornertype_of_int : int -> cornertypeval cornertype_to_int : cornertype -> intval cssparsererror_of_int : int -> cssparsererrorval cssparsererror_to_int : cssparsererror -> intval cssparserwarning_of_int : int -> cssparserwarningval cssparserwarning_to_int : cssparserwarning -> inttype deletetype = [ | `CHARS(*Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.
*)| `WORD_ENDS(*Delete words.
*)| `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.
*)| `DISPLAY_LINES(*Delete only the portion of the display-line to the left/right of cursor.
*)| `DISPLAY_LINE_ENDS(*Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).
*)| `PARAGRAPH_ENDS(*Delete entire line. Like C-k in pico.
*)| `PARAGRAPHS(*Delete only whitespace. Like M-\ in Emacs.
*)| `WHITESPACE
]val deletetype_of_int : int -> deletetypeval deletetype_to_int : deletetype -> intval dialogerror_of_int : int -> dialogerrorval dialogerror_to_int : dialogerror -> intval directiontype_of_int : int -> directiontypeval directiontype_to_int : directiontype -> inttype editableproperties = [ | `PROP_TEXT(*the property id for
*)property@Gtk.Editable:cursor-position| `PROP_CURSOR_POSITION(*the property id for
*)property@Gtk.Editable:selection-bound| `PROP_SELECTION_BOUND(*the property id for
*)property@Gtk.Editable:editable| `PROP_EDITABLE(*the property id for
*)property@Gtk.Editable:width-chars| `PROP_WIDTH_CHARS(*the property id for
*)property@Gtk.Editable:max-width-chars| `PROP_MAX_WIDTH_CHARS(*the property id for
*)property@Gtk.Editable:xalign| `PROP_XALIGN(*the property id for
*)property@Gtk.Editable:enable-undo| `PROP_ENABLE_UNDO(*the number of properties
*)| `NUM_PROPERTIES
]val editableproperties_of_int : int -> editablepropertiesval editableproperties_to_int : editableproperties -> intval entryiconposition_of_int : int -> entryiconpositionval entryiconposition_to_int : entryiconposition -> intval eventsequencestate_of_int : int -> eventsequencestateval eventsequencestate_to_int : eventsequencestate -> intval filechooseraction_of_int : int -> filechooseractionval filechooseraction_to_int : filechooseraction -> intval filechoosererror_of_int : int -> filechoosererrorval filechoosererror_to_int : filechoosererror -> inttype filterchange = [ | `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.
*)| `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.
*)| `MORE_STRICT
]val filterchange_of_int : int -> filterchangeval filterchange_to_int : filterchange -> intval filtermatch_of_int : int -> filtermatchval filtermatch_to_int : filtermatch -> intval fontlevel_of_int : int -> fontlevelval fontlevel_to_int : fontlevel -> intval graphicsoffloadenabled_of_int : int -> graphicsoffloadenabledval graphicsoffloadenabled_to_int : graphicsoffloadenabled -> intval iconsize_of_int : int -> iconsizeval iconsize_to_int : iconsize -> intval iconthemeerror_of_int : int -> iconthemeerrorval iconthemeerror_to_int : iconthemeerror -> intval iconviewdropposition_of_int : int -> iconviewdroppositionval iconviewdropposition_to_int : iconviewdropposition -> intval imagetype_of_int : int -> imagetypeval imagetype_to_int : imagetype -> inttype inputpurpose = [ | `FREE_FORM(*Allow only alphabetic characters
*)| `ALPHA(*Allow only digits
*)| `DIGITS(*Edited field expects numbers
*)| `NUMBER(*Edited field expects phone number
*)| `PHONE(*Edited field expects URL
*)| `URL(*Edited field expects email address
*)| `EMAIL(*Edited field expects the name of a person
*)| `NAME(*Like %GTK_INPUT_PURPOSE_FREE_FORM, but characters are hidden
*)| `PASSWORD(*Like %GTK_INPUT_PURPOSE_DIGITS, but characters are hidden
*)| `PIN(*Allow any character, in addition to control codes
*)| `TERMINAL
]val inputpurpose_of_int : int -> inputpurposeval inputpurpose_to_int : inputpurpose -> intval inscriptionoverflow_of_int : int -> inscriptionoverflowval inscriptionoverflow_to_int : inscriptionoverflow -> intval justification_of_int : int -> justificationval justification_to_int : justification -> intval levelbarmode_of_int : int -> levelbarmodeval levelbarmode_to_int : levelbarmode -> inttype listtabbehavior = [ | `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.
*)| `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`.
*)| `CELL
]val listtabbehavior_of_int : int -> listtabbehaviorval listtabbehavior_to_int : listtabbehavior -> intval messagetype_of_int : int -> messagetypeval messagetype_to_int : messagetype -> inttype movementstep = [ | `LOGICAL_POSITIONS(*Move left or right by graphemes
*)| `VISUAL_POSITIONS(*Move forward or back by words
*)| `WORDS(*Move up or down lines (wrapped lines)
*)| `DISPLAY_LINES(*Move to either end of a line
*)| `DISPLAY_LINE_ENDS(*Move up or down paragraphs (newline-ended lines)
*)| `PARAGRAPHS(*Move to either end of a paragraph
*)| `PARAGRAPH_ENDS(*Move by pages
*)| `PAGES(*Move to ends of the buffer
*)| `BUFFER_ENDS(*Move horizontally by pages
*)| `HORIZONTAL_PAGES
]val movementstep_of_int : int -> movementstepval movementstep_to_int : movementstep -> inttype naturalwrapmode = [ | `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.
*)| `NONE(*Attempt to wrap at word boundaries. This is useful in particular when using %PANGO_WRAP_WORD_CHAR as the wrap mode.
*)| `WORD
]val naturalwrapmode_of_int : int -> naturalwrapmodeval naturalwrapmode_to_int : naturalwrapmode -> intval notebooktab_of_int : int -> notebooktabval notebooktab_to_int : notebooktab -> intval numberuplayout_of_int : int -> numberuplayoutval numberuplayout_to_int : numberuplayout -> intval ordering_of_int : int -> orderingval ordering_to_int : ordering -> intval orientation_of_int : int -> orientationval orientation_to_int : orientation -> intval overflow_of_int : int -> overflowval overflow_to_int : overflow -> intval packtype_of_int : int -> packtypeval packtype_to_int : packtype -> intval padactiontype_of_int : int -> padactiontypeval padactiontype_to_int : padactiontype -> intval pageorientation_of_int : int -> pageorientationval pageorientation_to_int : pageorientation -> intval pageset_of_int : int -> pagesetval pageset_to_int : pageset -> intval pandirection_of_int : int -> pandirectionval pandirection_to_int : pandirection -> inttype policytype = [ | `ALWAYS(*The scrollbar will appear and disappear as necessary. For example, when all of a `GtkTreeView` can not be seen.
*)| `AUTOMATIC(*The scrollbar should never appear. In this mode the content determines the size.
*)| `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.
*)| `EXTERNAL
]val policytype_of_int : int -> policytypeval policytype_to_int : policytype -> intval positiontype_of_int : int -> positiontypeval positiontype_to_int : positiontype -> intval printduplex_of_int : int -> printduplexval printduplex_to_int : printduplex -> intval printerror_of_int : int -> printerrorval printerror_to_int : printerror -> intval printoperationaction_of_int : int -> printoperationactionval printoperationaction_to_int : printoperationaction -> inttype printoperationresult = [ | `ERROR(*The print settings should be stored.
*)| `APPLY(*The print operation has been canceled, the print settings should not be stored.
*)| `CANCEL(*The print operation is not complete yet. This value will only be returned when running asynchronously.
*)| `IN_PROGRESS
]val printoperationresult_of_int : int -> printoperationresultval printoperationresult_to_int : printoperationresult -> intval printpages_of_int : int -> printpagesval printpages_to_int : printpages -> intval printquality_of_int : int -> printqualityval printquality_to_int : printquality -> inttype printstatus = [ | `INITIAL(*This status is set while the begin-print signal is emitted and during pagination.
*)| `PREPARING(*This status is set while the pages are being rendered.
*)| `GENERATING_DATA(*The print job is being sent off to the printer.
*)| `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.
*)| `PENDING(*Some problem has occurred during printing, e.g. a paper jam.
*)| `PENDING_ISSUE(*The printer is processing the print job.
*)| `PRINTING(*The printing has been completed successfully.
*)| `FINISHED(*The printing has been aborted.
*)| `FINISHED_ABORTED
]val printstatus_of_int : int -> printstatusval printstatus_to_int : printstatus -> intval propagationlimit_of_int : int -> propagationlimitval propagationlimit_to_int : propagationlimit -> inttype propagationphase = [ | `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.
*)| `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.
*)| `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.
*)| `TARGET
]val propagationphase_of_int : int -> propagationphaseval propagationphase_to_int : propagationphase -> inttype recentmanagererror = [ | `NOT_FOUND(*the URI specified is not valid.
*)| `INVALID_URI(*the supplied string is not UTF-8 encoded.
*)| `INVALID_ENCODING(*no application has registered the specified item.
*)| `NOT_REGISTERED(*failure while reading the recently used resources file.
*)| `READ(*failure while writing the recently used resources file.
*)| `WRITE(*unspecified error.
*)| `UNKNOWN
]val recentmanagererror_of_int : int -> recentmanagererrorval recentmanagererror_to_int : recentmanagererror -> inttype responsetype = [ | `NONE(*Generic response id, not used by GTK dialogs
*)| `REJECT(*Generic response id, not used by GTK dialogs
*)| `ACCEPT(*Returned if the dialog is deleted
*)| `DELETE_EVENT(*Returned by OK buttons in GTK dialogs
*)| `OK(*Returned by Cancel buttons in GTK dialogs
*)| `CANCEL(*Returned by Close buttons in GTK dialogs
*)| `CLOSE(*Returned by Yes buttons in GTK dialogs
*)| `YES(*Returned by No buttons in GTK dialogs
*)| `NO(*Returned by Apply buttons in GTK dialogs
*)| `APPLY(*Returned by Help buttons in GTK dialogs
*)| `HELP
]val responsetype_of_int : int -> responsetypeval responsetype_to_int : responsetype -> inttype revealertransitiontype = [ | `NONE(*Fade in
*)| `CROSSFADE(*Slide in from the left
*)| `SLIDE_RIGHT(*Slide in from the right
*)| `SLIDE_LEFT(*Slide in from the bottom
*)| `SLIDE_UP(*Slide in from the top
*)| `SLIDE_DOWN(*Floop in from the left
*)| `SWING_RIGHT(*Floop in from the right
*)| `SWING_LEFT(*Floop in from the bottom
*)| `SWING_UP(*Floop in from the top
*)| `SWING_DOWN
]val revealertransitiontype_of_int : int -> revealertransitiontypeval revealertransitiontype_to_int : revealertransitiontype -> intval scrollstep_of_int : int -> scrollstepval scrollstep_to_int : scrollstep -> inttype scrolltype = [ | `NONE(*Jump to new location.
*)| `JUMP(*Step backward.
*)| `STEP_BACKWARD(*Step forward.
*)| `STEP_FORWARD(*Page backward.
*)| `PAGE_BACKWARD(*Page forward.
*)| `PAGE_FORWARD(*Step up.
*)| `STEP_UP(*Step down.
*)| `STEP_DOWN(*Page up.
*)| `PAGE_UP(*Page down.
*)| `PAGE_DOWN(*Step to the left.
*)| `STEP_LEFT(*Step to the right.
*)| `STEP_RIGHT(*Page to the left.
*)| `PAGE_LEFT(*Page to the right.
*)| `PAGE_RIGHT(*Scroll to start.
*)| `START(*Scroll to end.
*)| `END
]val scrolltype_of_int : int -> scrolltypeval scrolltype_to_int : scrolltype -> intval scrollablepolicy_of_int : int -> scrollablepolicyval scrollablepolicy_to_int : scrollablepolicy -> inttype selectionmode = [ | `NONE(*Zero or one element may be selected.
*)| `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.
*)| `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.
*)| `MULTIPLE
]val selectionmode_of_int : int -> selectionmodeval selectionmode_to_int : selectionmode -> intval sensitivitytype_of_int : int -> sensitivitytypeval sensitivitytype_to_int : sensitivitytype -> intval shortcutscope_of_int : int -> shortcutscopeval shortcutscope_to_int : shortcutscope -> inttype shortcuttype = [ | `ACCELERATOR(*The shortcut is a pinch gesture. GTK provides an icon and subtitle.
*)| `GESTURE_PINCH(*The shortcut is a stretch gesture. GTK provides an icon and subtitle.
*)| `GESTURE_STRETCH(*The shortcut is a clockwise rotation gesture. GTK provides an icon and subtitle.
*)| `GESTURE_ROTATE_CLOCKWISE(*The shortcut is a counterclockwise rotation gesture. GTK provides an icon and subtitle.
*)| `GESTURE_ROTATE_COUNTERCLOCKWISE(*The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
*)| `GESTURE_TWO_FINGER_SWIPE_LEFT(*The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
*)| `GESTURE_TWO_FINGER_SWIPE_RIGHT(*The shortcut is a gesture. The GtkShortcutsShortcut:icon property will be used.
*)| `GESTURE(*The shortcut is a swipe gesture. GTK provides an icon and subtitle.
*)| `GESTURE_SWIPE_LEFT(*The shortcut is a swipe gesture. GTK provides an icon and subtitle.
*)| `GESTURE_SWIPE_RIGHT
]val shortcuttype_of_int : int -> shortcuttypeval shortcuttype_to_int : shortcuttype -> intval sizegroupmode_of_int : int -> sizegroupmodeval sizegroupmode_to_int : sizegroupmode -> intval sizerequestmode_of_int : int -> sizerequestmodeval sizerequestmode_to_int : sizerequestmode -> intval sorttype_of_int : int -> sorttypeval sorttype_to_int : sorttype -> inttype sorterchange = [ | `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.
*)| `INVERTED(*The sorter is less strict: Comparisons may now return %GTK_ORDERING_EQUAL that did not do so before.
*)| `LESS_STRICT(*The sorter is more strict: Comparisons that did return %GTK_ORDERING_EQUAL may not do so anymore.
*)| `MORE_STRICT
]val sorterchange_of_int : int -> sorterchangeval sorterchange_to_int : sorterchange -> inttype sorterorder = [ | `PARTIAL(*No order, all elements are considered equal. gtk_sorter_compare() will only return %GTK_ORDERING_EQUAL.
*)| `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.
*)| `TOTAL
]val sorterorder_of_int : int -> sorterorderval sorterorder_to_int : sorterorder -> intval spinbuttonupdatepolicy_of_int : int -> spinbuttonupdatepolicyval spinbuttonupdatepolicy_to_int : spinbuttonupdatepolicy -> inttype spintype = [ | `STEP_FORWARD(*Decrement by the adjustments step increment.
*)| `STEP_BACKWARD(*Increment by the adjustments page increment.
*)| `PAGE_FORWARD(*Decrement by the adjustments page increment.
*)| `PAGE_BACKWARD(*Go to the adjustments lower bound.
*)| `HOME(*Go to the adjustments upper bound.
*)| `END(*Change by a specified amount.
*)| `USER_DEFINED
]val spintype_of_int : int -> spintypeval spintype_to_int : spintype -> inttype stacktransitiontype = [ | `NONE(*A cross-fade
*)| `CROSSFADE(*Slide from left to right
*)| `SLIDE_RIGHT(*Slide from right to left
*)| `SLIDE_LEFT(*Slide from bottom up
*)| `SLIDE_UP(*Slide from top down
*)| `SLIDE_DOWN(*Slide from left or right according to the children order
*)| `SLIDE_LEFT_RIGHT(*Slide from top down or bottom up according to the order
*)| `SLIDE_UP_DOWN(*Cover the old page by sliding up
*)| `OVER_UP(*Cover the old page by sliding down
*)| `OVER_DOWN(*Cover the old page by sliding to the left
*)| `OVER_LEFT(*Cover the old page by sliding to the right
*)| `OVER_RIGHT(*Uncover the new page by sliding up
*)| `UNDER_UP(*Uncover the new page by sliding down
*)| `UNDER_DOWN(*Uncover the new page by sliding to the left
*)| `UNDER_LEFT(*Uncover the new page by sliding to the right
*)| `UNDER_RIGHT(*Cover the old page sliding up or uncover the new page sliding down, according to order
*)| `OVER_UP_DOWN(*Cover the old page sliding down or uncover the new page sliding up, according to order
*)| `OVER_DOWN_UP(*Cover the old page sliding left or uncover the new page sliding right, according to order
*)| `OVER_LEFT_RIGHT(*Cover the old page sliding right or uncover the new page sliding left, according to order
*)| `OVER_RIGHT_LEFT(*Pretend the pages are sides of a cube and rotate that cube to the left
*)| `ROTATE_LEFT(*Pretend the pages are sides of a cube and rotate that cube to the right
*)| `ROTATE_RIGHT(*Pretend the pages are sides of a cube and rotate that cube to the left or right according to the children order
*)| `ROTATE_LEFT_RIGHT
]val stacktransitiontype_of_int : int -> stacktransitiontypeval stacktransitiontype_to_int : stacktransitiontype -> intval stringfiltermatchmode_of_int : int -> stringfiltermatchmodeval stringfiltermatchmode_to_int : stringfiltermatchmode -> intval symboliccolor_of_int : int -> symboliccolorval symboliccolor_to_int : symboliccolor -> inttype systemsetting = [ | `DPI(*The
*)property@Gtk.Settings:gtk-font-namesetting has changed| `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-rgbaorproperty@Gtk.Settings:gtk-fontconfig-timestampsettings| `FONT_CONFIG(*The display has changed
*)| `DISPLAY(*The icon theme has changed in a way that requires icons to be looked up again
*)| `ICON_THEME
]val systemsetting_of_int : int -> systemsettingval systemsetting_to_int : systemsetting -> intval textdirection_of_int : int -> textdirectionval textdirection_to_int : textdirection -> intval textextendselection_of_int : int -> textextendselectionval textextendselection_to_int : textextendselection -> intval textviewlayer_of_int : int -> textviewlayerval textviewlayer_to_int : textviewlayer -> intval textwindowtype_of_int : int -> textwindowtypeval textwindowtype_to_int : textwindowtype -> intval treeviewcolumnsizing_of_int : int -> treeviewcolumnsizingval treeviewcolumnsizing_to_int : treeviewcolumnsizing -> intval treeviewdropposition_of_int : int -> treeviewdroppositionval treeviewdropposition_to_int : treeviewdropposition -> intval treeviewgridlines_of_int : int -> treeviewgridlinesval treeviewgridlines_to_int : treeviewgridlines -> intval unit_of_int : int -> unitval unit_to_int : unit -> inttype wrapmode = [ | `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())
*)| `CHAR(*wrap text, breaking lines in between words
*)| `WORD(*wrap text, breaking lines in between words, or if that is not enough, also between graphemes
*)| `WORD_CHAR
]val wrapmode_of_int : int -> wrapmodeval wrapmode_to_int : wrapmode -> inttype applicationinhibitflags = applicationinhibitflags_flag listval applicationinhibitflags_of_int : int -> applicationinhibitflagsval applicationinhibitflags_to_int : applicationinhibitflags -> inttype builderclosureflags = builderclosureflags_flag listval builderclosureflags_of_int : int -> builderclosureflagsval builderclosureflags_to_int : builderclosureflags -> inttype cellrendererstate_flag = [ | `SELECTED(*The mouse is hovering over the cell.
*)| `PRELIT(*The cell is drawn in an insensitive manner
*)| `INSENSITIVE(*The cell is in a sorted row
*)| `SORTED(*The cell is in the focus row.
*)| `FOCUSED(*The cell is in a row that can be expanded
*)| `EXPANDABLE(*The cell is in a row that is expanded
*)| `EXPANDED
]type cellrendererstate = cellrendererstate_flag listval cellrendererstate_of_int : int -> cellrendererstateval cellrendererstate_to_int : cellrendererstate -> inttype debugflags_flag = [ | `TEXT(*Information about GtkTreeView
*)| `TREE(*Information about keyboard shortcuts
*)| `KEYBINDINGS(*Information about modules and extensions
*)| `MODULES(*Information about size allocation
*)| `GEOMETRY(*Information about icon themes
*)| `ICONTHEME(*Information about printing
*)| `PRINTING(*Trace GtkBuilder operation
*)| `BUILDER(*Information about size requests
*)| `SIZE_REQUEST(*Disable the style property cache
*)| `NO_CSS_CACHE(*Open the GTK inspector
*)| `INTERACTIVE(*Information about actions and menu models
*)| `ACTIONS(*Information from layout managers
*)| `LAYOUT(*Include debug render nodes in the generated snapshots
*)| `SNAPSHOT(*Information from the constraints solver
*)| `CONSTRAINTS(*Log unused GtkBuilder objects
*)| `BUILDER_OBJECTS(*Information about accessibility state changes
*)| `A11Y(*Information about icon fallback.
*)| `ICONFALLBACK(*Inverts the default text-direction.
*)| `INVERT_TEXT_DIR
]type debugflags = debugflags_flag listval debugflags_of_int : int -> debugflagsval debugflags_to_int : debugflags -> inttype dialogflags = dialogflags_flag listval dialogflags_of_int : int -> dialogflagsval dialogflags_to_int : dialogflags -> inttype eventcontrollerscrollflags_flag = [ | `NONE(*Emit scroll with vertical deltas.
*)| `VERTICAL(*Emit scroll with horizontal deltas.
*)| `HORIZONTAL(*Only emit deltas that are multiples of 1.
*)| `DISCRETE(*Emit ::decelerate after continuous scroll finishes.
*)| `KINETIC(*Emit scroll on both axes.
*)| `BOTH_AXES
]type eventcontrollerscrollflags = eventcontrollerscrollflags_flag listval eventcontrollerscrollflags_of_int : int -> eventcontrollerscrollflagsval eventcontrollerscrollflags_to_int : eventcontrollerscrollflags -> inttype fontchooserlevel = fontchooserlevel_flag listval fontchooserlevel_of_int : int -> fontchooserlevelval fontchooserlevel_to_int : fontchooserlevel -> inttype iconlookupflags = iconlookupflags_flag listval iconlookupflags_of_int : int -> iconlookupflagsval iconlookupflags_to_int : iconlookupflags -> inttype inputhints_flag = [ | `NONE(*Suggest checking for typos
*)| `SPELLCHECK(*Suggest not checking for typos
*)| `NO_SPELLCHECK(*Suggest word completion
*)| `WORD_COMPLETION(*Suggest to convert all text to lowercase
*)| `LOWERCASE(*Suggest to capitalize all text
*)| `UPPERCASE_CHARS(*Suggest to capitalize the first character of each word
*)| `UPPERCASE_WORDS(*Suggest to capitalize the first word of each sentence
*)| `UPPERCASE_SENTENCES(*Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys).
*)| `INHIBIT_OSK(*The text is vertical
*)| `VERTICAL_WRITING(*Suggest offering Emoji support
*)| `EMOJI(*Suggest not offering Emoji support
*)| `NO_EMOJI(*Request that the input method should not update personalized data (like typing history)
*)| `PRIVATE
]type inputhints = inputhints_flag listval inputhints_of_int : int -> inputhintsval inputhints_to_int : inputhints -> inttype listscrollflags = listscrollflags_flag listval listscrollflags_of_int : int -> listscrollflagsval listscrollflags_to_int : listscrollflags -> inttype pickflags = pickflags_flag listval pickflags_of_int : int -> pickflagsval pickflags_to_int : pickflags -> inttype shortcutactionflags = shortcutactionflags_flag listval shortcutactionflags_of_int : int -> shortcutactionflagsval shortcutactionflags_to_int : shortcutactionflags -> inttype stateflags_flag = [ | `NORMAL(*Widget is active
*)| `ACTIVE(*Widget has a mouse pointer over it
*)| `PRELIGHT(*Widget is selected
*)| `SELECTED(*Widget is insensitive
*)| `INSENSITIVE(*Widget is inconsistent
*)| `INCONSISTENT(*Widget has the keyboard focus
*)| `FOCUSED(*Widget is in a background toplevel window
*)| `BACKDROP(*Widget is in left-to-right text direction
*)| `DIR_LTR(*Widget is in right-to-left text direction
*)| `DIR_RTL(*Widget is a link
*)| `LINK(*The location the widget points to has already been visited
*)| `VISITED(*Widget is checked
*)| `CHECKED(*Widget is highlighted as a drop target for DND
*)| `DROP_ACTIVE(*Widget has the visible focus
*)| `FOCUS_VISIBLE(*Widget contains the keyboard focus
*)| `FOCUS_WITHIN
]type stateflags = stateflags_flag listval stateflags_of_int : int -> stateflagsval stateflags_to_int : stateflags -> inttype stylecontextprintflags = stylecontextprintflags_flag listval stylecontextprintflags_of_int : int -> stylecontextprintflagsval stylecontextprintflags_to_int : stylecontextprintflags -> inttype textsearchflags = textsearchflags_flag listval textsearchflags_of_int : int -> textsearchflagsval textsearchflags_to_int : textsearchflags -> inttype treemodelflags = treemodelflags_flag listval treemodelflags_of_int : int -> treemodelflagsval treemodelflags_to_int : treemodelflags -> int