Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ApplicationInhibitFlags
- data BuilderClosureFlags
- data CellRendererState
- data DebugFlags
- = DebugFlagsText
- | DebugFlagsTree
- | DebugFlagsKeybindings
- | DebugFlagsModules
- | DebugFlagsGeometry
- | DebugFlagsIcontheme
- | DebugFlagsPrinting
- | DebugFlagsBuilder
- | DebugFlagsSizeRequest
- | DebugFlagsNoCssCache
- | DebugFlagsInteractive
- | DebugFlagsTouchscreen
- | DebugFlagsActions
- | DebugFlagsLayout
- | DebugFlagsSnapshot
- | DebugFlagsConstraints
- | DebugFlagsBuilderObjects
- | DebugFlagsA11y
- | DebugFlagsIconfallback
- | AnotherDebugFlags Int
- data DialogFlags
- data EventControllerScrollFlags
- data FontChooserLevel
- data IconLookupFlags
- data InputHints
- = InputHintsNone
- | InputHintsSpellcheck
- | InputHintsNoSpellcheck
- | InputHintsWordCompletion
- | InputHintsLowercase
- | InputHintsUppercaseChars
- | InputHintsUppercaseWords
- | InputHintsUppercaseSentences
- | InputHintsInhibitOsk
- | InputHintsVerticalWriting
- | InputHintsEmoji
- | InputHintsNoEmoji
- | InputHintsPrivate
- | AnotherInputHints Int
- data PickFlags
- data PopoverMenuFlags
- data PrintCapabilities
- = PrintCapabilitiesPageSet
- | PrintCapabilitiesCopies
- | PrintCapabilitiesCollate
- | PrintCapabilitiesReverse
- | PrintCapabilitiesScale
- | PrintCapabilitiesGeneratePdf
- | PrintCapabilitiesGeneratePs
- | PrintCapabilitiesPreview
- | PrintCapabilitiesNumberUp
- | PrintCapabilitiesNumberUpLayout
- | AnotherPrintCapabilities Int
- data ShortcutActionFlags
- data StateFlags
- = StateFlagsNormal
- | StateFlagsActive
- | StateFlagsPrelight
- | StateFlagsSelected
- | StateFlagsInsensitive
- | StateFlagsInconsistent
- | StateFlagsFocused
- | StateFlagsBackdrop
- | StateFlagsDirLtr
- | StateFlagsDirRtl
- | StateFlagsLink
- | StateFlagsVisited
- | StateFlagsChecked
- | StateFlagsDropActive
- | StateFlagsFocusVisible
- | StateFlagsFocusWithin
- | AnotherStateFlags Int
- data StyleContextPrintFlags
- data TextSearchFlags
- data TreeModelFlags
Flags
ApplicationInhibitFlags
data ApplicationInhibitFlags Source #
Types of user actions that may be blocked by GtkApplication
.
See applicationInhibit
.
ApplicationInhibitFlagsLogout | Inhibit ending the user session by logging out or by shutting down the computer |
ApplicationInhibitFlagsSwitch | Inhibit user switching |
ApplicationInhibitFlagsSuspend | Inhibit suspending the session or computer |
ApplicationInhibitFlagsIdle | Inhibit the session being marked as idle (and possibly locked) |
AnotherApplicationInhibitFlags Int | Catch-all for unknown values |
Instances
BuilderClosureFlags
data BuilderClosureFlags Source #
The list of flags that can be passed to builderCreateClosure
.
New values may be added in the future for new features, so external
implementations of BuilderScope
should test the flags
for unknown values and raise a BuilderErrorInvalidAttribute
error
when they encounter one.
BuilderClosureFlagsSwapped | The closure should be created swapped. See
|
AnotherBuilderClosureFlags Int | Catch-all for unknown values |
Instances
CellRendererState
data CellRendererState Source #
Tells how a cell is to be rendered.
CellRendererStateSelected | The cell is currently selected, and probably has a selection colored background to render to. |
CellRendererStatePrelit | The mouse is hovering over the cell. |
CellRendererStateInsensitive | The cell is drawn in an insensitive manner |
CellRendererStateSorted | The cell is in a sorted row |
CellRendererStateFocused | The cell is in the focus row. |
CellRendererStateExpandable | The cell is in a row that can be expanded |
CellRendererStateExpanded | The cell is in a row that is expanded |
AnotherCellRendererState Int | Catch-all for unknown values |
Instances
DebugFlags
data DebugFlags Source #
Flags to use with setDebugFlags
.
Settings these flags causes GTK to print out different
types of debugging information. Some of these flags are
only available when GTK has been configured with -Ddebug=true
.
DebugFlagsText | Information about GtkTextView |
DebugFlagsTree | Information about GtkTreeView |
DebugFlagsKeybindings | Information about keyboard shortcuts |
DebugFlagsModules | Information about modules and extensions |
DebugFlagsGeometry | Information about size allocation |
DebugFlagsIcontheme | Information about icon themes |
DebugFlagsPrinting | Information about printing |
DebugFlagsBuilder | Trace GtkBuilder operation |
DebugFlagsSizeRequest | Information about size requests |
DebugFlagsNoCssCache | Disable the style property cache |
DebugFlagsInteractive | Open the GTK inspector |
DebugFlagsTouchscreen | Pretend the pointer is a touchscreen |
DebugFlagsActions | Information about actions and menu models |
DebugFlagsLayout | Information from layout managers |
DebugFlagsSnapshot | Include debug render nodes in the generated snapshots |
DebugFlagsConstraints | Information from the constraints solver |
DebugFlagsBuilderObjects | Log unused GtkBuilder objects |
DebugFlagsA11y | Information about accessibility state changes |
DebugFlagsIconfallback | Information about icon fallback. Since: 4.2 |
AnotherDebugFlags Int | Catch-all for unknown values |
Instances
DialogFlags
data DialogFlags Source #
Flags used to influence dialog construction.
DialogFlagsModal | Make the constructed dialog modal |
DialogFlagsDestroyWithParent | Destroy the dialog when its parent is destroyed |
DialogFlagsUseHeaderBar | Create dialog with actions in header bar instead of action area |
AnotherDialogFlags Int | Catch-all for unknown values |
Instances
EventControllerScrollFlags
data EventControllerScrollFlags Source #
Describes the behavior of a GtkEventControllerScroll
.
EventControllerScrollFlagsNone | Don't emit scroll. |
EventControllerScrollFlagsVertical | Emit scroll with vertical deltas. |
EventControllerScrollFlagsHorizontal | Emit scroll with horizontal deltas. |
EventControllerScrollFlagsDiscrete | Only emit deltas that are multiples of 1. |
EventControllerScrollFlagsKinetic | Emit decelerate after continuous scroll finishes. |
EventControllerScrollFlagsBothAxes | Emit scroll on both axes. |
AnotherEventControllerScrollFlags Int | Catch-all for unknown values |
Instances
FontChooserLevel
data FontChooserLevel Source #
Specifies the granularity of font selection
that is desired in a GtkFontChooser
.
This enumeration may be extended in the future; applications should ignore unknown values.
FontChooserLevelFamily | Allow selecting a font family |
FontChooserLevelStyle | Allow selecting a specific font face |
FontChooserLevelSize | Allow selecting a specific font size |
FontChooserLevelVariations | Allow changing OpenType font variation axes |
FontChooserLevelFeatures | Allow selecting specific OpenType font features |
AnotherFontChooserLevel Int | Catch-all for unknown values |
Instances
IconLookupFlags
data IconLookupFlags Source #
Used to specify options for iconThemeLookupIcon
.
IconLookupFlagsForceRegular | Try to always load regular icons, even when symbolic icon names are given |
IconLookupFlagsForceSymbolic | Try to always load symbolic icons, even when regular icon names are given |
IconLookupFlagsPreload | Starts loading the texture in the background so it is ready when later needed. |
AnotherIconLookupFlags Int | Catch-all for unknown values |
Instances
InputHints
data InputHints Source #
Describes hints that might be taken into account by input methods or applications.
Note that input methods may already tailor their behaviour according
to the GtkInputPurpose
of the entry.
Some common sense is expected when using these flags - mixing
InputHintsLowercase
with any of the uppercase hints makes no sense.
This enumeration may be extended in the future; input methods should ignore unknown values.
InputHintsNone | No special behaviour suggested |
InputHintsSpellcheck | Suggest checking for typos |
InputHintsNoSpellcheck | Suggest not checking for typos |
InputHintsWordCompletion | Suggest word completion |
InputHintsLowercase | Suggest to convert all text to lowercase |
InputHintsUppercaseChars | Suggest to capitalize all text |
InputHintsUppercaseWords | Suggest to capitalize the first character of each word |
InputHintsUppercaseSentences | Suggest to capitalize the first word of each sentence |
InputHintsInhibitOsk | Suggest to not show an onscreen keyboard (e.g for a calculator that already has all the keys). |
InputHintsVerticalWriting | The text is vertical |
InputHintsEmoji | Suggest offering Emoji support |
InputHintsNoEmoji | Suggest not offering Emoji support |
InputHintsPrivate | Request that the input method should not update personalized data (like typing history) |
AnotherInputHints Int | Catch-all for unknown values |
Instances
PickFlags
Flags that influence the behavior of widgetPick
.
PickFlagsDefault | The default behavior, include widgets that are receiving events |
PickFlagsInsensitive | Include widgets that are insensitive |
PickFlagsNonTargetable | Include widgets that are marked as non-targetable. See |
AnotherPickFlags Int | Catch-all for unknown values |
Instances
Enum PickFlags Source # | |
Defined in GI.Gtk.Flags succ :: PickFlags -> PickFlags # pred :: PickFlags -> PickFlags # fromEnum :: PickFlags -> Int # enumFrom :: PickFlags -> [PickFlags] # enumFromThen :: PickFlags -> PickFlags -> [PickFlags] # enumFromTo :: PickFlags -> PickFlags -> [PickFlags] # enumFromThenTo :: PickFlags -> PickFlags -> PickFlags -> [PickFlags] # | |
Show PickFlags Source # | |
Eq PickFlags Source # | |
Ord PickFlags Source # | |
Defined in GI.Gtk.Flags | |
BoxedFlags PickFlags Source # | |
Defined in GI.Gtk.Flags | |
IsGFlag PickFlags Source # | |
Defined in GI.Gtk.Flags | |
TypedObject PickFlags Source # | |
Defined in GI.Gtk.Flags | |
HasParentTypes PickFlags Source # | |
Defined in GI.Gtk.Flags | |
type ParentTypes PickFlags Source # | |
Defined in GI.Gtk.Flags |
PopoverMenuFlags
data PopoverMenuFlags Source #
Flags that affect how popover menus are created from a menu model.
PopoverMenuFlagsNested | Create submenus as nested popovers. Without this flag, submenus are created as sliding pages that replace the main menu. |
AnotherPopoverMenuFlags Int | Catch-all for unknown values |
Instances
PrintCapabilities
data PrintCapabilities Source #
Specifies which features the print dialog should offer.
If neither PrintCapabilitiesGeneratePdf
nor
PrintCapabilitiesGeneratePs
is specified, GTK assumes that all
formats are supported.
PrintCapabilitiesPageSet | Print dialog will offer printing even/odd pages. |
PrintCapabilitiesCopies | Print dialog will allow to print multiple copies. |
PrintCapabilitiesCollate | Print dialog will allow to collate multiple copies. |
PrintCapabilitiesReverse | Print dialog will allow to print pages in reverse order. |
PrintCapabilitiesScale | Print dialog will allow to scale the output. |
PrintCapabilitiesGeneratePdf | The program will send the document to the printer in PDF format |
PrintCapabilitiesGeneratePs | The program will send the document to the printer in Postscript format |
PrintCapabilitiesPreview | Print dialog will offer a preview |
PrintCapabilitiesNumberUp | Print dialog will offer printing multiple pages per sheet |
PrintCapabilitiesNumberUpLayout | Print dialog will allow to rearrange pages when printing multiple pages per sheet |
AnotherPrintCapabilities Int | Catch-all for unknown values |
Instances
ShortcutActionFlags
data ShortcutActionFlags Source #
List of flags that can be passed to action activation.
More flags may be added in the future.
ShortcutActionFlagsExclusive | The action is the only action that can be activated. If this flag is not set, a future activation may select a different action. |
AnotherShortcutActionFlags Int | Catch-all for unknown values |
Instances
StateFlags
data StateFlags Source #
Describes a widget state.
Widget states are used to match the widget against CSS pseudo-classes. Note that GTK extends the regular CSS classes and sometimes uses different names.
StateFlagsNormal | State during normal operation |
StateFlagsActive | Widget is active |
StateFlagsPrelight | Widget has a mouse pointer over it |
StateFlagsSelected | Widget is selected |
StateFlagsInsensitive | Widget is insensitive |
StateFlagsInconsistent | Widget is inconsistent |
StateFlagsFocused | Widget has the keyboard focus |
StateFlagsBackdrop | Widget is in a background toplevel window |
StateFlagsDirLtr | Widget is in left-to-right text direction |
StateFlagsDirRtl | Widget is in right-to-left text direction |
StateFlagsLink | Widget is a link |
StateFlagsVisited | The location the widget points to has already been visited |
StateFlagsChecked | Widget is checked |
StateFlagsDropActive | Widget is highlighted as a drop target for DND |
StateFlagsFocusVisible | Widget has the visible focus |
StateFlagsFocusWithin | Widget contains the keyboard focus |
AnotherStateFlags Int | Catch-all for unknown values |
Instances
StyleContextPrintFlags
data StyleContextPrintFlags Source #
Flags that modify the behavior of styleContextToString
.
New values may be added to this enumeration.
StyleContextPrintFlagsNone | Default value. |
StyleContextPrintFlagsRecurse | Print the entire tree of CSS nodes starting at the style context's node |
StyleContextPrintFlagsShowStyle | Show the values of the CSS properties for each node |
StyleContextPrintFlagsShowChange | Show information about what changes affect the styles |
AnotherStyleContextPrintFlags Int | Catch-all for unknown values |
Instances
TextSearchFlags
data TextSearchFlags Source #
Flags affecting how a search is done.
If neither TextSearchFlagsVisibleOnly
nor TextSearchFlagsTextOnly
are
enabled, the match must be exact; the special 0xFFFC character will match
embedded paintables or child widgets.
TextSearchFlagsVisibleOnly | Search only visible data. A search match may have invisible text interspersed. |
TextSearchFlagsTextOnly | Search only text. A match may have paintables or child widgets mixed inside the matched range. |
TextSearchFlagsCaseInsensitive | The text will be matched regardless of what case it is in. |
AnotherTextSearchFlags Int | Catch-all for unknown values |
Instances
TreeModelFlags
data TreeModelFlags Source #
These flags indicate various properties of a GtkTreeModel
.
They are returned by treeModelGetFlags
, and must be
static for the lifetime of the object. A more complete description
of TreeModelFlagsItersPersist
can be found in the overview of
this section.
TreeModelFlagsItersPersist | iterators survive all signals emitted by the tree |
TreeModelFlagsListOnly | the model is a list only, and never has children |
AnotherTreeModelFlags Int | Catch-all for unknown values |