gi-gtk 4.0.9 → 4.0.10
raw patch · 4 files changed
+10/−8 lines, 4 filesdep −gi-atkdep ~haskell-gisetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: gi-atk
Dependency ranges changed: haskell-gi
API changes (from Hackage documentation)
+ GI.Gtk.Callbacks: drop_closures_TextBufferCommitNotify :: TextBufferCommitNotify -> TextBufferCommitNotify_WithClosures
+ GI.Gtk.Callbacks: dynamic_TextBufferCommitNotify :: (HasCallStack, MonadIO m, IsTextBuffer a) => FunPtr C_TextBufferCommitNotify -> a -> [TextBufferNotifyFlags] -> Word32 -> Word32 -> Ptr () -> m ()
+ GI.Gtk.Callbacks: genClosure_TextBufferCommitNotify :: MonadIO m => TextBufferCommitNotify -> m (GClosure C_TextBufferCommitNotify)
+ GI.Gtk.Callbacks: mk_TextBufferCommitNotify :: C_TextBufferCommitNotify -> IO (FunPtr C_TextBufferCommitNotify)
+ GI.Gtk.Callbacks: noTextBufferCommitNotify :: Maybe TextBufferCommitNotify
+ GI.Gtk.Callbacks: noTextBufferCommitNotify_WithClosures :: Maybe TextBufferCommitNotify_WithClosures
+ GI.Gtk.Callbacks: type C_TextBufferCommitNotify = Ptr TextBuffer -> CUInt -> Word32 -> Word32 -> Ptr () -> IO ()
+ GI.Gtk.Callbacks: type TextBufferCommitNotify = TextBuffer -> [TextBufferNotifyFlags] -> Word32 -> Word32 -> IO ()
+ GI.Gtk.Callbacks: type TextBufferCommitNotify_WithClosures = TextBuffer -> [TextBufferNotifyFlags] -> Word32 -> Word32 -> Ptr () -> IO ()
+ GI.Gtk.Callbacks: wrap_TextBufferCommitNotify :: Maybe (Ptr (FunPtr C_TextBufferCommitNotify)) -> TextBufferCommitNotify_WithClosures -> C_TextBufferCommitNotify
+ GI.Gtk.Enums: AccessiblePropertyHelpText :: AccessibleProperty
+ GI.Gtk.Enums: AnotherFontRendering :: Int -> FontRendering
+ GI.Gtk.Enums: FontRenderingAutomatic :: FontRendering
+ GI.Gtk.Enums: FontRenderingManual :: FontRendering
+ GI.Gtk.Enums: data FontRendering
+ GI.Gtk.Enums: instance Data.GI.Base.BasicTypes.BoxedEnum GI.Gtk.Enums.FontRendering
+ GI.Gtk.Enums: instance Data.GI.Base.BasicTypes.TypedObject GI.Gtk.Enums.FontRendering
+ GI.Gtk.Enums: instance Data.GI.Base.Overloading.HasParentTypes GI.Gtk.Enums.FontRendering
+ GI.Gtk.Enums: instance GHC.Classes.Eq GI.Gtk.Enums.FontRendering
+ GI.Gtk.Enums: instance GHC.Classes.Ord GI.Gtk.Enums.FontRendering
+ GI.Gtk.Enums: instance GHC.Enum.Enum GI.Gtk.Enums.FontRendering
+ GI.Gtk.Enums: instance GHC.Show.Show GI.Gtk.Enums.FontRendering
+ GI.Gtk.Flags: AnotherTextBufferNotifyFlags :: Int -> TextBufferNotifyFlags
+ GI.Gtk.Flags: DebugFlagsCss :: DebugFlags
+ GI.Gtk.Flags: TextBufferNotifyFlagsAfterDelete :: TextBufferNotifyFlags
+ GI.Gtk.Flags: TextBufferNotifyFlagsAfterInsert :: TextBufferNotifyFlags
+ GI.Gtk.Flags: TextBufferNotifyFlagsBeforeDelete :: TextBufferNotifyFlags
+ GI.Gtk.Flags: TextBufferNotifyFlagsBeforeInsert :: TextBufferNotifyFlags
+ GI.Gtk.Flags: data TextBufferNotifyFlags
+ GI.Gtk.Flags: instance Data.GI.Base.BasicTypes.BoxedFlags GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance Data.GI.Base.BasicTypes.IsGFlag GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance Data.GI.Base.BasicTypes.TypedObject GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance Data.GI.Base.Overloading.HasParentTypes GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance GHC.Classes.Eq GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance GHC.Classes.Ord GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance GHC.Enum.Enum GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Flags: instance GHC.Show.Show GI.Gtk.Flags.TextBufferNotifyFlags
+ GI.Gtk.Objects.DropTarget: getDropTargetDrop :: (MonadIO m, IsDropTarget o) => o -> m (Maybe Drop)
+ GI.Gtk.Objects.GraphicsOffload: constructGraphicsOffloadBlackBackground :: (IsGraphicsOffload o, MonadIO m) => Bool -> m (GValueConstruct o)
+ GI.Gtk.Objects.GraphicsOffload: getGraphicsOffloadBlackBackground :: (MonadIO m, IsGraphicsOffload o) => o -> m Bool
+ GI.Gtk.Objects.GraphicsOffload: graphicsOffloadGetBlackBackground :: (HasCallStack, MonadIO m, IsGraphicsOffload a) => a -> m Bool
+ GI.Gtk.Objects.GraphicsOffload: graphicsOffloadSetBlackBackground :: (HasCallStack, MonadIO m, IsGraphicsOffload a) => a -> Bool -> m ()
+ GI.Gtk.Objects.GraphicsOffload: setGraphicsOffloadBlackBackground :: (MonadIO m, IsGraphicsOffload o) => o -> Bool -> m ()
+ GI.Gtk.Objects.Settings: constructSettingsGtkFontRendering :: (IsSettings o, MonadIO m) => FontRendering -> m (GValueConstruct o)
+ GI.Gtk.Objects.Settings: getSettingsGtkFontRendering :: (MonadIO m, IsSettings o) => o -> m FontRendering
+ GI.Gtk.Objects.Settings: setSettingsGtkFontRendering :: (MonadIO m, IsSettings o) => o -> FontRendering -> m ()
+ GI.Gtk.Objects.TextBuffer: textBufferAddCommitNotify :: (HasCallStack, MonadIO m, IsTextBuffer a) => a -> [TextBufferNotifyFlags] -> TextBufferCommitNotify -> m Word32
+ GI.Gtk.Objects.TextBuffer: textBufferRemoveCommitNotify :: (HasCallStack, MonadIO m, IsTextBuffer a) => a -> Word32 -> m ()
+ GI.Gtk.Structs.CssSection: cssSectionGetBytes :: (HasCallStack, MonadIO m) => CssSection -> m (Maybe Bytes)
+ GI.Gtk.Structs.CssSection: cssSectionNewWithBytes :: (HasCallStack, MonadIO m, IsFile a) => Maybe a -> Maybe Bytes -> CssLocation -> CssLocation -> m CssSection
- GI.Gtk.Callbacks: type AssistantPageFunc = -- | /@currentPage@/: The page number used to calculate the next page. Int32 -> -- | __Returns:__ The next page number IO Int32
+ GI.Gtk.Callbacks: type AssistantPageFunc = Int32 -> IO Int32
- GI.Gtk.Callbacks: type AssistantPageFunc_WithClosures = -- | /@currentPage@/: The page number used to calculate the next page. Int32 -> -- | /@data@/: user data. Ptr () -> -- | __Returns:__ The next page number IO Int32
+ GI.Gtk.Callbacks: type AssistantPageFunc_WithClosures = Int32 -> Ptr () -> IO Int32
- GI.Gtk.Callbacks: type BuildableParserEndElementFieldCallback = BuildableParseContext -> Text -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.Gtk.Callbacks: type BuildableParserEndElementFieldCallback = BuildableParseContext -> Text -> IO ()
- GI.Gtk.Callbacks: type BuildableParserEndElementFieldCallback_WithClosures = BuildableParseContext -> Text -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.Gtk.Callbacks: type BuildableParserEndElementFieldCallback_WithClosures = BuildableParseContext -> Text -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type BuildableParserStartElementFieldCallback = BuildableParseContext -> Text -> Text -> Text -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.Gtk.Callbacks: type BuildableParserStartElementFieldCallback = BuildableParseContext -> Text -> Text -> Text -> IO ()
- GI.Gtk.Callbacks: type BuildableParserStartElementFieldCallback_WithClosures = BuildableParseContext -> Text -> Text -> Text -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.Gtk.Callbacks: type BuildableParserStartElementFieldCallback_WithClosures = BuildableParseContext -> Text -> Text -> Text -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type BuildableParserTextFieldCallback = BuildableParseContext -> Text -> CSize -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.Gtk.Callbacks: type BuildableParserTextFieldCallback = BuildableParseContext -> Text -> CSize -> IO ()
- GI.Gtk.Callbacks: type BuildableParserTextFieldCallback_WithClosures = BuildableParseContext -> Text -> CSize -> Ptr () -> -- | /(Can throw 'Data.GI.Base.GError.GError')/ IO ()
+ GI.Gtk.Callbacks: type BuildableParserTextFieldCallback_WithClosures = BuildableParseContext -> Text -> CSize -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type C_BuildableParserEndElementFieldCallback = Ptr BuildableParseContext -> CString -> Ptr () -> Ptr (Ptr GError) -> IO ()
+ GI.Gtk.Callbacks: type C_BuildableParserEndElementFieldCallback = Ptr BuildableParseContext -> CString -> Ptr () -> Ptr Ptr GError -> IO ()
- GI.Gtk.Callbacks: type C_BuildableParserStartElementFieldCallback = Ptr BuildableParseContext -> CString -> CString -> CString -> Ptr () -> Ptr (Ptr GError) -> IO ()
+ GI.Gtk.Callbacks: type C_BuildableParserStartElementFieldCallback = Ptr BuildableParseContext -> CString -> CString -> CString -> Ptr () -> Ptr Ptr GError -> IO ()
- GI.Gtk.Callbacks: type C_BuildableParserTextFieldCallback = Ptr BuildableParseContext -> CString -> CSize -> Ptr () -> Ptr (Ptr GError) -> IO ()
+ GI.Gtk.Callbacks: type C_BuildableParserTextFieldCallback = Ptr BuildableParseContext -> CString -> CSize -> Ptr () -> Ptr Ptr GError -> IO ()
- GI.Gtk.Callbacks: type C_FlowBoxCreateWidgetFunc = Ptr Object -> Ptr () -> IO (Ptr Widget)
+ GI.Gtk.Callbacks: type C_FlowBoxCreateWidgetFunc = Ptr Object -> Ptr () -> IO Ptr Widget
- GI.Gtk.Callbacks: type C_ListBoxCreateWidgetFunc = Ptr Object -> Ptr () -> IO (Ptr Widget)
+ GI.Gtk.Callbacks: type C_ListBoxCreateWidgetFunc = Ptr Object -> Ptr () -> IO Ptr Widget
- GI.Gtk.Callbacks: type C_MapListModelMapFunc = Ptr Object -> Ptr () -> IO (Ptr Object)
+ GI.Gtk.Callbacks: type C_MapListModelMapFunc = Ptr Object -> Ptr () -> IO Ptr Object
- GI.Gtk.Callbacks: type C_TreeListModelCreateModelFunc = Ptr Object -> Ptr () -> IO (Ptr ListModel)
+ GI.Gtk.Callbacks: type C_TreeListModelCreateModelFunc = Ptr Object -> Ptr () -> IO Ptr ListModel
- GI.Gtk.Callbacks: type CellAllocCallback = -- | /@renderer@/: the cell renderer to operate on CellRenderer -> -- | /@cellArea@/: the area allocated to /@renderer@/ inside the rectangle -- provided to 'GI.Gtk.Objects.CellArea.cellAreaForeachAlloc'. Rectangle -> -- | /@cellBackground@/: the background area for /@renderer@/ inside the -- background area provided to 'GI.Gtk.Objects.CellArea.cellAreaForeachAlloc'. Rectangle -> -- | __Returns:__ 'P.True' to stop iterating over cells. IO Bool
+ GI.Gtk.Callbacks: type CellAllocCallback = CellRenderer -> Rectangle -> Rectangle -> IO Bool
- GI.Gtk.Callbacks: type CellAllocCallback_WithClosures = -- | /@renderer@/: the cell renderer to operate on CellRenderer -> -- | /@cellArea@/: the area allocated to /@renderer@/ inside the rectangle -- provided to 'GI.Gtk.Objects.CellArea.cellAreaForeachAlloc'. Rectangle -> -- | /@cellBackground@/: the background area for /@renderer@/ inside the -- background area provided to 'GI.Gtk.Objects.CellArea.cellAreaForeachAlloc'. Rectangle -> -- | /@data@/: user-supplied data Ptr () -> -- | __Returns:__ 'P.True' to stop iterating over cells. IO Bool
+ GI.Gtk.Callbacks: type CellAllocCallback_WithClosures = CellRenderer -> Rectangle -> Rectangle -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type CellCallback = -- | /@renderer@/: the cell renderer to operate on CellRenderer -> -- | __Returns:__ 'P.True' to stop iterating over cells. IO Bool
+ GI.Gtk.Callbacks: type CellCallback = CellRenderer -> IO Bool
- GI.Gtk.Callbacks: type CellCallback_WithClosures = -- | /@renderer@/: the cell renderer to operate on CellRenderer -> -- | /@data@/: user-supplied data Ptr () -> -- | __Returns:__ 'P.True' to stop iterating over cells. IO Bool
+ GI.Gtk.Callbacks: type CellCallback_WithClosures = CellRenderer -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type CellLayoutDataFunc = -- | /@cellLayout@/: a @GtkCellLayout@ CellLayout -> -- | /@cell@/: the cell renderer whose value is to be set CellRenderer -> -- | /@treeModel@/: the model TreeModel -> -- | /@iter@/: a @GtkTreeIter@ indicating the row to set the value for TreeIter -> IO ()
+ GI.Gtk.Callbacks: type CellLayoutDataFunc = CellLayout -> CellRenderer -> TreeModel -> TreeIter -> IO ()
- GI.Gtk.Callbacks: type CellLayoutDataFunc_WithClosures = -- | /@cellLayout@/: a @GtkCellLayout@ CellLayout -> -- | /@cell@/: the cell renderer whose value is to be set CellRenderer -> -- | /@treeModel@/: the model TreeModel -> -- | /@iter@/: a @GtkTreeIter@ indicating the row to set the value for TreeIter -> -- | /@data@/: user data passed to 'GI.Gtk.Interfaces.CellLayout.cellLayoutSetCellDataFunc' Ptr () -> IO ()
+ GI.Gtk.Callbacks: type CellLayoutDataFunc_WithClosures = CellLayout -> CellRenderer -> TreeModel -> TreeIter -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type CustomAllocateFunc = -- | /@widget@/: the widget to allocate Widget -> -- | /@width@/: the new width of the widget Int32 -> -- | /@height@/: the new height of the widget Int32 -> -- | /@baseline@/: the new baseline of the widget, or -1 Int32 -> IO ()
+ GI.Gtk.Callbacks: type CustomAllocateFunc = Widget -> Int32 -> Int32 -> Int32 -> IO ()
- GI.Gtk.Callbacks: type CustomFilterFunc = -- | /@item@/: The item to be matched Object -> -- | __Returns:__ 'P.True' to keep the item around IO Bool
+ GI.Gtk.Callbacks: type CustomFilterFunc = Object -> IO Bool
- GI.Gtk.Callbacks: type CustomFilterFunc_WithClosures = -- | /@item@/: The item to be matched Object -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ 'P.True' to keep the item around IO Bool
+ GI.Gtk.Callbacks: type CustomFilterFunc_WithClosures = Object -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type CustomMeasureFunc = -- | /@widget@/: the widget to be measured Widget -> -- | /@orientation@/: the direction to be measured Orientation -> -- | /@forSize@/: the size to be measured for Int32 -> IO ((Int32, Int32, Int32, Int32))
+ GI.Gtk.Callbacks: type CustomMeasureFunc = Widget -> Orientation -> Int32 -> IO (Int32, Int32, Int32, Int32)
- GI.Gtk.Callbacks: type CustomRequestModeFunc = -- | /@widget@/: the widget to be queried Widget -> -- | __Returns:__ the size request mode IO SizeRequestMode
+ GI.Gtk.Callbacks: type CustomRequestModeFunc = Widget -> IO SizeRequestMode
- GI.Gtk.Callbacks: type DrawingAreaDrawFunc = -- | /@drawingArea@/: the @GtkDrawingArea@ to redraw DrawingArea -> -- | /@cr@/: the context to draw to Context -> -- | /@width@/: the actual width of the contents. This value will be at least -- as wide as GtkDrawingArea:width. Int32 -> -- | /@height@/: the actual height of the contents. This value will be at least -- as wide as GtkDrawingArea:height. Int32 -> IO ()
+ GI.Gtk.Callbacks: type DrawingAreaDrawFunc = DrawingArea -> Context -> Int32 -> Int32 -> IO ()
- GI.Gtk.Callbacks: type DrawingAreaDrawFunc_WithClosures = -- | /@drawingArea@/: the @GtkDrawingArea@ to redraw DrawingArea -> -- | /@cr@/: the context to draw to Context -> -- | /@width@/: the actual width of the contents. This value will be at least -- as wide as GtkDrawingArea:width. Int32 -> -- | /@height@/: the actual height of the contents. This value will be at least -- as wide as GtkDrawingArea:height. Int32 -> -- | /@userData@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type DrawingAreaDrawFunc_WithClosures = DrawingArea -> Context -> Int32 -> Int32 -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type EntryCompletionMatchFunc = -- | /@completion@/: the @GtkEntryCompletion@ EntryCompletion -> -- | /@key@/: the string to match, normalized and case-folded Text -> -- | /@iter@/: a @GtkTreeIter@ indicating the row to match TreeIter -> -- | __Returns:__ 'P.True' if /@iter@/ should be displayed as a possible completion -- for /@key@/ IO Bool
+ GI.Gtk.Callbacks: type EntryCompletionMatchFunc = EntryCompletion -> Text -> TreeIter -> IO Bool
- GI.Gtk.Callbacks: type EntryCompletionMatchFunc_WithClosures = -- | /@completion@/: the @GtkEntryCompletion@ EntryCompletion -> -- | /@key@/: the string to match, normalized and case-folded Text -> -- | /@iter@/: a @GtkTreeIter@ indicating the row to match TreeIter -> -- | /@userData@/: user data given to 'GI.Gtk.Objects.EntryCompletion.entryCompletionSetMatchFunc' Ptr () -> -- | __Returns:__ 'P.True' if /@iter@/ should be displayed as a possible completion -- for /@key@/ IO Bool
+ GI.Gtk.Callbacks: type EntryCompletionMatchFunc_WithClosures = EntryCompletion -> Text -> TreeIter -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type ExpressionNotify_WithClosures = -- | /@userData@/: data passed to 'GI.Gtk.Objects.Expression.expressionWatch' Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ExpressionNotify_WithClosures = Ptr () -> IO ()
- GI.Gtk.Callbacks: type FlowBoxCreateWidgetFunc = -- | /@item@/: the item from the model for which to create a widget for Object -> -- | __Returns:__ a @GtkWidget@ that represents /@item@/ IO Widget
+ GI.Gtk.Callbacks: type FlowBoxCreateWidgetFunc = Object -> IO Widget
- GI.Gtk.Callbacks: type FlowBoxCreateWidgetFunc_WithClosures = -- | /@item@/: the item from the model for which to create a widget for Object -> -- | /@userData@/: user data from 'GI.Gtk.Objects.FlowBox.flowBoxBindModel' Ptr () -> -- | __Returns:__ a @GtkWidget@ that represents /@item@/ IO Widget
+ GI.Gtk.Callbacks: type FlowBoxCreateWidgetFunc_WithClosures = Object -> Ptr () -> IO Widget
- GI.Gtk.Callbacks: type FlowBoxFilterFunc = -- | /@child@/: a @GtkFlowBoxChild@ that may be filtered FlowBoxChild -> -- | __Returns:__ 'P.True' if the row should be visible, 'P.False' otherwise IO Bool
+ GI.Gtk.Callbacks: type FlowBoxFilterFunc = FlowBoxChild -> IO Bool
- GI.Gtk.Callbacks: type FlowBoxFilterFunc_WithClosures = -- | /@child@/: a @GtkFlowBoxChild@ that may be filtered FlowBoxChild -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ 'P.True' if the row should be visible, 'P.False' otherwise IO Bool
+ GI.Gtk.Callbacks: type FlowBoxFilterFunc_WithClosures = FlowBoxChild -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type FlowBoxForeachFunc = -- | /@box@/: a @GtkFlowBox@ FlowBox -> -- | /@child@/: a @GtkFlowBoxChild@ FlowBoxChild -> IO ()
+ GI.Gtk.Callbacks: type FlowBoxForeachFunc = FlowBox -> FlowBoxChild -> IO ()
- GI.Gtk.Callbacks: type FlowBoxForeachFunc_WithClosures = -- | /@box@/: a @GtkFlowBox@ FlowBox -> -- | /@child@/: a @GtkFlowBoxChild@ FlowBoxChild -> -- | /@userData@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type FlowBoxForeachFunc_WithClosures = FlowBox -> FlowBoxChild -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type FlowBoxSortFunc = -- | /@child1@/: the first child FlowBoxChild -> -- | /@child2@/: the second child FlowBoxChild -> -- | __Returns:__ \< 0 if /@child1@/ should be before /@child2@/, 0 if -- they are equal, and > 0 otherwise IO Int32
+ GI.Gtk.Callbacks: type FlowBoxSortFunc = FlowBoxChild -> FlowBoxChild -> IO Int32
- GI.Gtk.Callbacks: type FlowBoxSortFunc_WithClosures = -- | /@child1@/: the first child FlowBoxChild -> -- | /@child2@/: the second child FlowBoxChild -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ \< 0 if /@child1@/ should be before /@child2@/, 0 if -- they are equal, and > 0 otherwise IO Int32
+ GI.Gtk.Callbacks: type FlowBoxSortFunc_WithClosures = FlowBoxChild -> FlowBoxChild -> Ptr () -> IO Int32
- GI.Gtk.Callbacks: type FontFilterFunc = -- | /@family@/: a @PangoFontFamily@ FontFamily -> -- | /@face@/: a @PangoFontFace@ belonging to /@family@/ FontFace -> -- | __Returns:__ 'P.True' if the font should be displayed IO Bool
+ GI.Gtk.Callbacks: type FontFilterFunc = FontFamily -> FontFace -> IO Bool
- GI.Gtk.Callbacks: type FontFilterFunc_WithClosures = -- | /@family@/: a @PangoFontFamily@ FontFamily -> -- | /@face@/: a @PangoFontFace@ belonging to /@family@/ FontFace -> -- | /@data@/: user data passed to 'GI.Gtk.Interfaces.FontChooser.fontChooserSetFilterFunc' Ptr () -> -- | __Returns:__ 'P.True' if the font should be displayed IO Bool
+ GI.Gtk.Callbacks: type FontFilterFunc_WithClosures = FontFamily -> FontFace -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type IconViewForeachFunc = -- | /@iconView@/: a @GtkIconView@ IconView -> -- | /@path@/: The @GtkTreePath@ of a selected row TreePath -> IO ()
+ GI.Gtk.Callbacks: type IconViewForeachFunc = IconView -> TreePath -> IO ()
- GI.Gtk.Callbacks: type IconViewForeachFunc_WithClosures = -- | /@iconView@/: a @GtkIconView@ IconView -> -- | /@path@/: The @GtkTreePath@ of a selected row TreePath -> -- | /@data@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type IconViewForeachFunc_WithClosures = IconView -> TreePath -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type ListBoxCreateWidgetFunc = -- | /@item@/: the item from the model for which to create a widget for Object -> -- | __Returns:__ a @GtkWidget@ that represents /@item@/ IO Widget
+ GI.Gtk.Callbacks: type ListBoxCreateWidgetFunc = Object -> IO Widget
- GI.Gtk.Callbacks: type ListBoxCreateWidgetFunc_WithClosures = -- | /@item@/: the item from the model for which to create a widget for Object -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ a @GtkWidget@ that represents /@item@/ IO Widget
+ GI.Gtk.Callbacks: type ListBoxCreateWidgetFunc_WithClosures = Object -> Ptr () -> IO Widget
- GI.Gtk.Callbacks: type ListBoxFilterFunc = -- | /@row@/: the row that may be filtered ListBoxRow -> -- | __Returns:__ 'P.True' if the row should be visible, 'P.False' otherwise IO Bool
+ GI.Gtk.Callbacks: type ListBoxFilterFunc = ListBoxRow -> IO Bool
- GI.Gtk.Callbacks: type ListBoxFilterFunc_WithClosures = -- | /@row@/: the row that may be filtered ListBoxRow -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ 'P.True' if the row should be visible, 'P.False' otherwise IO Bool
+ GI.Gtk.Callbacks: type ListBoxFilterFunc_WithClosures = ListBoxRow -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type ListBoxForeachFunc = -- | /@box@/: a @GtkListBox@ ListBox -> -- | /@row@/: a @GtkListBoxRow@ ListBoxRow -> IO ()
+ GI.Gtk.Callbacks: type ListBoxForeachFunc = ListBox -> ListBoxRow -> IO ()
- GI.Gtk.Callbacks: type ListBoxForeachFunc_WithClosures = -- | /@box@/: a @GtkListBox@ ListBox -> -- | /@row@/: a @GtkListBoxRow@ ListBoxRow -> -- | /@userData@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ListBoxForeachFunc_WithClosures = ListBox -> ListBoxRow -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type ListBoxSortFunc = -- | /@row1@/: the first row ListBoxRow -> -- | /@row2@/: the second row ListBoxRow -> -- | __Returns:__ \< 0 if /@row1@/ should be before /@row2@/, 0 if they are -- equal and > 0 otherwise IO Int32
+ GI.Gtk.Callbacks: type ListBoxSortFunc = ListBoxRow -> ListBoxRow -> IO Int32
- GI.Gtk.Callbacks: type ListBoxSortFunc_WithClosures = -- | /@row1@/: the first row ListBoxRow -> -- | /@row2@/: the second row ListBoxRow -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ \< 0 if /@row1@/ should be before /@row2@/, 0 if they are -- equal and > 0 otherwise IO Int32
+ GI.Gtk.Callbacks: type ListBoxSortFunc_WithClosures = ListBoxRow -> ListBoxRow -> Ptr () -> IO Int32
- GI.Gtk.Callbacks: type ListBoxUpdateHeaderFunc = -- | /@row@/: the row to update ListBoxRow -> -- | /@before@/: the row before /@row@/, or 'P.Nothing' if it is first Maybe ListBoxRow -> IO ()
+ GI.Gtk.Callbacks: type ListBoxUpdateHeaderFunc = ListBoxRow -> Maybe ListBoxRow -> IO ()
- GI.Gtk.Callbacks: type ListBoxUpdateHeaderFunc_WithClosures = -- | /@row@/: the row to update ListBoxRow -> -- | /@before@/: the row before /@row@/, or 'P.Nothing' if it is first Maybe ListBoxRow -> -- | /@userData@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type ListBoxUpdateHeaderFunc_WithClosures = ListBoxRow -> Maybe ListBoxRow -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type MapListModelMapFunc = -- | /@item@/: The item to map Object -> -- | __Returns:__ The item to map to IO Object
+ GI.Gtk.Callbacks: type MapListModelMapFunc = Object -> IO Object
- GI.Gtk.Callbacks: type MapListModelMapFunc_WithClosures = -- | /@item@/: The item to map Object -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ The item to map to IO Object
+ GI.Gtk.Callbacks: type MapListModelMapFunc_WithClosures = Object -> Ptr () -> IO Object
- GI.Gtk.Callbacks: type MenuButtonCreatePopupFunc = -- | /@menuButton@/: the @GtkMenuButton@ MenuButton -> IO ()
+ GI.Gtk.Callbacks: type MenuButtonCreatePopupFunc = MenuButton -> IO ()
- GI.Gtk.Callbacks: type MenuButtonCreatePopupFunc_WithClosures = -- | /@menuButton@/: the @GtkMenuButton@ MenuButton -> -- | /@userData@/: User data passed to 'GI.Gtk.Objects.MenuButton.menuButtonSetCreatePopupFunc' Ptr () -> IO ()
+ GI.Gtk.Callbacks: type MenuButtonCreatePopupFunc_WithClosures = MenuButton -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type PageSetupDoneFunc = -- | /@pageSetup@/: the @GtkPageSetup@ that has been passed to -- 'GI.Gtk.Functions.printRunPageSetupDialogAsync' PageSetup -> IO ()
+ GI.Gtk.Callbacks: type PageSetupDoneFunc = PageSetup -> IO ()
- GI.Gtk.Callbacks: type PageSetupDoneFunc_WithClosures = -- | /@pageSetup@/: the @GtkPageSetup@ that has been passed to -- 'GI.Gtk.Functions.printRunPageSetupDialogAsync' PageSetup -> -- | /@data@/: user data that has been passed to -- 'GI.Gtk.Functions.printRunPageSetupDialogAsync' Ptr () -> IO ()
+ GI.Gtk.Callbacks: type PageSetupDoneFunc_WithClosures = PageSetup -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type PrintJobCompleteFunc = -- | /@printJob@/: the @GtkPrintJob@ PrintJob -> -- | /@error@/: a @GError@ that contains error information if the sending -- of the print job failed, otherwise 'P.Nothing' GError -> IO ()
+ GI.Gtk.Callbacks: type PrintJobCompleteFunc = PrintJob -> GError -> IO ()
- GI.Gtk.Callbacks: type PrintJobCompleteFunc_WithClosures = -- | /@printJob@/: the @GtkPrintJob@ PrintJob -> -- | /@userData@/: user data that has been passed to 'GI.Gtk.Objects.PrintJob.printJobSend' Ptr () -> -- | /@error@/: a @GError@ that contains error information if the sending -- of the print job failed, otherwise 'P.Nothing' GError -> IO ()
+ GI.Gtk.Callbacks: type PrintJobCompleteFunc_WithClosures = PrintJob -> Ptr () -> GError -> IO ()
- GI.Gtk.Callbacks: type PrinterFunc = -- | /@printer@/: a @GtkPrinter@ Printer -> -- | __Returns:__ 'P.True' to stop the enumeration, 'P.False' to continue IO Bool
+ GI.Gtk.Callbacks: type PrinterFunc = Printer -> IO Bool
- GI.Gtk.Callbacks: type PrinterFunc_WithClosures = -- | /@printer@/: a @GtkPrinter@ Printer -> -- | /@data@/: user data passed to 'GI.Gtk.Functions.enumeratePrinters' Ptr () -> -- | __Returns:__ 'P.True' to stop the enumeration, 'P.False' to continue IO Bool
+ GI.Gtk.Callbacks: type PrinterFunc_WithClosures = Printer -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type ScaleFormatValueFunc = -- | /@scale@/: The @GtkScale@ Scale -> -- | /@value@/: The numeric value to format Double -> -- | __Returns:__ A newly allocated string describing a textual representation -- of the given numerical value. IO Text
+ GI.Gtk.Callbacks: type ScaleFormatValueFunc = Scale -> Double -> IO Text
- GI.Gtk.Callbacks: type ScaleFormatValueFunc_WithClosures = -- | /@scale@/: The @GtkScale@ Scale -> -- | /@value@/: The numeric value to format Double -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ A newly allocated string describing a textual representation -- of the given numerical value. IO Text
+ GI.Gtk.Callbacks: type ScaleFormatValueFunc_WithClosures = Scale -> Double -> Ptr () -> IO Text
- GI.Gtk.Callbacks: type ShortcutFunc = -- | /@widget@/: The widget passed to the activation Widget -> -- | /@args@/: The arguments passed to the activation Maybe GVariant -> -- | __Returns:__ 'P.True' if the action was successful. IO Bool
+ GI.Gtk.Callbacks: type ShortcutFunc = Widget -> Maybe GVariant -> IO Bool
- GI.Gtk.Callbacks: type ShortcutFunc_WithClosures = -- | /@widget@/: The widget passed to the activation Widget -> -- | /@args@/: The arguments passed to the activation Maybe GVariant -> -- | /@userData@/: The user data provided when activating the action Ptr () -> -- | __Returns:__ 'P.True' if the action was successful. IO Bool
+ GI.Gtk.Callbacks: type ShortcutFunc_WithClosures = Widget -> Maybe GVariant -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TextCharPredicate = -- | /@ch@/: a Unicode code point Char -> -- | __Returns:__ 'P.True' if the predicate is satisfied, and the iteration should -- stop, and 'P.False' otherwise IO Bool
+ GI.Gtk.Callbacks: type TextCharPredicate = Char -> IO Bool
- GI.Gtk.Callbacks: type TextCharPredicate_WithClosures = -- | /@ch@/: a Unicode code point Char -> -- | /@userData@/: data passed to the callback Ptr () -> -- | __Returns:__ 'P.True' if the predicate is satisfied, and the iteration should -- stop, and 'P.False' otherwise IO Bool
+ GI.Gtk.Callbacks: type TextCharPredicate_WithClosures = Char -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TextTagTableForeach = -- | /@tag@/: the @GtkTextTag@ TextTag -> IO ()
+ GI.Gtk.Callbacks: type TextTagTableForeach = TextTag -> IO ()
- GI.Gtk.Callbacks: type TextTagTableForeach_WithClosures = -- | /@tag@/: the @GtkTextTag@ TextTag -> -- | /@data@/: data passed to 'GI.Gtk.Objects.TextTagTable.textTagTableForeach' Ptr () -> IO ()
+ GI.Gtk.Callbacks: type TextTagTableForeach_WithClosures = TextTag -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type TickCallback = -- | /@widget@/: the widget Widget -> -- | /@frameClock@/: the frame clock for the widget (same as calling 'GI.Gtk.Objects.Widget.widgetGetFrameClock') FrameClock -> -- | __Returns:__ 'GI.GLib.Constants.SOURCE_CONTINUE' if the tick callback should continue to be called, -- 'GI.GLib.Constants.SOURCE_REMOVE' if the tick callback should be removed. IO Bool
+ GI.Gtk.Callbacks: type TickCallback = Widget -> FrameClock -> IO Bool
- GI.Gtk.Callbacks: type TickCallback_WithClosures = -- | /@widget@/: the widget Widget -> -- | /@frameClock@/: the frame clock for the widget (same as calling 'GI.Gtk.Objects.Widget.widgetGetFrameClock') FrameClock -> -- | /@userData@/: user data passed to 'GI.Gtk.Objects.Widget.widgetAddTickCallback'. Ptr () -> -- | __Returns:__ 'GI.GLib.Constants.SOURCE_CONTINUE' if the tick callback should continue to be called, -- 'GI.GLib.Constants.SOURCE_REMOVE' if the tick callback should be removed. IO Bool
+ GI.Gtk.Callbacks: type TickCallback_WithClosures = Widget -> FrameClock -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TreeCellDataFunc = -- | /@treeColumn@/: A @GtkTreeViewColumn@ TreeViewColumn -> -- | /@cell@/: The @GtkCellRenderer@ that is being rendered by /@treeColumn@/ CellRenderer -> -- | /@treeModel@/: The @GtkTreeModel@ being rendered TreeModel -> -- | /@iter@/: A @GtkTreeIter@ of the current row rendered TreeIter -> IO ()
+ GI.Gtk.Callbacks: type TreeCellDataFunc = TreeViewColumn -> CellRenderer -> TreeModel -> TreeIter -> IO ()
- GI.Gtk.Callbacks: type TreeCellDataFunc_WithClosures = -- | /@treeColumn@/: A @GtkTreeViewColumn@ TreeViewColumn -> -- | /@cell@/: The @GtkCellRenderer@ that is being rendered by /@treeColumn@/ CellRenderer -> -- | /@treeModel@/: The @GtkTreeModel@ being rendered TreeModel -> -- | /@iter@/: A @GtkTreeIter@ of the current row rendered TreeIter -> -- | /@data@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type TreeCellDataFunc_WithClosures = TreeViewColumn -> CellRenderer -> TreeModel -> TreeIter -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type TreeIterCompareFunc = -- | /@model@/: The @GtkTreeModel@ the comparison is within TreeModel -> -- | /@a@/: A @GtkTreeIter@ in /@model@/ TreeIter -> -- | /@b@/: Another @GtkTreeIter@ in /@model@/ TreeIter -> -- | __Returns:__ a negative integer, zero or a positive integer depending on whether -- /@a@/ sorts before, with or after /@b@/ IO Int32
+ GI.Gtk.Callbacks: type TreeIterCompareFunc = TreeModel -> TreeIter -> TreeIter -> IO Int32
- GI.Gtk.Callbacks: type TreeIterCompareFunc_WithClosures = -- | /@model@/: The @GtkTreeModel@ the comparison is within TreeModel -> -- | /@a@/: A @GtkTreeIter@ in /@model@/ TreeIter -> -- | /@b@/: Another @GtkTreeIter@ in /@model@/ TreeIter -> -- | /@userData@/: Data passed when the compare func is assigned e.g. by -- 'GI.Gtk.Interfaces.TreeSortable.treeSortableSetSortFunc' Ptr () -> -- | __Returns:__ a negative integer, zero or a positive integer depending on whether -- /@a@/ sorts before, with or after /@b@/ IO Int32
+ GI.Gtk.Callbacks: type TreeIterCompareFunc_WithClosures = TreeModel -> TreeIter -> TreeIter -> Ptr () -> IO Int32
- GI.Gtk.Callbacks: type TreeListModelCreateModelFunc = -- | /@item@/: The item that is being expanded Object -> -- | __Returns:__ The model tracking the children of -- /@item@/ or 'P.Nothing' if /@item@/ can never have children IO (Maybe ListModel)
+ GI.Gtk.Callbacks: type TreeListModelCreateModelFunc = Object -> IO Maybe ListModel
- GI.Gtk.Callbacks: type TreeListModelCreateModelFunc_WithClosures = -- | /@item@/: The item that is being expanded Object -> -- | /@userData@/: User data passed when registering the function Ptr () -> -- | __Returns:__ The model tracking the children of -- /@item@/ or 'P.Nothing' if /@item@/ can never have children IO (Maybe ListModel)
+ GI.Gtk.Callbacks: type TreeListModelCreateModelFunc_WithClosures = Object -> Ptr () -> IO Maybe ListModel
- GI.Gtk.Callbacks: type TreeModelFilterModifyFunc = -- | /@model@/: the @GtkTreeModelFilter@ TreeModel -> -- | /@iter@/: a @GtkTreeIter@ pointing to the row whose display values are determined TreeIter -> -- | /@value@/: A @GValue@ which is already initialized for -- with the correct type for the column /@column@/. GValue -> -- | /@column@/: the column whose display value is determined Int32 -> IO ()
+ GI.Gtk.Callbacks: type TreeModelFilterModifyFunc = TreeModel -> TreeIter -> GValue -> Int32 -> IO ()
- GI.Gtk.Callbacks: type TreeModelFilterModifyFunc_WithClosures = -- | /@model@/: the @GtkTreeModelFilter@ TreeModel -> -- | /@iter@/: a @GtkTreeIter@ pointing to the row whose display values are determined TreeIter -> -- | /@value@/: A @GValue@ which is already initialized for -- with the correct type for the column /@column@/. GValue -> -- | /@column@/: the column whose display value is determined Int32 -> -- | /@data@/: user data given to 'GI.Gtk.Objects.TreeModelFilter.treeModelFilterSetModifyFunc' Ptr () -> IO ()
+ GI.Gtk.Callbacks: type TreeModelFilterModifyFunc_WithClosures = TreeModel -> TreeIter -> GValue -> Int32 -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type TreeModelFilterVisibleFunc = -- | /@model@/: the child model of the @GtkTreeModelFilter@ TreeModel -> -- | /@iter@/: a @GtkTreeIter@ pointing to the row in /@model@/ whose visibility -- is determined TreeIter -> -- | __Returns:__ Whether the row indicated by /@iter@/ is visible. IO Bool
+ GI.Gtk.Callbacks: type TreeModelFilterVisibleFunc = TreeModel -> TreeIter -> IO Bool
- GI.Gtk.Callbacks: type TreeModelFilterVisibleFunc_WithClosures = -- | /@model@/: the child model of the @GtkTreeModelFilter@ TreeModel -> -- | /@iter@/: a @GtkTreeIter@ pointing to the row in /@model@/ whose visibility -- is determined TreeIter -> -- | /@data@/: user data given to 'GI.Gtk.Objects.TreeModelFilter.treeModelFilterSetVisibleFunc' Ptr () -> -- | __Returns:__ Whether the row indicated by /@iter@/ is visible. IO Bool
+ GI.Gtk.Callbacks: type TreeModelFilterVisibleFunc_WithClosures = TreeModel -> TreeIter -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TreeModelForeachFunc = -- | /@model@/: the @GtkTreeModel@ being iterated TreeModel -> -- | /@path@/: the current @GtkTreePath@ TreePath -> -- | /@iter@/: the current @GtkTreeIter@ TreeIter -> -- | __Returns:__ 'P.True' to stop iterating, 'P.False' to continue IO Bool
+ GI.Gtk.Callbacks: type TreeModelForeachFunc = TreeModel -> TreePath -> TreeIter -> IO Bool
- GI.Gtk.Callbacks: type TreeModelForeachFunc_WithClosures = -- | /@model@/: the @GtkTreeModel@ being iterated TreeModel -> -- | /@path@/: the current @GtkTreePath@ TreePath -> -- | /@iter@/: the current @GtkTreeIter@ TreeIter -> -- | /@data@/: The user data passed to 'GI.Gtk.Interfaces.TreeModel.treeModelForeach' Ptr () -> -- | __Returns:__ 'P.True' to stop iterating, 'P.False' to continue IO Bool
+ GI.Gtk.Callbacks: type TreeModelForeachFunc_WithClosures = TreeModel -> TreePath -> TreeIter -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TreeSelectionForeachFunc = -- | /@model@/: The @GtkTreeModel@ being viewed TreeModel -> -- | /@path@/: The @GtkTreePath@ of a selected row TreePath -> -- | /@iter@/: A @GtkTreeIter@ pointing to a selected row TreeIter -> IO ()
+ GI.Gtk.Callbacks: type TreeSelectionForeachFunc = TreeModel -> TreePath -> TreeIter -> IO ()
- GI.Gtk.Callbacks: type TreeSelectionForeachFunc_WithClosures = -- | /@model@/: The @GtkTreeModel@ being viewed TreeModel -> -- | /@path@/: The @GtkTreePath@ of a selected row TreePath -> -- | /@iter@/: A @GtkTreeIter@ pointing to a selected row TreeIter -> -- | /@data@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type TreeSelectionForeachFunc_WithClosures = TreeModel -> TreePath -> TreeIter -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type TreeSelectionFunc = -- | /@selection@/: A @GtkTreeSelection@ TreeSelection -> -- | /@model@/: A @GtkTreeModel@ being viewed TreeModel -> -- | /@path@/: The @GtkTreePath@ of the row in question TreePath -> -- | /@pathCurrentlySelected@/: 'P.True', if the path is currently selected Bool -> -- | __Returns:__ 'P.True', if the selection state of the row can be toggled IO Bool
+ GI.Gtk.Callbacks: type TreeSelectionFunc = TreeSelection -> TreeModel -> TreePath -> Bool -> IO Bool
- GI.Gtk.Callbacks: type TreeSelectionFunc_WithClosures = -- | /@selection@/: A @GtkTreeSelection@ TreeSelection -> -- | /@model@/: A @GtkTreeModel@ being viewed TreeModel -> -- | /@path@/: The @GtkTreePath@ of the row in question TreePath -> -- | /@pathCurrentlySelected@/: 'P.True', if the path is currently selected Bool -> -- | /@data@/: user data Ptr () -> -- | __Returns:__ 'P.True', if the selection state of the row can be toggled IO Bool
+ GI.Gtk.Callbacks: type TreeSelectionFunc_WithClosures = TreeSelection -> TreeModel -> TreePath -> Bool -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TreeViewColumnDropFunc = -- | /@treeView@/: A @GtkTreeView@ TreeView -> -- | /@column@/: The @GtkTreeViewColumn@ being dragged TreeViewColumn -> -- | /@prevColumn@/: A @GtkTreeViewColumn@ on one side of /@column@/ TreeViewColumn -> -- | /@nextColumn@/: A @GtkTreeViewColumn@ on the other side of /@column@/ TreeViewColumn -> -- | __Returns:__ 'P.True', if /@column@/ can be dropped in this spot IO Bool
+ GI.Gtk.Callbacks: type TreeViewColumnDropFunc = TreeView -> TreeViewColumn -> TreeViewColumn -> TreeViewColumn -> IO Bool
- GI.Gtk.Callbacks: type TreeViewColumnDropFunc_WithClosures = -- | /@treeView@/: A @GtkTreeView@ TreeView -> -- | /@column@/: The @GtkTreeViewColumn@ being dragged TreeViewColumn -> -- | /@prevColumn@/: A @GtkTreeViewColumn@ on one side of /@column@/ TreeViewColumn -> -- | /@nextColumn@/: A @GtkTreeViewColumn@ on the other side of /@column@/ TreeViewColumn -> -- | /@data@/: user data Ptr () -> -- | __Returns:__ 'P.True', if /@column@/ can be dropped in this spot IO Bool
+ GI.Gtk.Callbacks: type TreeViewColumnDropFunc_WithClosures = TreeView -> TreeViewColumn -> TreeViewColumn -> TreeViewColumn -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TreeViewMappingFunc = -- | /@treeView@/: A @GtkTreeView@ TreeView -> -- | /@path@/: The path that’s expanded TreePath -> IO ()
+ GI.Gtk.Callbacks: type TreeViewMappingFunc = TreeView -> TreePath -> IO ()
- GI.Gtk.Callbacks: type TreeViewMappingFunc_WithClosures = -- | /@treeView@/: A @GtkTreeView@ TreeView -> -- | /@path@/: The path that’s expanded TreePath -> -- | /@userData@/: user data Ptr () -> IO ()
+ GI.Gtk.Callbacks: type TreeViewMappingFunc_WithClosures = TreeView -> TreePath -> Ptr () -> IO ()
- GI.Gtk.Callbacks: type TreeViewRowSeparatorFunc = -- | /@model@/: the @GtkTreeModel@ TreeModel -> -- | /@iter@/: a @GtkTreeIter@ pointing at a row in /@model@/ TreeIter -> -- | __Returns:__ 'P.True' if the row is a separator IO Bool
+ GI.Gtk.Callbacks: type TreeViewRowSeparatorFunc = TreeModel -> TreeIter -> IO Bool
- GI.Gtk.Callbacks: type TreeViewRowSeparatorFunc_WithClosures = -- | /@model@/: the @GtkTreeModel@ TreeModel -> -- | /@iter@/: a @GtkTreeIter@ pointing at a row in /@model@/ TreeIter -> -- | /@data@/: user data Ptr () -> -- | __Returns:__ 'P.True' if the row is a separator IO Bool
+ GI.Gtk.Callbacks: type TreeViewRowSeparatorFunc_WithClosures = TreeModel -> TreeIter -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type TreeViewSearchEqualFunc = -- | /@model@/: the @GtkTreeModel@ being searched TreeModel -> -- | /@column@/: the search column set by 'GI.Gtk.Objects.TreeView.treeViewSetSearchColumn' Int32 -> -- | /@key@/: the key string to compare with Text -> -- | /@iter@/: a @GtkTreeIter@ pointing the row of /@model@/ that should be compared -- with /@key@/. TreeIter -> -- | __Returns:__ 'P.False' if the row matches, 'P.True' otherwise. IO Bool
+ GI.Gtk.Callbacks: type TreeViewSearchEqualFunc = TreeModel -> Int32 -> Text -> TreeIter -> IO Bool
- GI.Gtk.Callbacks: type TreeViewSearchEqualFunc_WithClosures = -- | /@model@/: the @GtkTreeModel@ being searched TreeModel -> -- | /@column@/: the search column set by 'GI.Gtk.Objects.TreeView.treeViewSetSearchColumn' Int32 -> -- | /@key@/: the key string to compare with Text -> -- | /@iter@/: a @GtkTreeIter@ pointing the row of /@model@/ that should be compared -- with /@key@/. TreeIter -> -- | /@searchData@/: user data from 'GI.Gtk.Objects.TreeView.treeViewSetSearchEqualFunc' Ptr () -> -- | __Returns:__ 'P.False' if the row matches, 'P.True' otherwise. IO Bool
+ GI.Gtk.Callbacks: type TreeViewSearchEqualFunc_WithClosures = TreeModel -> Int32 -> Text -> TreeIter -> Ptr () -> IO Bool
- GI.Gtk.Callbacks: type WidgetActionActivateFunc = -- | /@widget@/: the widget to which the action belongs Widget -> -- | /@actionName@/: the action name Text -> -- | /@parameter@/: parameter for activation Maybe GVariant -> IO ()
+ GI.Gtk.Callbacks: type WidgetActionActivateFunc = Widget -> Text -> Maybe GVariant -> IO ()
- GI.Gtk.Callbacks: type WidgetClassContainsFieldCallback = -- | /@widget@/: the widget to query Widget -> -- | /@x@/: X coordinate to test, relative to /@widget@/\'s origin Double -> -- | /@y@/: Y coordinate to test, relative to /@widget@/\'s origin Double -> -- | __Returns:__ 'P.True' if /@widget@/ contains (/@x@/, /@y@/). IO Bool
+ GI.Gtk.Callbacks: type WidgetClassContainsFieldCallback = Widget -> Double -> Double -> IO Bool
- GI.Gtk.Callbacks: type WidgetClassGetRequestModeFieldCallback = -- | /@widget@/: a @GtkWidget@ instance Widget -> -- | __Returns:__ The @GtkSizeRequestMode@ preferred by /@widget@/. IO SizeRequestMode
+ GI.Gtk.Callbacks: type WidgetClassGetRequestModeFieldCallback = Widget -> IO SizeRequestMode
- GI.Gtk.Callbacks: type WidgetClassGrabFocusFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> -- | __Returns:__ 'P.True' if focus is now inside /@widget@/. IO Bool
+ GI.Gtk.Callbacks: type WidgetClassGrabFocusFieldCallback = Widget -> IO Bool
- GI.Gtk.Callbacks: type WidgetClassHideFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassHideFieldCallback = Widget -> IO ()
- GI.Gtk.Callbacks: type WidgetClassKeynavFailedFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> -- | /@direction@/: direction of focus movement DirectionType -> -- | __Returns:__ 'P.True' if stopping keyboard navigation is fine, 'P.False' -- if the emitting widget should try to handle the keyboard -- navigation attempt in its parent container(s). IO Bool
+ GI.Gtk.Callbacks: type WidgetClassKeynavFailedFieldCallback = Widget -> DirectionType -> IO Bool
- GI.Gtk.Callbacks: type WidgetClassMapFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassMapFieldCallback = Widget -> IO ()
- GI.Gtk.Callbacks: type WidgetClassMeasureFieldCallback = -- | /@widget@/: A @GtkWidget@ instance Widget -> -- | /@orientation@/: the orientation to measure Orientation -> -- | /@forSize@/: Size for the opposite of /@orientation@/, i.e. -- if /@orientation@/ is 'GI.Gtk.Enums.OrientationHorizontal', this is -- the height the widget should be measured with. The 'GI.Gtk.Enums.OrientationVertical' -- case is analogous. This way, both height-for-width and width-for-height -- requests can be implemented. If no size is known, -1 can be passed. Int32 -> IO ((Int32, Int32, Int32, Int32))
+ GI.Gtk.Callbacks: type WidgetClassMeasureFieldCallback = Widget -> Orientation -> Int32 -> IO (Int32, Int32, Int32, Int32)
- GI.Gtk.Callbacks: type WidgetClassMnemonicActivateFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> -- | /@groupCycling@/: 'P.True' if there are other widgets with the same mnemonic Bool -> -- | __Returns:__ 'P.True' if the signal has been handled IO Bool
+ GI.Gtk.Callbacks: type WidgetClassMnemonicActivateFieldCallback = Widget -> Bool -> IO Bool
- GI.Gtk.Callbacks: type WidgetClassRealizeFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassRealizeFieldCallback = Widget -> IO ()
- GI.Gtk.Callbacks: type WidgetClassSetFocusChildFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> -- | /@child@/: a direct child widget of /@widget@/ or 'P.Nothing' -- to unset the focus child of /@widget@/ Maybe Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassSetFocusChildFieldCallback = Widget -> Maybe Widget -> IO ()
- GI.Gtk.Callbacks: type WidgetClassShowFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassShowFieldCallback = Widget -> IO ()
- GI.Gtk.Callbacks: type WidgetClassUnmapFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassUnmapFieldCallback = Widget -> IO ()
- GI.Gtk.Callbacks: type WidgetClassUnrealizeFieldCallback = -- | /@widget@/: a @GtkWidget@ Widget -> IO ()
+ GI.Gtk.Callbacks: type WidgetClassUnrealizeFieldCallback = Widget -> IO ()
- GI.Gtk.Interfaces.ColorChooser: type ColorChooserColorActivatedCallback = -- | /@color@/: the color RGBA -> IO ()
+ GI.Gtk.Interfaces.ColorChooser: type ColorChooserColorActivatedCallback = RGBA -> IO ()
- GI.Gtk.Interfaces.Editable: type EditableDeleteTextCallback = -- | /@startPos@/: the starting position Int32 -> -- | /@endPos@/: the end position Int32 -> IO ()
+ GI.Gtk.Interfaces.Editable: type EditableDeleteTextCallback = Int32 -> Int32 -> IO ()
- GI.Gtk.Interfaces.Editable: type EditableInsertTextCallback = -- | /@text@/: the new text to insert Text -> -- | /@length@/: the length of the new text, in bytes, -- or -1 if new_text is nul-terminated Int32 -> -- | /@position@/: the position, in characters, -- at which to insert the new text. this is an in-out -- parameter. After the signal emission is finished, it -- should point after the newly inserted text. Int32 -> IO (Int32)
+ GI.Gtk.Interfaces.Editable: type EditableInsertTextCallback = Text -> Int32 -> Int32 -> IO Int32
- GI.Gtk.Interfaces.FontChooser: type FontChooserFontActivatedCallback = -- | /@fontname@/: the font name Text -> IO ()
+ GI.Gtk.Interfaces.FontChooser: type FontChooserFontActivatedCallback = Text -> IO ()
- GI.Gtk.Interfaces.PrintOperationPreview: type PrintOperationPreviewGotPageSizeCallback = -- | /@context@/: the current @GtkPrintContext@ PrintContext -> -- | /@pageSetup@/: the @GtkPageSetup@ for the current page PageSetup -> IO ()
+ GI.Gtk.Interfaces.PrintOperationPreview: type PrintOperationPreviewGotPageSizeCallback = PrintContext -> PageSetup -> IO ()
- GI.Gtk.Interfaces.PrintOperationPreview: type PrintOperationPreviewReadyCallback = -- | /@context@/: the current @GtkPrintContext@ PrintContext -> IO ()
+ GI.Gtk.Interfaces.PrintOperationPreview: type PrintOperationPreviewReadyCallback = PrintContext -> IO ()
- GI.Gtk.Interfaces.SectionModel: type SectionModelSectionsChangedCallback = -- | /@position@/: The first item that may have changed Word32 -> -- | /@nItems@/: number of items with changes Word32 -> IO ()
+ GI.Gtk.Interfaces.SectionModel: type SectionModelSectionsChangedCallback = Word32 -> Word32 -> IO ()
- GI.Gtk.Interfaces.SelectionModel: type SelectionModelSelectionChangedCallback = -- | /@position@/: The first item that may have changed Word32 -> -- | /@nItems@/: number of items with changes Word32 -> IO ()
+ GI.Gtk.Interfaces.SelectionModel: type SelectionModelSelectionChangedCallback = Word32 -> Word32 -> IO ()
- GI.Gtk.Interfaces.TreeModel: type TreeModelRowChangedCallback = -- | /@path@/: a @GtkTreePath@ identifying the changed row TreePath -> -- | /@iter@/: a valid @GtkTreeIter@ pointing to the changed row TreeIter -> IO ()
+ GI.Gtk.Interfaces.TreeModel: type TreeModelRowChangedCallback = TreePath -> TreeIter -> IO ()
- GI.Gtk.Interfaces.TreeModel: type TreeModelRowDeletedCallback = -- | /@path@/: a @GtkTreePath@ identifying the row TreePath -> IO ()
+ GI.Gtk.Interfaces.TreeModel: type TreeModelRowDeletedCallback = TreePath -> IO ()
- GI.Gtk.Interfaces.TreeModel: type TreeModelRowHasChildToggledCallback = -- | /@path@/: a @GtkTreePath@ identifying the row TreePath -> -- | /@iter@/: a valid @GtkTreeIter@ pointing to the row TreeIter -> IO ()
+ GI.Gtk.Interfaces.TreeModel: type TreeModelRowHasChildToggledCallback = TreePath -> TreeIter -> IO ()
- GI.Gtk.Interfaces.TreeModel: type TreeModelRowInsertedCallback = -- | /@path@/: a @GtkTreePath@ identifying the new row TreePath -> -- | /@iter@/: a valid @GtkTreeIter@ pointing to the new row TreeIter -> IO ()
+ GI.Gtk.Interfaces.TreeModel: type TreeModelRowInsertedCallback = TreePath -> TreeIter -> IO ()
- GI.Gtk.Objects.AboutDialog: type AboutDialogActivateLinkCallback = -- | /@uri@/: the URI that is activated Text -> -- | __Returns:__ @TRUE@ if the link has been activated IO Bool
+ GI.Gtk.Objects.AboutDialog: type AboutDialogActivateLinkCallback = Text -> IO Bool
- GI.Gtk.Objects.AppChooserButton: type AppChooserButtonCustomItemActivatedCallback = -- | /@itemName@/: the name of the activated item Text -> IO ()
+ GI.Gtk.Objects.AppChooserButton: type AppChooserButtonCustomItemActivatedCallback = Text -> IO ()
- GI.Gtk.Objects.AppChooserWidget: type AppChooserWidgetApplicationActivatedCallback = -- | /@application@/: the activated @GAppInfo@ AppInfo -> IO ()
+ GI.Gtk.Objects.AppChooserWidget: type AppChooserWidgetApplicationActivatedCallback = AppInfo -> IO ()
- GI.Gtk.Objects.AppChooserWidget: type AppChooserWidgetApplicationSelectedCallback = -- | /@application@/: the selected @GAppInfo@ AppInfo -> IO ()
+ GI.Gtk.Objects.AppChooserWidget: type AppChooserWidgetApplicationSelectedCallback = AppInfo -> IO ()
- GI.Gtk.Objects.Application: type ApplicationWindowAddedCallback = -- | /@window@/: the newly-added t'GI.Gtk.Objects.Window.Window' Window -> IO ()
+ GI.Gtk.Objects.Application: type ApplicationWindowAddedCallback = Window -> IO ()
- GI.Gtk.Objects.Application: type ApplicationWindowRemovedCallback = -- | /@window@/: the t'GI.Gtk.Objects.Window.Window' that is being removed Window -> IO ()
+ GI.Gtk.Objects.Application: type ApplicationWindowRemovedCallback = Window -> IO ()
- GI.Gtk.Objects.Assistant: type AssistantPrepareCallback = -- | /@page@/: the current page Widget -> IO ()
+ GI.Gtk.Objects.Assistant: type AssistantPrepareCallback = Widget -> IO ()
- GI.Gtk.Objects.CallbackAction: callbackActionNew :: (HasCallStack, MonadIO m) => Maybe ShortcutFunc -> m CallbackAction
+ GI.Gtk.Objects.CallbackAction: callbackActionNew :: (HasCallStack, MonadIO m) => ShortcutFunc -> m CallbackAction
- GI.Gtk.Objects.CellArea: type CellAreaAddEditableCallback = -- | /@renderer@/: the @GtkCellRenderer@ that started the edited CellRenderer -> -- | /@editable@/: the @GtkCellEditable@ widget to add CellEditable -> -- | /@cellArea@/: the @GtkWidget@ relative @GdkRectangle@ coordinates -- where /@editable@/ should be added Rectangle -> -- | /@path@/: the @GtkTreePath@ string this edit was initiated for Text -> IO ()
+ GI.Gtk.Objects.CellArea: type CellAreaAddEditableCallback = CellRenderer -> CellEditable -> Rectangle -> Text -> IO ()
- GI.Gtk.Objects.CellArea: type CellAreaApplyAttributesCallback = -- | /@model@/: the @GtkTreeModel@ to apply the attributes from TreeModel -> -- | /@iter@/: the @GtkTreeIter@ indicating which row to apply the attributes of TreeIter -> -- | /@isExpander@/: whether the view shows children for this row Bool -> -- | /@isExpanded@/: whether the view is currently showing the children of this row Bool -> IO ()
+ GI.Gtk.Objects.CellArea: type CellAreaApplyAttributesCallback = TreeModel -> TreeIter -> Bool -> Bool -> IO ()
- GI.Gtk.Objects.CellArea: type CellAreaFocusChangedCallback = -- | /@renderer@/: the @GtkCellRenderer@ that has focus CellRenderer -> -- | /@path@/: the current @GtkTreePath@ string set for /@area@/ Text -> IO ()
+ GI.Gtk.Objects.CellArea: type CellAreaFocusChangedCallback = CellRenderer -> Text -> IO ()
- GI.Gtk.Objects.CellArea: type CellAreaRemoveEditableCallback = -- | /@renderer@/: the @GtkCellRenderer@ that finished editeding CellRenderer -> -- | /@editable@/: the @GtkCellEditable@ widget to remove CellEditable -> IO ()
+ GI.Gtk.Objects.CellArea: type CellAreaRemoveEditableCallback = CellRenderer -> CellEditable -> IO ()
- GI.Gtk.Objects.CellRenderer: type CellRendererEditingStartedCallback = -- | /@editable@/: the @GtkCellEditable@ CellEditable -> -- | /@path@/: the path identifying the edited cell Text -> IO ()
+ GI.Gtk.Objects.CellRenderer: type CellRendererEditingStartedCallback = CellEditable -> Text -> IO ()
- GI.Gtk.Objects.CellRendererAccel: type CellRendererAccelAccelClearedCallback = -- | /@pathString@/: the path identifying the row of the edited cell Text -> IO ()
+ GI.Gtk.Objects.CellRendererAccel: type CellRendererAccelAccelClearedCallback = Text -> IO ()
- GI.Gtk.Objects.CellRendererAccel: type CellRendererAccelAccelEditedCallback = -- | /@pathString@/: the path identifying the row of the edited cell Text -> -- | /@accelKey@/: the new accelerator keyval Word32 -> -- | /@accelMods@/: the new accelerator modifier mask [ModifierType] -> -- | /@hardwareKeycode@/: the keycode of the new accelerator Word32 -> IO ()
+ GI.Gtk.Objects.CellRendererAccel: type CellRendererAccelAccelEditedCallback = Text -> Word32 -> [ModifierType] -> Word32 -> IO ()
- GI.Gtk.Objects.CellRendererCombo: type CellRendererComboChangedCallback = -- | /@pathString@/: a string of the path identifying the edited cell -- (relative to the tree view model) Text -> -- | /@newIter@/: the new iter selected in the combo box -- (relative to the combo box model) TreeIter -> IO ()
+ GI.Gtk.Objects.CellRendererCombo: type CellRendererComboChangedCallback = Text -> TreeIter -> IO ()
- GI.Gtk.Objects.CellRendererText: type CellRendererTextEditedCallback = -- | /@path@/: the path identifying the edited cell Text -> -- | /@newText@/: the new text Text -> IO ()
+ GI.Gtk.Objects.CellRendererText: type CellRendererTextEditedCallback = Text -> Text -> IO ()
- GI.Gtk.Objects.CellRendererToggle: type CellRendererToggleToggledCallback = -- | /@path@/: string representation of @GtkTreePath@ describing the -- event location Text -> IO ()
+ GI.Gtk.Objects.CellRendererToggle: type CellRendererToggleToggledCallback = Text -> IO ()
- GI.Gtk.Objects.ColumnView: type ColumnViewActivateCallback = -- | /@position@/: position of item to activate Word32 -> IO ()
+ GI.Gtk.Objects.ColumnView: type ColumnViewActivateCallback = Word32 -> IO ()
- GI.Gtk.Objects.ComboBox: type ComboBoxFormatEntryTextCallback = -- | /@path@/: the [struct/@gtk@/.TreePath] string from the combo box\'s current model -- to format text for Text -> -- | __Returns:__ a newly allocated string representing /@path@/ -- for the current @GtkComboBox@ model. IO Text
+ GI.Gtk.Objects.ComboBox: type ComboBoxFormatEntryTextCallback = Text -> IO Text
- GI.Gtk.Objects.ComboBox: type ComboBoxMoveActiveCallback = -- | /@scrollType@/: a @GtkScrollType@ ScrollType -> IO ()
+ GI.Gtk.Objects.ComboBox: type ComboBoxMoveActiveCallback = ScrollType -> IO ()
- GI.Gtk.Objects.CssProvider: type CssProviderParsingErrorCallback = -- | /@section@/: section the error happened in CssSection -> -- | /@error@/: The parsing error GError -> IO ()
+ GI.Gtk.Objects.CssProvider: type CssProviderParsingErrorCallback = CssSection -> GError -> IO ()
- GI.Gtk.Objects.Dialog: type DialogResponseCallback = -- | /@responseId@/: the response ID Int32 -> IO ()
+ GI.Gtk.Objects.Dialog: type DialogResponseCallback = Int32 -> IO ()
- GI.Gtk.Objects.DragIcon: dragIconGetForDrag :: (HasCallStack, MonadIO m, IsDrag a) => a -> m Widget
+ GI.Gtk.Objects.DragIcon: dragIconGetForDrag :: (HasCallStack, MonadIO m, IsDrag a) => a -> m DragIcon
- GI.Gtk.Objects.DragSource: type DragSourceDragBeginCallback = -- | /@drag@/: the @GdkDrag@ object Drag -> IO ()
+ GI.Gtk.Objects.DragSource: type DragSourceDragBeginCallback = Drag -> IO ()
- GI.Gtk.Objects.DragSource: type DragSourceDragCancelCallback = -- | /@drag@/: the @GdkDrag@ object Drag -> -- | /@reason@/: information on why the drag failed DragCancelReason -> -- | __Returns:__ 'P.True' if the failed drag operation has been already handled IO Bool
+ GI.Gtk.Objects.DragSource: type DragSourceDragCancelCallback = Drag -> DragCancelReason -> IO Bool
- GI.Gtk.Objects.DragSource: type DragSourceDragEndCallback = -- | /@drag@/: the @GdkDrag@ object Drag -> -- | /@deleteData@/: 'P.True' if the drag was performing 'GI.Gdk.Flags.DragActionMove', -- and the data should be deleted Bool -> IO ()
+ GI.Gtk.Objects.DragSource: type DragSourceDragEndCallback = Drag -> Bool -> IO ()
- GI.Gtk.Objects.DragSource: type DragSourcePrepareCallback = -- | /@x@/: the X coordinate of the drag starting point Double -> -- | /@y@/: the Y coordinate of the drag starting point Double -> -- | __Returns:__ a @GdkContentProvider@ IO (Maybe ContentProvider)
+ GI.Gtk.Objects.DragSource: type DragSourcePrepareCallback = Double -> Double -> IO Maybe ContentProvider
- GI.Gtk.Objects.DrawingArea: type DrawingAreaResizeCallback = -- | /@width@/: the width of the viewport Int32 -> -- | /@height@/: the height of the viewport Int32 -> IO ()
+ GI.Gtk.Objects.DrawingArea: type DrawingAreaResizeCallback = Int32 -> Int32 -> IO ()
- GI.Gtk.Objects.DropControllerMotion: type DropControllerMotionEnterCallback = -- | /@x@/: coordinates of pointer location Double -> -- | /@y@/: coordinates of pointer location Double -> IO ()
+ GI.Gtk.Objects.DropControllerMotion: type DropControllerMotionEnterCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.DropControllerMotion: type DropControllerMotionMotionCallback = -- | /@x@/: the x coordinate Double -> -- | /@y@/: the y coordinate Double -> IO ()
+ GI.Gtk.Objects.DropControllerMotion: type DropControllerMotionMotionCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.DropTarget: type DropTargetAcceptCallback = -- | /@drop@/: the @GdkDrop@ Drop -> -- | __Returns:__ 'P.True' if /@drop@/ is accepted IO Bool
+ GI.Gtk.Objects.DropTarget: type DropTargetAcceptCallback = Drop -> IO Bool
- GI.Gtk.Objects.DropTarget: type DropTargetDropCallback = -- | /@value@/: the @GValue@ being dropped GValue -> -- | /@x@/: the x coordinate of the current pointer position Double -> -- | /@y@/: the y coordinate of the current pointer position Double -> -- | __Returns:__ whether the drop was accepted at the given pointer position IO Bool
+ GI.Gtk.Objects.DropTarget: type DropTargetDropCallback = GValue -> Double -> Double -> IO Bool
- GI.Gtk.Objects.DropTarget: type DropTargetEnterCallback = -- | /@x@/: the x coordinate of the current pointer position Double -> -- | /@y@/: the y coordinate of the current pointer position Double -> -- | __Returns:__ Preferred action for this drag operation or 0 if -- dropping is not supported at the current /@x@/,/@y@/ location. IO [DragAction]
+ GI.Gtk.Objects.DropTarget: type DropTargetEnterCallback = Double -> Double -> IO [DragAction]
- GI.Gtk.Objects.DropTarget: type DropTargetMotionCallback = -- | /@x@/: the x coordinate of the current pointer position Double -> -- | /@y@/: the y coordinate of the current pointer position Double -> -- | __Returns:__ Preferred action for this drag operation or 0 if -- dropping is not supported at the current /@x@/,/@y@/ location. IO [DragAction]
+ GI.Gtk.Objects.DropTarget: type DropTargetMotionCallback = Double -> Double -> IO [DragAction]
- GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncAcceptCallback = -- | /@drop@/: the @GdkDrop@ Drop -> -- | __Returns:__ 'P.True' if /@drop@/ is accepted IO Bool
+ GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncAcceptCallback = Drop -> IO Bool
- GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDragEnterCallback = -- | /@drop@/: the @GdkDrop@ Drop -> -- | /@x@/: the x coordinate of the current pointer position Double -> -- | /@y@/: the y coordinate of the current pointer position Double -> -- | __Returns:__ Preferred action for this drag operation. IO [DragAction]
+ GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDragEnterCallback = Drop -> Double -> Double -> IO [DragAction]
- GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDragLeaveCallback = -- | /@drop@/: the @GdkDrop@ Drop -> IO ()
+ GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDragLeaveCallback = Drop -> IO ()
- GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDragMotionCallback = -- | /@drop@/: the @GdkDrop@ Drop -> -- | /@x@/: the x coordinate of the current pointer position Double -> -- | /@y@/: the y coordinate of the current pointer position Double -> -- | __Returns:__ Preferred action for this drag operation. IO [DragAction]
+ GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDragMotionCallback = Drop -> Double -> Double -> IO [DragAction]
- GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDropCallback = -- | /@drop@/: the @GdkDrop@ Drop -> -- | /@x@/: the x coordinate of the current pointer position Double -> -- | /@y@/: the y coordinate of the current pointer position Double -> -- | __Returns:__ whether the drop is accepted at the given pointer position IO Bool
+ GI.Gtk.Objects.DropTargetAsync: type DropTargetAsyncDropCallback = Drop -> Double -> Double -> IO Bool
- GI.Gtk.Objects.EmojiChooser: type EmojiChooserEmojiPickedCallback = -- | /@text@/: the Unicode sequence for the picked Emoji, in UTF-8 Text -> IO ()
+ GI.Gtk.Objects.EmojiChooser: type EmojiChooserEmojiPickedCallback = Text -> IO ()
- GI.Gtk.Objects.Entry: type EntryIconPressCallback = -- | /@iconPos@/: The position of the clicked icon EntryIconPosition -> IO ()
+ GI.Gtk.Objects.Entry: type EntryIconPressCallback = EntryIconPosition -> IO ()
- GI.Gtk.Objects.Entry: type EntryIconReleaseCallback = -- | /@iconPos@/: The position of the clicked icon EntryIconPosition -> IO ()
+ GI.Gtk.Objects.Entry: type EntryIconReleaseCallback = EntryIconPosition -> IO ()
- GI.Gtk.Objects.EntryBuffer: type EntryBufferDeletedTextCallback = -- | /@position@/: the position the text was deleted at. Word32 -> -- | /@nChars@/: The number of characters that were deleted. Word32 -> IO ()
+ GI.Gtk.Objects.EntryBuffer: type EntryBufferDeletedTextCallback = Word32 -> Word32 -> IO ()
- GI.Gtk.Objects.EntryBuffer: type EntryBufferInsertedTextCallback = -- | /@position@/: the position the text was inserted at. Word32 -> -- | /@chars@/: The text that was inserted. Text -> -- | /@nChars@/: The number of characters that were inserted. Word32 -> IO ()
+ GI.Gtk.Objects.EntryBuffer: type EntryBufferInsertedTextCallback = Word32 -> Text -> Word32 -> IO ()
- GI.Gtk.Objects.EntryCompletion: type EntryCompletionCursorOnMatchCallback = -- | /@model@/: the @GtkTreeModel@ containing the matches TreeModel -> -- | /@iter@/: a @GtkTreeIter@ positioned at the selected match TreeIter -> -- | __Returns:__ 'P.True' if the signal has been handled IO Bool
+ GI.Gtk.Objects.EntryCompletion: type EntryCompletionCursorOnMatchCallback = TreeModel -> TreeIter -> IO Bool
- GI.Gtk.Objects.EntryCompletion: type EntryCompletionInsertPrefixCallback = -- | /@prefix@/: the common prefix of all possible completions Text -> -- | __Returns:__ 'P.True' if the signal has been handled IO Bool
+ GI.Gtk.Objects.EntryCompletion: type EntryCompletionInsertPrefixCallback = Text -> IO Bool
- GI.Gtk.Objects.EntryCompletion: type EntryCompletionMatchSelectedCallback = -- | /@model@/: the @GtkTreeModel@ containing the matches TreeModel -> -- | /@iter@/: a @GtkTreeIter@ positioned at the selected match TreeIter -> -- | __Returns:__ 'P.True' if the signal has been handled IO Bool
+ GI.Gtk.Objects.EntryCompletion: type EntryCompletionMatchSelectedCallback = TreeModel -> TreeIter -> IO Bool
- GI.Gtk.Objects.EventController: eventControllerGetWidget :: (HasCallStack, MonadIO m, IsEventController a) => a -> m Widget
+ GI.Gtk.Objects.EventController: eventControllerGetWidget :: (HasCallStack, MonadIO m, IsEventController a) => a -> m (Maybe Widget)
- GI.Gtk.Objects.EventController: getEventControllerWidget :: (MonadIO m, IsEventController o) => o -> m Widget
+ GI.Gtk.Objects.EventController: getEventControllerWidget :: (MonadIO m, IsEventController o) => o -> m (Maybe Widget)
- GI.Gtk.Objects.EventControllerKey: type EventControllerKeyKeyPressedCallback = -- | /@keyval@/: the pressed key. Word32 -> -- | /@keycode@/: the raw code of the pressed key. Word32 -> -- | /@state@/: the bitmask, representing the state of modifier keys and pointer buttons. [ModifierType] -> -- | __Returns:__ 'P.True' if the key press was handled, 'P.False' otherwise. IO Bool
+ GI.Gtk.Objects.EventControllerKey: type EventControllerKeyKeyPressedCallback = Word32 -> Word32 -> [ModifierType] -> IO Bool
- GI.Gtk.Objects.EventControllerKey: type EventControllerKeyKeyReleasedCallback = -- | /@keyval@/: the released key. Word32 -> -- | /@keycode@/: the raw code of the released key. Word32 -> -- | /@state@/: the bitmask, representing the state of modifier keys and pointer buttons. [ModifierType] -> IO ()
+ GI.Gtk.Objects.EventControllerKey: type EventControllerKeyKeyReleasedCallback = Word32 -> Word32 -> [ModifierType] -> IO ()
- GI.Gtk.Objects.EventControllerKey: type EventControllerKeyModifiersCallback = -- | /@state@/: the bitmask, representing the new state of modifier keys and -- pointer buttons. [ModifierType] -> IO Bool
+ GI.Gtk.Objects.EventControllerKey: type EventControllerKeyModifiersCallback = [ModifierType] -> IO Bool
- GI.Gtk.Objects.EventControllerLegacy: type EventControllerLegacyEventCallback = -- | /@event@/: the @GdkEvent@ which triggered this signal Event -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event -- and the emission of this signal. 'P.False' to propagate the event further. IO Bool
+ GI.Gtk.Objects.EventControllerLegacy: type EventControllerLegacyEventCallback = Event -> IO Bool
- GI.Gtk.Objects.EventControllerMotion: type EventControllerMotionEnterCallback = -- | /@x@/: coordinates of pointer location Double -> -- | /@y@/: coordinates of pointer location Double -> IO ()
+ GI.Gtk.Objects.EventControllerMotion: type EventControllerMotionEnterCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.EventControllerMotion: type EventControllerMotionMotionCallback = -- | /@x@/: the x coordinate Double -> -- | /@y@/: the y coordinate Double -> IO ()
+ GI.Gtk.Objects.EventControllerMotion: type EventControllerMotionMotionCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.EventControllerScroll: type EventControllerScrollDecelerateCallback = -- | /@velX@/: X velocity Double -> -- | /@velY@/: Y velocity Double -> IO ()
+ GI.Gtk.Objects.EventControllerScroll: type EventControllerScrollDecelerateCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.EventControllerScroll: type EventControllerScrollScrollCallback = -- | /@dx@/: X delta Double -> -- | /@dy@/: Y delta Double -> -- | __Returns:__ 'P.True' if the scroll event was handled, -- 'P.False' otherwise. IO Bool
+ GI.Gtk.Objects.EventControllerScroll: type EventControllerScrollScrollCallback = Double -> Double -> IO Bool
- GI.Gtk.Objects.FileChooserWidget: type FileChooserWidgetLocationPopupCallback = -- | /@path@/: a string that gets put in the text entry for the file name Text -> IO ()
+ GI.Gtk.Objects.FileChooserWidget: type FileChooserWidgetLocationPopupCallback = Text -> IO ()
- GI.Gtk.Objects.FileChooserWidget: type FileChooserWidgetQuickBookmarkCallback = -- | /@bookmarkIndex@/: the number of the bookmark to switch to Int32 -> IO ()
+ GI.Gtk.Objects.FileChooserWidget: type FileChooserWidgetQuickBookmarkCallback = Int32 -> IO ()
- GI.Gtk.Objects.Filter: type FilterChangedCallback = -- | /@change@/: how the filter changed FilterChange -> IO ()
+ GI.Gtk.Objects.Filter: type FilterChangedCallback = FilterChange -> IO ()
- GI.Gtk.Objects.FlowBox: type FlowBoxChildActivatedCallback = -- | /@child@/: the child that is activated FlowBoxChild -> IO ()
+ GI.Gtk.Objects.FlowBox: type FlowBoxChildActivatedCallback = FlowBoxChild -> IO ()
- GI.Gtk.Objects.FlowBox: type FlowBoxMoveCursorCallback = -- | /@step@/: the granularity of the move, as a @GtkMovementStep@ MovementStep -> -- | /@count@/: the number of /@step@/ units to move Int32 -> -- | /@extend@/: whether to extend the selection Bool -> -- | /@modify@/: whether to modify the selection Bool -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
+ GI.Gtk.Objects.FlowBox: type FlowBoxMoveCursorCallback = MovementStep -> Int32 -> Bool -> Bool -> IO Bool
- GI.Gtk.Objects.GLArea: type GLAreaCreateContextCallback = -- | __Returns:__ a newly created @GdkGLContext@; -- the @GtkGLArea@ widget will take ownership of the returned value. IO GLContext
+ GI.Gtk.Objects.GLArea: type GLAreaCreateContextCallback = IO GLContext
- GI.Gtk.Objects.GLArea: type GLAreaRenderCallback = -- | /@context@/: the @GdkGLContext@ used by /@area@/ GLContext -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
+ GI.Gtk.Objects.GLArea: type GLAreaRenderCallback = GLContext -> IO Bool
- GI.Gtk.Objects.GLArea: type GLAreaResizeCallback = -- | /@width@/: the width of the viewport Int32 -> -- | /@height@/: the height of the viewport Int32 -> IO ()
+ GI.Gtk.Objects.GLArea: type GLAreaResizeCallback = Int32 -> Int32 -> IO ()
- GI.Gtk.Objects.Gesture: type GestureBeginCallback = -- | /@sequence@/: the @GdkEventSequence@ that made the gesture -- to be recognized Maybe EventSequence -> IO ()
+ GI.Gtk.Objects.Gesture: type GestureBeginCallback = Maybe EventSequence -> IO ()
- GI.Gtk.Objects.Gesture: type GestureCancelCallback = -- | /@sequence@/: the @GdkEventSequence@ that was cancelled Maybe EventSequence -> IO ()
+ GI.Gtk.Objects.Gesture: type GestureCancelCallback = Maybe EventSequence -> IO ()
- GI.Gtk.Objects.Gesture: type GestureEndCallback = -- | /@sequence@/: the @GdkEventSequence@ that made gesture -- recognition to finish Maybe EventSequence -> IO ()
+ GI.Gtk.Objects.Gesture: type GestureEndCallback = Maybe EventSequence -> IO ()
- GI.Gtk.Objects.Gesture: type GestureSequenceStateChangedCallback = -- | /@sequence@/: the @GdkEventSequence@ that was cancelled Maybe EventSequence -> -- | /@state@/: the new sequence state EventSequenceState -> IO ()
+ GI.Gtk.Objects.Gesture: type GestureSequenceStateChangedCallback = Maybe EventSequence -> EventSequenceState -> IO ()
- GI.Gtk.Objects.Gesture: type GestureUpdateCallback = -- | /@sequence@/: the @GdkEventSequence@ that was updated Maybe EventSequence -> IO ()
+ GI.Gtk.Objects.Gesture: type GestureUpdateCallback = Maybe EventSequence -> IO ()
- GI.Gtk.Objects.GestureClick: type GestureClickPressedCallback = -- | /@nPress@/: how many touch\/button presses happened with this one Int32 -> -- | /@x@/: The X coordinate, in widget allocation coordinates Double -> -- | /@y@/: The Y coordinate, in widget allocation coordinates Double -> IO ()
+ GI.Gtk.Objects.GestureClick: type GestureClickPressedCallback = Int32 -> Double -> Double -> IO ()
- GI.Gtk.Objects.GestureClick: type GestureClickReleasedCallback = -- | /@nPress@/: number of press that is paired with this release Int32 -> -- | /@x@/: The X coordinate, in widget allocation coordinates Double -> -- | /@y@/: The Y coordinate, in widget allocation coordinates Double -> IO ()
+ GI.Gtk.Objects.GestureClick: type GestureClickReleasedCallback = Int32 -> Double -> Double -> IO ()
- GI.Gtk.Objects.GestureClick: type GestureClickUnpairedReleaseCallback = -- | /@x@/: X coordinate of the event Double -> -- | /@y@/: Y coordinate of the event Double -> -- | /@button@/: Button being released Word32 -> -- | /@sequence@/: Sequence being released Maybe EventSequence -> IO ()
+ GI.Gtk.Objects.GestureClick: type GestureClickUnpairedReleaseCallback = Double -> Double -> Word32 -> Maybe EventSequence -> IO ()
- GI.Gtk.Objects.GestureDrag: type GestureDragDragBeginCallback = -- | /@startX@/: X coordinate, relative to the widget allocation Double -> -- | /@startY@/: Y coordinate, relative to the widget allocation Double -> IO ()
+ GI.Gtk.Objects.GestureDrag: type GestureDragDragBeginCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureDrag: type GestureDragDragEndCallback = -- | /@offsetX@/: X offset, relative to the start point Double -> -- | /@offsetY@/: Y offset, relative to the start point Double -> IO ()
+ GI.Gtk.Objects.GestureDrag: type GestureDragDragEndCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureDrag: type GestureDragDragUpdateCallback = -- | /@offsetX@/: X offset, relative to the start point Double -> -- | /@offsetY@/: Y offset, relative to the start point Double -> IO ()
+ GI.Gtk.Objects.GestureDrag: type GestureDragDragUpdateCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureLongPress: type GestureLongPressPressedCallback = -- | /@x@/: the X coordinate where the press happened, relative to the widget allocation Double -> -- | /@y@/: the Y coordinate where the press happened, relative to the widget allocation Double -> IO ()
+ GI.Gtk.Objects.GestureLongPress: type GestureLongPressPressedCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GesturePan: type GesturePanPanCallback = -- | /@direction@/: current direction of the pan gesture PanDirection -> -- | /@offset@/: Offset along the gesture orientation Double -> IO ()
+ GI.Gtk.Objects.GesturePan: type GesturePanPanCallback = PanDirection -> Double -> IO ()
- GI.Gtk.Objects.GestureRotate: type GestureRotateAngleChangedCallback = -- | /@angle@/: Current angle in radians Double -> -- | /@angleDelta@/: Difference with the starting angle, in radians Double -> IO ()
+ GI.Gtk.Objects.GestureRotate: type GestureRotateAngleChangedCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureStylus: type GestureStylusDownCallback = -- | /@x@/: the X coordinate of the stylus event Double -> -- | /@y@/: the Y coordinate of the stylus event Double -> IO ()
+ GI.Gtk.Objects.GestureStylus: type GestureStylusDownCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureStylus: type GestureStylusMotionCallback = -- | /@x@/: the X coordinate of the stylus event Double -> -- | /@y@/: the Y coordinate of the stylus event Double -> IO ()
+ GI.Gtk.Objects.GestureStylus: type GestureStylusMotionCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureStylus: type GestureStylusProximityCallback = -- | /@x@/: the X coordinate of the stylus event Double -> -- | /@y@/: the Y coordinate of the stylus event Double -> IO ()
+ GI.Gtk.Objects.GestureStylus: type GestureStylusProximityCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureStylus: type GestureStylusUpCallback = -- | /@x@/: the X coordinate of the stylus event Double -> -- | /@y@/: the Y coordinate of the stylus event Double -> IO ()
+ GI.Gtk.Objects.GestureStylus: type GestureStylusUpCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureSwipe: type GestureSwipeSwipeCallback = -- | /@velocityX@/: velocity in the X axis, in pixels\/sec Double -> -- | /@velocityY@/: velocity in the Y axis, in pixels\/sec Double -> IO ()
+ GI.Gtk.Objects.GestureSwipe: type GestureSwipeSwipeCallback = Double -> Double -> IO ()
- GI.Gtk.Objects.GestureZoom: type GestureZoomScaleChangedCallback = -- | /@scale@/: Scale delta, taking the initial state as 1:1 Double -> IO ()
+ GI.Gtk.Objects.GestureZoom: type GestureZoomScaleChangedCallback = Double -> IO ()
- GI.Gtk.Objects.GridView: type GridViewActivateCallback = -- | /@position@/: position of item to activate Word32 -> IO ()
+ GI.Gtk.Objects.GridView: type GridViewActivateCallback = Word32 -> IO ()
- GI.Gtk.Objects.IMContext: type IMContextCommitCallback = -- | /@str@/: the completed character(s) entered by the user Text -> IO ()
+ GI.Gtk.Objects.IMContext: type IMContextCommitCallback = Text -> IO ()
- GI.Gtk.Objects.IMContext: type IMContextDeleteSurroundingCallback = -- | /@offset@/: the character offset from the cursor position of the text -- to be deleted. A negative value indicates a position before -- the cursor. Int32 -> -- | /@nChars@/: the number of characters to be deleted Int32 -> -- | __Returns:__ 'P.True' if the signal was handled. IO Bool
+ GI.Gtk.Objects.IMContext: type IMContextDeleteSurroundingCallback = Int32 -> Int32 -> IO Bool
- GI.Gtk.Objects.IMContext: type IMContextRetrieveSurroundingCallback = -- | __Returns:__ 'P.True' if the signal was handled. IO Bool
+ GI.Gtk.Objects.IMContext: type IMContextRetrieveSurroundingCallback = IO Bool
- GI.Gtk.Objects.IconView: type IconViewItemActivatedCallback = -- | /@path@/: the @GtkTreePath@ for the activated item TreePath -> IO ()
+ GI.Gtk.Objects.IconView: type IconViewItemActivatedCallback = TreePath -> IO ()
- GI.Gtk.Objects.IconView: type IconViewMoveCursorCallback = -- | /@step@/: the granularity of the move, as a @GtkMovementStep@ MovementStep -> -- | /@count@/: the number of /@step@/ units to move Int32 -> -- | /@extend@/: whether to extend the selection Bool -> -- | /@modify@/: whether to modify the selection Bool -> IO Bool
+ GI.Gtk.Objects.IconView: type IconViewMoveCursorCallback = MovementStep -> Int32 -> Bool -> Bool -> IO Bool
- GI.Gtk.Objects.InfoBar: type InfoBarResponseCallback = -- | /@responseId@/: the response ID Int32 -> IO ()
+ GI.Gtk.Objects.InfoBar: type InfoBarResponseCallback = Int32 -> IO ()
- GI.Gtk.Objects.Label: type LabelActivateLinkCallback = -- | /@uri@/: the URI that is activated Text -> -- | __Returns:__ 'P.True' if the link has been activated IO Bool
+ GI.Gtk.Objects.Label: type LabelActivateLinkCallback = Text -> IO Bool
- GI.Gtk.Objects.Label: type LabelMoveCursorCallback = -- | /@step@/: the granularity of the move, as a @GtkMovementStep@ MovementStep -> -- | /@count@/: the number of /@step@/ units to move Int32 -> -- | /@extendSelection@/: 'P.True' if the move should extend the selection Bool -> IO ()
+ GI.Gtk.Objects.Label: type LabelMoveCursorCallback = MovementStep -> Int32 -> Bool -> IO ()
- GI.Gtk.Objects.LevelBar: type LevelBarOffsetChangedCallback = -- | /@name@/: the name of the offset that changed value Text -> IO ()
+ GI.Gtk.Objects.LevelBar: type LevelBarOffsetChangedCallback = Text -> IO ()
- GI.Gtk.Objects.LinkButton: type LinkButtonActivateLinkCallback = -- | __Returns:__ 'P.True' if the signal has been handled IO Bool
+ GI.Gtk.Objects.LinkButton: type LinkButtonActivateLinkCallback = IO Bool
- GI.Gtk.Objects.ListBox: type ListBoxRowActivatedCallback = -- | /@row@/: the activated row ListBoxRow -> IO ()
+ GI.Gtk.Objects.ListBox: type ListBoxRowActivatedCallback = ListBoxRow -> IO ()
- GI.Gtk.Objects.ListBox: type ListBoxRowSelectedCallback = -- | /@row@/: the selected row Maybe ListBoxRow -> IO ()
+ GI.Gtk.Objects.ListBox: type ListBoxRowSelectedCallback = Maybe ListBoxRow -> IO ()
- GI.Gtk.Objects.ListView: type ListViewActivateCallback = -- | /@position@/: position of item to activate Word32 -> IO ()
+ GI.Gtk.Objects.ListView: type ListViewActivateCallback = Word32 -> IO ()
- GI.Gtk.Objects.NativeDialog: type NativeDialogResponseCallback = -- | /@responseId@/: the response ID Int32 -> IO ()
+ GI.Gtk.Objects.NativeDialog: type NativeDialogResponseCallback = Int32 -> IO ()
- GI.Gtk.Objects.Notebook: type NotebookCreateWindowCallback = -- | /@page@/: the tab of /@notebook@/ that is being detached Widget -> -- | __Returns:__ a @GtkNotebook@ that -- /@page@/ should be added to IO (Maybe Notebook)
+ GI.Gtk.Objects.Notebook: type NotebookCreateWindowCallback = Widget -> IO Maybe Notebook
- GI.Gtk.Objects.Notebook: type NotebookPageAddedCallback = -- | /@child@/: the child @GtkWidget@ affected Widget -> -- | /@pageNum@/: the new page number for /@child@/ Word32 -> IO ()
+ GI.Gtk.Objects.Notebook: type NotebookPageAddedCallback = Widget -> Word32 -> IO ()
- GI.Gtk.Objects.Notebook: type NotebookPageRemovedCallback = -- | /@child@/: the child @GtkWidget@ affected Widget -> -- | /@pageNum@/: the /@child@/ page number Word32 -> IO ()
+ GI.Gtk.Objects.Notebook: type NotebookPageRemovedCallback = Widget -> Word32 -> IO ()
- GI.Gtk.Objects.Notebook: type NotebookPageReorderedCallback = -- | /@child@/: the child @GtkWidget@ affected Widget -> -- | /@pageNum@/: the new page number for /@child@/ Word32 -> IO ()
+ GI.Gtk.Objects.Notebook: type NotebookPageReorderedCallback = Widget -> Word32 -> IO ()
- GI.Gtk.Objects.Notebook: type NotebookSwitchPageCallback = -- | /@page@/: the new current page Widget -> -- | /@pageNum@/: the index of the page Word32 -> IO ()
+ GI.Gtk.Objects.Notebook: type NotebookSwitchPageCallback = Widget -> Word32 -> IO ()
- GI.Gtk.Objects.Overlay: type OverlayGetChildPositionCallback = -- | /@widget@/: the child widget to position Widget -> -- | __Returns:__ 'P.True' if the /@allocation@/ has been filled IO ((Bool, Rectangle))
+ GI.Gtk.Objects.Overlay: type OverlayGetChildPositionCallback = Widget -> IO (Bool, Rectangle)
- GI.Gtk.Objects.Paned: type PanedCycleChildFocusCallback = -- | /@reversed@/: whether cycling backward or forward Bool -> IO Bool
+ GI.Gtk.Objects.Paned: type PanedCycleChildFocusCallback = Bool -> IO Bool
- GI.Gtk.Objects.Paned: type PanedCycleHandleFocusCallback = -- | /@reversed@/: whether cycling backward or forward Bool -> IO Bool
+ GI.Gtk.Objects.Paned: type PanedCycleHandleFocusCallback = Bool -> IO Bool
- GI.Gtk.Objects.Paned: type PanedMoveHandleCallback = -- | /@scrollType@/: a @GtkScrollType@ ScrollType -> IO Bool
+ GI.Gtk.Objects.Paned: type PanedMoveHandleCallback = ScrollType -> IO Bool
- GI.Gtk.Objects.PrintDialog: getPrintDialogPageSetup :: (MonadIO m, IsPrintDialog o) => o -> m PageSetup
+ GI.Gtk.Objects.PrintDialog: getPrintDialogPageSetup :: (MonadIO m, IsPrintDialog o) => o -> m (Maybe PageSetup)
- GI.Gtk.Objects.PrintDialog: getPrintDialogPrintSettings :: (MonadIO m, IsPrintDialog o) => o -> m PrintSettings
+ GI.Gtk.Objects.PrintDialog: getPrintDialogPrintSettings :: (MonadIO m, IsPrintDialog o) => o -> m (Maybe PrintSettings)
- GI.Gtk.Objects.PrintDialog: printDialogGetPageSetup :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> m PageSetup
+ GI.Gtk.Objects.PrintDialog: printDialogGetPageSetup :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> m (Maybe PageSetup)
- GI.Gtk.Objects.PrintDialog: printDialogGetPrintSettings :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> m PrintSettings
+ GI.Gtk.Objects.PrintDialog: printDialogGetPrintSettings :: (HasCallStack, MonadIO m, IsPrintDialog a) => a -> m (Maybe PrintSettings)
- GI.Gtk.Objects.PrintDialog: printDialogPrintFinish :: (HasCallStack, MonadIO m, IsPrintDialog a, IsAsyncResult b) => a -> b -> m (Maybe OutputStream)
+ GI.Gtk.Objects.PrintDialog: printDialogPrintFinish :: (HasCallStack, MonadIO m, IsPrintDialog a, IsAsyncResult b) => a -> b -> m OutputStream
- GI.Gtk.Objects.PrintDialog: printDialogSetupFinish :: (HasCallStack, MonadIO m, IsPrintDialog a, IsAsyncResult b) => a -> b -> m (Maybe PrintSetup)
+ GI.Gtk.Objects.PrintDialog: printDialogSetupFinish :: (HasCallStack, MonadIO m, IsPrintDialog a, IsAsyncResult b) => a -> b -> m PrintSetup
- GI.Gtk.Objects.PrintOperation: type PrintOperationBeginPrintCallback = -- | /@context@/: the @GtkPrintContext@ for the current operation PrintContext -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationBeginPrintCallback = PrintContext -> IO ()
- GI.Gtk.Objects.PrintOperation: type PrintOperationCreateCustomWidgetCallback = -- | __Returns:__ A custom widget that gets embedded in -- the print dialog IO (Maybe Object)
+ GI.Gtk.Objects.PrintOperation: type PrintOperationCreateCustomWidgetCallback = IO Maybe Object
- GI.Gtk.Objects.PrintOperation: type PrintOperationCustomWidgetApplyCallback = -- | /@widget@/: the custom widget added in [createCustomWidget](#g:signal:createCustomWidget) Widget -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationCustomWidgetApplyCallback = Widget -> IO ()
- GI.Gtk.Objects.PrintOperation: type PrintOperationDoneCallback = -- | /@result@/: the result of the print operation PrintOperationResult -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationDoneCallback = PrintOperationResult -> IO ()
- GI.Gtk.Objects.PrintOperation: type PrintOperationDrawPageCallback = -- | /@context@/: the @GtkPrintContext@ for the current operation PrintContext -> -- | /@pageNr@/: the number of the currently printed page (0-based) Int32 -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationDrawPageCallback = PrintContext -> Int32 -> IO ()
- GI.Gtk.Objects.PrintOperation: type PrintOperationEndPrintCallback = -- | /@context@/: the @GtkPrintContext@ for the current operation PrintContext -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationEndPrintCallback = PrintContext -> IO ()
- GI.Gtk.Objects.PrintOperation: type PrintOperationPaginateCallback = -- | /@context@/: the @GtkPrintContext@ for the current operation PrintContext -> -- | __Returns:__ 'P.True' if pagination is complete IO Bool
+ GI.Gtk.Objects.PrintOperation: type PrintOperationPaginateCallback = PrintContext -> IO Bool
- GI.Gtk.Objects.PrintOperation: type PrintOperationPreviewCallback = -- | /@preview@/: the @GtkPrintOperationPreview@ for the current operation PrintOperationPreview -> -- | /@context@/: the @GtkPrintContext@ that will be used PrintContext -> -- | /@parent@/: the @GtkWindow@ to use as window parent Maybe Window -> -- | __Returns:__ 'P.True' if the listener wants to take over control of the preview IO Bool
+ GI.Gtk.Objects.PrintOperation: type PrintOperationPreviewCallback = PrintOperationPreview -> PrintContext -> Maybe Window -> IO Bool
- GI.Gtk.Objects.PrintOperation: type PrintOperationRequestPageSetupCallback = -- | /@context@/: the @GtkPrintContext@ for the current operation PrintContext -> -- | /@pageNr@/: the number of the currently printed page (0-based) Int32 -> -- | /@setup@/: the @GtkPageSetup@ PageSetup -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationRequestPageSetupCallback = PrintContext -> Int32 -> PageSetup -> IO ()
- GI.Gtk.Objects.PrintOperation: type PrintOperationUpdateCustomWidgetCallback = -- | /@widget@/: the custom widget added in [createCustomWidget](#g:signal:createCustomWidget) Widget -> -- | /@setup@/: actual page setup PageSetup -> -- | /@settings@/: actual print settings PrintSettings -> IO ()
+ GI.Gtk.Objects.PrintOperation: type PrintOperationUpdateCustomWidgetCallback = Widget -> PageSetup -> PrintSettings -> IO ()
- GI.Gtk.Objects.Printer: type PrinterDetailsAcquiredCallback = -- | /@success@/: 'P.True' if the details were successfully acquired Bool -> IO ()
+ GI.Gtk.Objects.Printer: type PrinterDetailsAcquiredCallback = Bool -> IO ()
- GI.Gtk.Objects.Range: type RangeAdjustBoundsCallback = -- | /@value@/: the value before we clamp Double -> IO ()
+ GI.Gtk.Objects.Range: type RangeAdjustBoundsCallback = Double -> IO ()
- GI.Gtk.Objects.Range: type RangeChangeValueCallback = -- | /@scroll@/: the type of scroll action that was performed ScrollType -> -- | /@value@/: the new value resulting from the scroll action Double -> -- | __Returns:__ 'P.True' to prevent other handlers from being invoked for -- the signal, 'P.False' to propagate the signal further IO Bool
+ GI.Gtk.Objects.Range: type RangeChangeValueCallback = ScrollType -> Double -> IO Bool
- GI.Gtk.Objects.Range: type RangeMoveSliderCallback = -- | /@step@/: how to move the slider ScrollType -> IO ()
+ GI.Gtk.Objects.Range: type RangeMoveSliderCallback = ScrollType -> IO ()
- GI.Gtk.Objects.ScaleButton: type ScaleButtonValueChangedCallback = -- | /@value@/: the new value Double -> IO ()
+ GI.Gtk.Objects.ScaleButton: type ScaleButtonValueChangedCallback = Double -> IO ()
- GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowEdgeOvershotCallback = -- | /@pos@/: edge side that was hit PositionType -> IO ()
+ GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowEdgeOvershotCallback = PositionType -> IO ()
- GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowEdgeReachedCallback = -- | /@pos@/: edge side that was reached PositionType -> IO ()
+ GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowEdgeReachedCallback = PositionType -> IO ()
- GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowMoveFocusOutCallback = -- | /@directionType@/: either 'GI.Gtk.Enums.DirectionTypeTabForward' or -- 'GI.Gtk.Enums.DirectionTypeTabBackward' DirectionType -> IO ()
+ GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowMoveFocusOutCallback = DirectionType -> IO ()
- GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowScrollChildCallback = -- | /@scroll@/: a @GtkScrollType@ describing how much to scroll ScrollType -> -- | /@horizontal@/: whether the keybinding scrolls the child -- horizontally or not Bool -> IO Bool
+ GI.Gtk.Objects.ScrolledWindow: type ScrolledWindowScrollChildCallback = ScrollType -> Bool -> IO Bool
- GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactoryBindCallback = -- | /@object@/: The @GObject@ to bind Object -> IO ()
+ GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactoryBindCallback = Object -> IO ()
- GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactorySetupCallback = -- | /@object@/: The @GObject@ to set up Object -> IO ()
+ GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactorySetupCallback = Object -> IO ()
- GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactoryTeardownCallback = -- | /@object@/: The @GObject@ to tear down Object -> IO ()
+ GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactoryTeardownCallback = Object -> IO ()
- GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactoryUnbindCallback = -- | /@object@/: The @GObject@ to unbind Object -> IO ()
+ GI.Gtk.Objects.SignalListItemFactory: type SignalListItemFactoryUnbindCallback = Object -> IO ()
- GI.Gtk.Objects.Sorter: type SorterChangedCallback = -- | /@change@/: how the sorter changed SorterChange -> IO ()
+ GI.Gtk.Objects.Sorter: type SorterChangedCallback = SorterChange -> IO ()
- GI.Gtk.Objects.SpinButton: type SpinButtonChangeValueCallback = -- | /@scroll@/: a @GtkScrollType@ to specify the speed and amount of change ScrollType -> IO ()
+ GI.Gtk.Objects.SpinButton: type SpinButtonChangeValueCallback = ScrollType -> IO ()
- GI.Gtk.Objects.SpinButton: type SpinButtonInputCallback = -- | __Returns:__ 'P.True' for a successful conversion, 'P.False' if the input -- was not handled, and 'GI.Gtk.Constants.INPUT_ERROR' if the conversion failed. IO ((Int32, Double))
+ GI.Gtk.Objects.SpinButton: type SpinButtonInputCallback = IO (Int32, Double)
- GI.Gtk.Objects.SpinButton: type SpinButtonOutputCallback = -- | __Returns:__ 'P.True' if the value has been displayed IO Bool
+ GI.Gtk.Objects.SpinButton: type SpinButtonOutputCallback = IO Bool
- GI.Gtk.Objects.Statusbar: type StatusbarTextPoppedCallback = -- | /@contextId@/: the context id of the relevant message\/statusbar Word32 -> -- | /@text@/: the message that was just popped Text -> IO ()
+ GI.Gtk.Objects.Statusbar: type StatusbarTextPoppedCallback = Word32 -> Text -> IO ()
- GI.Gtk.Objects.Statusbar: type StatusbarTextPushedCallback = -- | /@contextId@/: the context id of the relevant message\/statusbar Word32 -> -- | /@text@/: the message that was pushed Text -> IO ()
+ GI.Gtk.Objects.Statusbar: type StatusbarTextPushedCallback = Word32 -> Text -> IO ()
- GI.Gtk.Objects.Switch: type SwitchStateSetCallback = -- | /@state@/: the new state of the switch Bool -> -- | __Returns:__ 'P.True' to stop the signal emission IO Bool
+ GI.Gtk.Objects.Switch: type SwitchStateSetCallback = Bool -> IO Bool
- GI.Gtk.Objects.Text: type TextDeleteFromCursorCallback = -- | /@type@/: the granularity of the deletion, as a @GtkDeleteType@ DeleteType -> -- | /@count@/: the number of /@type@/ units to delete Int32 -> IO ()
+ GI.Gtk.Objects.Text: type TextDeleteFromCursorCallback = DeleteType -> Int32 -> IO ()
- GI.Gtk.Objects.Text: type TextInsertAtCursorCallback = -- | /@string@/: the string to insert Text -> IO ()
+ GI.Gtk.Objects.Text: type TextInsertAtCursorCallback = Text -> IO ()
- GI.Gtk.Objects.Text: type TextMoveCursorCallback = -- | /@step@/: the granularity of the move, as a @GtkMovementStep@ MovementStep -> -- | /@count@/: the number of /@step@/ units to move Int32 -> -- | /@extend@/: 'P.True' if the move should extend the selection Bool -> IO ()
+ GI.Gtk.Objects.Text: type TextMoveCursorCallback = MovementStep -> Int32 -> Bool -> IO ()
- GI.Gtk.Objects.Text: type TextPreeditChangedCallback = -- | /@preedit@/: the current preedit string Text -> IO ()
+ GI.Gtk.Objects.Text: type TextPreeditChangedCallback = Text -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferApplyTagCallback = -- | /@tag@/: the applied tag TextTag -> -- | /@start@/: the start of the range the tag is applied to TextIter -> -- | /@end@/: the end of the range the tag is applied to TextIter -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferApplyTagCallback = TextTag -> TextIter -> TextIter -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferDeleteRangeCallback = -- | /@start@/: the start of the range to be deleted TextIter -> -- | /@end@/: the end of the range to be deleted TextIter -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferDeleteRangeCallback = TextIter -> TextIter -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferInsertChildAnchorCallback = -- | /@location@/: position to insert /@anchor@/ in /@textbuffer@/ TextIter -> -- | /@anchor@/: the @GtkTextChildAnchor@ to be inserted TextChildAnchor -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferInsertChildAnchorCallback = TextIter -> TextChildAnchor -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferInsertPaintableCallback = -- | /@location@/: position to insert /@paintable@/ in /@textbuffer@/ TextIter -> -- | /@paintable@/: the @GdkPaintable@ to be inserted Paintable -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferInsertPaintableCallback = TextIter -> Paintable -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferInsertTextCallback = -- | /@location@/: position to insert /@text@/ in /@textbuffer@/ TextIter -> -- | /@text@/: the UTF-8 text to be inserted Text -> -- | /@len@/: length of the inserted text in bytes Int32 -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferInsertTextCallback = TextIter -> Text -> Int32 -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferMarkDeletedCallback = -- | /@mark@/: The mark that was deleted TextMark -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferMarkDeletedCallback = TextMark -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferMarkSetCallback = -- | /@location@/: The location of /@mark@/ in /@textbuffer@/ TextIter -> -- | /@mark@/: The mark that is set TextMark -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferMarkSetCallback = TextIter -> TextMark -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferPasteDoneCallback = -- | /@clipboard@/: the @GdkClipboard@ pasted from Clipboard -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferPasteDoneCallback = Clipboard -> IO ()
- GI.Gtk.Objects.TextBuffer: type TextBufferRemoveTagCallback = -- | /@tag@/: the tag to be removed TextTag -> -- | /@start@/: the start of the range the tag is removed from TextIter -> -- | /@end@/: the end of the range the tag is removed from TextIter -> IO ()
+ GI.Gtk.Objects.TextBuffer: type TextBufferRemoveTagCallback = TextTag -> TextIter -> TextIter -> IO ()
- GI.Gtk.Objects.TextTagTable: type TextTagTableTagAddedCallback = -- | /@tag@/: the added tag. TextTag -> IO ()
+ GI.Gtk.Objects.TextTagTable: type TextTagTableTagAddedCallback = TextTag -> IO ()
- GI.Gtk.Objects.TextTagTable: type TextTagTableTagChangedCallback = -- | /@tag@/: the changed tag. TextTag -> -- | /@sizeChanged@/: whether the change affects the @GtkTextView@ layout. Bool -> IO ()
+ GI.Gtk.Objects.TextTagTable: type TextTagTableTagChangedCallback = TextTag -> Bool -> IO ()
- GI.Gtk.Objects.TextTagTable: type TextTagTableTagRemovedCallback = -- | /@tag@/: the removed tag. TextTag -> IO ()
+ GI.Gtk.Objects.TextTagTable: type TextTagTableTagRemovedCallback = TextTag -> IO ()
- GI.Gtk.Objects.TextView: type TextViewDeleteFromCursorCallback = -- | /@type@/: the granularity of the deletion, as a @GtkDeleteType@ DeleteType -> -- | /@count@/: the number of /@type@/ units to delete Int32 -> IO ()
+ GI.Gtk.Objects.TextView: type TextViewDeleteFromCursorCallback = DeleteType -> Int32 -> IO ()
- GI.Gtk.Objects.TextView: type TextViewExtendSelectionCallback = -- | /@granularity@/: the granularity type TextExtendSelection -> -- | /@location@/: the location where to extend the selection TextIter -> -- | /@start@/: where the selection should start TextIter -> -- | /@end@/: where the selection should end TextIter -> -- | __Returns:__ 'GI.Gdk.Constants.EVENT_STOP' to stop other handlers from being invoked for the -- event. 'GI.Gdk.Constants.EVENT_PROPAGATE' to propagate the event further. IO Bool
+ GI.Gtk.Objects.TextView: type TextViewExtendSelectionCallback = TextExtendSelection -> TextIter -> TextIter -> TextIter -> IO Bool
- GI.Gtk.Objects.TextView: type TextViewInsertAtCursorCallback = -- | /@string@/: the string to insert Text -> IO ()
+ GI.Gtk.Objects.TextView: type TextViewInsertAtCursorCallback = Text -> IO ()
- GI.Gtk.Objects.TextView: type TextViewMoveCursorCallback = -- | /@step@/: the granularity of the move, as a @GtkMovementStep@ MovementStep -> -- | /@count@/: the number of /@step@/ units to move Int32 -> -- | /@extendSelection@/: 'P.True' if the move should extend the selection Bool -> IO ()
+ GI.Gtk.Objects.TextView: type TextViewMoveCursorCallback = MovementStep -> Int32 -> Bool -> IO ()
- GI.Gtk.Objects.TextView: type TextViewMoveViewportCallback = -- | /@step@/: the granularity of the movement, as a @GtkScrollStep@ ScrollStep -> -- | /@count@/: the number of /@step@/ units to move Int32 -> IO ()
+ GI.Gtk.Objects.TextView: type TextViewMoveViewportCallback = ScrollStep -> Int32 -> IO ()
- GI.Gtk.Objects.TextView: type TextViewPreeditChangedCallback = -- | /@preedit@/: the current preedit string Text -> IO ()
+ GI.Gtk.Objects.TextView: type TextViewPreeditChangedCallback = Text -> IO ()
- GI.Gtk.Objects.TextView: type TextViewSelectAllCallback = -- | /@select@/: 'P.True' to select, 'P.False' to unselect Bool -> IO ()
+ GI.Gtk.Objects.TextView: type TextViewSelectAllCallback = Bool -> IO ()
- GI.Gtk.Objects.TreeView: type TreeViewMoveCursorCallback = -- | /@step@/: the granularity of the move, as a @GtkMovementStep@. -- 'GI.Gtk.Enums.MovementStepLogicalPositions', 'GI.Gtk.Enums.MovementStepVisualPositions', -- 'GI.Gtk.Enums.MovementStepDisplayLines', 'GI.Gtk.Enums.MovementStepPages' and -- 'GI.Gtk.Enums.MovementStepBufferEnds' are supported. -- 'GI.Gtk.Enums.MovementStepLogicalPositions' and 'GI.Gtk.Enums.MovementStepVisualPositions' -- are treated identically. MovementStep -> -- | /@direction@/: the direction to move: +1 to move forwards; -1 to move -- backwards. The resulting movement is undefined for all other values. Int32 -> -- | /@extend@/: whether to extend the selection Bool -> -- | /@modify@/: whether to modify the selection Bool -> -- | __Returns:__ 'P.True' if /@step@/ is supported, 'P.False' otherwise. IO Bool
+ GI.Gtk.Objects.TreeView: type TreeViewMoveCursorCallback = MovementStep -> Int32 -> Bool -> Bool -> IO Bool
- GI.Gtk.Objects.TreeView: type TreeViewRowActivatedCallback = -- | /@path@/: the @GtkTreePath@ for the activated row TreePath -> -- | /@column@/: the @GtkTreeViewColumn@ in which the activation occurred Maybe TreeViewColumn -> IO ()
+ GI.Gtk.Objects.TreeView: type TreeViewRowActivatedCallback = TreePath -> Maybe TreeViewColumn -> IO ()
- GI.Gtk.Objects.TreeView: type TreeViewRowCollapsedCallback = -- | /@iter@/: the tree iter of the collapsed row TreeIter -> -- | /@path@/: a tree path that points to the row TreePath -> IO ()
+ GI.Gtk.Objects.TreeView: type TreeViewRowCollapsedCallback = TreeIter -> TreePath -> IO ()
- GI.Gtk.Objects.TreeView: type TreeViewRowExpandedCallback = -- | /@iter@/: the tree iter of the expanded row TreeIter -> -- | /@path@/: a tree path that points to the row TreePath -> IO ()
+ GI.Gtk.Objects.TreeView: type TreeViewRowExpandedCallback = TreeIter -> TreePath -> IO ()
- GI.Gtk.Objects.TreeView: type TreeViewTestCollapseRowCallback = -- | /@iter@/: the tree iter of the row to collapse TreeIter -> -- | /@path@/: a tree path that points to the row TreePath -> -- | __Returns:__ 'P.False' to allow collapsing, 'P.True' to reject IO Bool
+ GI.Gtk.Objects.TreeView: type TreeViewTestCollapseRowCallback = TreeIter -> TreePath -> IO Bool
- GI.Gtk.Objects.TreeView: type TreeViewTestExpandRowCallback = -- | /@iter@/: the tree iter of the row to expand TreeIter -> -- | /@path@/: a tree path that points to the row TreePath -> -- | __Returns:__ 'P.False' to allow expansion, 'P.True' to reject IO Bool
+ GI.Gtk.Objects.TreeView: type TreeViewTestExpandRowCallback = TreeIter -> TreePath -> IO Bool
- GI.Gtk.Objects.Widget: type WidgetDirectionChangedCallback = -- | /@previousDirection@/: the previous text direction of /@widget@/ TextDirection -> IO ()
+ GI.Gtk.Objects.Widget: type WidgetDirectionChangedCallback = TextDirection -> IO ()
- GI.Gtk.Objects.Widget: type WidgetKeynavFailedCallback = -- | /@direction@/: the direction of movement DirectionType -> -- | __Returns:__ 'P.True' if stopping keyboard navigation is fine, 'P.False' -- if the emitting widget should try to handle the keyboard -- navigation attempt in its parent widget(s). IO Bool
+ GI.Gtk.Objects.Widget: type WidgetKeynavFailedCallback = DirectionType -> IO Bool
- GI.Gtk.Objects.Widget: type WidgetMnemonicActivateCallback = -- | /@groupCycling@/: 'P.True' if there are other widgets with the same mnemonic Bool -> -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the event. -- 'P.False' to propagate the event further. IO Bool
+ GI.Gtk.Objects.Widget: type WidgetMnemonicActivateCallback = Bool -> IO Bool
- GI.Gtk.Objects.Widget: type WidgetMoveFocusCallback = -- | /@direction@/: the direction of the focus move DirectionType -> IO ()
+ GI.Gtk.Objects.Widget: type WidgetMoveFocusCallback = DirectionType -> IO ()
- GI.Gtk.Objects.Widget: type WidgetQueryTooltipCallback = -- | /@x@/: the x coordinate of the cursor position where the request has -- been emitted, relative to /@widget@/\'s left side Int32 -> -- | /@y@/: the y coordinate of the cursor position where the request has -- been emitted, relative to /@widget@/\'s top Int32 -> -- | /@keyboardMode@/: 'P.True' if the tooltip was triggered using the keyboard Bool -> -- | /@tooltip@/: a @GtkTooltip@ Tooltip -> -- | __Returns:__ 'P.True' if /@tooltip@/ should be shown right now, 'P.False' otherwise. IO Bool
+ GI.Gtk.Objects.Widget: type WidgetQueryTooltipCallback = Int32 -> Int32 -> Bool -> Tooltip -> IO Bool
- GI.Gtk.Objects.Widget: type WidgetStateFlagsChangedCallback = -- | /@flags@/: The previous state flags. [StateFlags] -> IO ()
+ GI.Gtk.Objects.Widget: type WidgetStateFlagsChangedCallback = [StateFlags] -> IO ()
- GI.Gtk.Objects.Window: type WindowCloseRequestCallback = -- | __Returns:__ 'P.True' to stop other handlers from being invoked for the signal IO Bool
+ GI.Gtk.Objects.Window: type WindowCloseRequestCallback = IO Bool
- GI.Gtk.Objects.Window: type WindowEnableDebuggingCallback = -- | /@toggle@/: toggle the debugger Bool -> -- | __Returns:__ 'P.True' if the key binding was handled IO Bool
+ GI.Gtk.Objects.Window: type WindowEnableDebuggingCallback = Bool -> IO Bool
- GI.Gtk.Structs.PrintSetup: printSetupGetPageSetup :: (HasCallStack, MonadIO m) => PrintSetup -> m (Maybe PageSetup)
+ GI.Gtk.Structs.PrintSetup: printSetupGetPageSetup :: (HasCallStack, MonadIO m) => PrintSetup -> m PageSetup
- GI.Gtk.Structs.PrintSetup: printSetupGetPrintSettings :: (HasCallStack, MonadIO m) => PrintSetup -> m (Maybe PrintSettings)
+ GI.Gtk.Structs.PrintSetup: printSetupGetPrintSettings :: (HasCallStack, MonadIO m) => PrintSetup -> m PrintSettings
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-gtk.cabal +4/−6
ChangeLog.md view
@@ -1,3 +1,7 @@+### 4.0.10+++ Drop dependency on gi-gtk, see [issue 459](https://github.com/haskell-gi/haskell-gi/issues/459).+ ### 4.0.9 + Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gtk-4.0.9/docs/GI-Gtk.html](https://hackage.haskell.org/package/gi-gtk-4.0.9/docs/GI-Gtk.html)+[https://hackage.haskell.org/package/gi-gtk-4.0.10/docs/GI-Gtk.html](https://hackage.haskell.org/package/gi-gtk-4.0.10/docs/GI-Gtk.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -18,7 +18,7 @@ where name = "Gtk" version = "4.0" pkgName = "gi-gtk"- pkgVersion = "4.0.9"+ pkgVersion = "4.0.10" overridesFile = Just "Gtk.overrides" verbose = False outputDir = Nothing
gi-gtk.cabal view
@@ -1,5 +1,5 @@ name: gi-gtk-version: 4.0.9+version: 4.0.10 synopsis: Gtk bindings description: Bindings for Gtk, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,7 @@ custom-setup setup-depends: base >= 4.11 && < 5, Cabal >= 1.24 && < 4,- haskell-gi >= 0.26.9 && < 0.27,+ haskell-gi >= 0.26.12 && < 0.27, gi-cairo == 1.0.*, gi-pango == 1.0.*, gi-gio == 2.0.*,@@ -25,8 +25,7 @@ gi-graphene == 1.0.*, gi-gsk == 4.0.*, gi-gobject == 2.0.*,- gi-glib == 2.0.*,- gi-atk == 2.0.*+ gi-glib == 2.0.* library default-language: Haskell2010@@ -37,7 +36,7 @@ pkgconfig-depends: gtk4 build-depends: base >= 4.9 && <5, haskell-gi-base >= 0.26 && < 0.27,- haskell-gi >= 0.26.9 && < 0.27,+ haskell-gi >= 0.26.12 && < 0.27, haskell-gi-overloading < 1.1, gi-cairo == 1.0.*, gi-pango == 1.0.*,@@ -48,7 +47,6 @@ gi-gsk == 4.0.*, gi-gobject == 2.0.*, gi-glib == 2.0.*,- gi-atk == 2.0.*, bytestring >= 0.10 && < 1, containers >= 0.5 && < 1, text >= 1.0 && < 3,