#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.TreeModelSort
(
TreeModelSort(..) ,
IsTreeModelSort ,
toTreeModelSort ,
noTreeModelSort ,
#if ENABLE_OVERLOADING
TreeModelSortClearCacheMethodInfo ,
#endif
treeModelSortClearCache ,
#if ENABLE_OVERLOADING
TreeModelSortConvertChildIterToIterMethodInfo,
#endif
treeModelSortConvertChildIterToIter ,
#if ENABLE_OVERLOADING
TreeModelSortConvertChildPathToPathMethodInfo,
#endif
treeModelSortConvertChildPathToPath ,
#if ENABLE_OVERLOADING
TreeModelSortConvertIterToChildIterMethodInfo,
#endif
treeModelSortConvertIterToChildIter ,
#if ENABLE_OVERLOADING
TreeModelSortConvertPathToChildPathMethodInfo,
#endif
treeModelSortConvertPathToChildPath ,
#if ENABLE_OVERLOADING
TreeModelSortGetModelMethodInfo ,
#endif
treeModelSortGetModel ,
#if ENABLE_OVERLOADING
TreeModelSortIterIsValidMethodInfo ,
#endif
treeModelSortIterIsValid ,
#if ENABLE_OVERLOADING
TreeModelSortResetDefaultSortFuncMethodInfo,
#endif
treeModelSortResetDefaultSortFunc ,
#if ENABLE_OVERLOADING
TreeModelSortModelPropertyInfo ,
#endif
constructTreeModelSortModel ,
getTreeModelSortModel ,
#if ENABLE_OVERLOADING
treeModelSortModel ,
#endif
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.TreeDragSource as Gtk.TreeDragSource
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.TreeModel as Gtk.TreeModel
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.TreeSortable as Gtk.TreeSortable
import {-# SOURCE #-} qualified GI.Gtk.Structs.TreeIter as Gtk.TreeIter
import {-# SOURCE #-} qualified GI.Gtk.Structs.TreePath as Gtk.TreePath
newtype TreeModelSort = TreeModelSort (ManagedPtr TreeModelSort)
foreign import ccall "gtk_tree_model_sort_get_type"
c_gtk_tree_model_sort_get_type :: IO GType
instance GObject TreeModelSort where
gobjectType _ = c_gtk_tree_model_sort_get_type
class GObject o => IsTreeModelSort o
#if MIN_VERSION_base(4,9,0)
instance {-# OVERLAPPABLE #-} (GObject a, O.UnknownAncestorError TreeModelSort a) =>
IsTreeModelSort a
#endif
instance IsTreeModelSort TreeModelSort
instance GObject.Object.IsObject TreeModelSort
instance Gtk.TreeDragSource.IsTreeDragSource TreeModelSort
instance Gtk.TreeModel.IsTreeModel TreeModelSort
instance Gtk.TreeSortable.IsTreeSortable TreeModelSort
toTreeModelSort :: (MonadIO m, IsTreeModelSort o) => o -> m TreeModelSort
toTreeModelSort = liftIO . unsafeCastTo TreeModelSort
noTreeModelSort :: Maybe TreeModelSort
noTreeModelSort = Nothing
#if ENABLE_OVERLOADING
type family ResolveTreeModelSortMethod (t :: Symbol) (o :: *) :: * where
ResolveTreeModelSortMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveTreeModelSortMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveTreeModelSortMethod "clearCache" o = TreeModelSortClearCacheMethodInfo
ResolveTreeModelSortMethod "convertChildIterToIter" o = TreeModelSortConvertChildIterToIterMethodInfo
ResolveTreeModelSortMethod "convertChildPathToPath" o = TreeModelSortConvertChildPathToPathMethodInfo
ResolveTreeModelSortMethod "convertIterToChildIter" o = TreeModelSortConvertIterToChildIterMethodInfo
ResolveTreeModelSortMethod "convertPathToChildPath" o = TreeModelSortConvertPathToChildPathMethodInfo
ResolveTreeModelSortMethod "dragDataDelete" o = Gtk.TreeDragSource.TreeDragSourceDragDataDeleteMethodInfo
ResolveTreeModelSortMethod "dragDataGet" o = Gtk.TreeDragSource.TreeDragSourceDragDataGetMethodInfo
ResolveTreeModelSortMethod "filterNew" o = Gtk.TreeModel.TreeModelFilterNewMethodInfo
ResolveTreeModelSortMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveTreeModelSortMethod "foreach" o = Gtk.TreeModel.TreeModelForeachMethodInfo
ResolveTreeModelSortMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveTreeModelSortMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveTreeModelSortMethod "hasDefaultSortFunc" o = Gtk.TreeSortable.TreeSortableHasDefaultSortFuncMethodInfo
ResolveTreeModelSortMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveTreeModelSortMethod "iterChildren" o = Gtk.TreeModel.TreeModelIterChildrenMethodInfo
ResolveTreeModelSortMethod "iterHasChild" o = Gtk.TreeModel.TreeModelIterHasChildMethodInfo
ResolveTreeModelSortMethod "iterIsValid" o = TreeModelSortIterIsValidMethodInfo
ResolveTreeModelSortMethod "iterNChildren" o = Gtk.TreeModel.TreeModelIterNChildrenMethodInfo
ResolveTreeModelSortMethod "iterNext" o = Gtk.TreeModel.TreeModelIterNextMethodInfo
ResolveTreeModelSortMethod "iterNthChild" o = Gtk.TreeModel.TreeModelIterNthChildMethodInfo
ResolveTreeModelSortMethod "iterParent" o = Gtk.TreeModel.TreeModelIterParentMethodInfo
ResolveTreeModelSortMethod "iterPrevious" o = Gtk.TreeModel.TreeModelIterPreviousMethodInfo
ResolveTreeModelSortMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveTreeModelSortMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveTreeModelSortMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveTreeModelSortMethod "refNode" o = Gtk.TreeModel.TreeModelRefNodeMethodInfo
ResolveTreeModelSortMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveTreeModelSortMethod "resetDefaultSortFunc" o = TreeModelSortResetDefaultSortFuncMethodInfo
ResolveTreeModelSortMethod "rowChanged" o = Gtk.TreeModel.TreeModelRowChangedMethodInfo
ResolveTreeModelSortMethod "rowDeleted" o = Gtk.TreeModel.TreeModelRowDeletedMethodInfo
ResolveTreeModelSortMethod "rowDraggable" o = Gtk.TreeDragSource.TreeDragSourceRowDraggableMethodInfo
ResolveTreeModelSortMethod "rowHasChildToggled" o = Gtk.TreeModel.TreeModelRowHasChildToggledMethodInfo
ResolveTreeModelSortMethod "rowInserted" o = Gtk.TreeModel.TreeModelRowInsertedMethodInfo
ResolveTreeModelSortMethod "rowsReordered" o = Gtk.TreeModel.TreeModelRowsReorderedMethodInfo
ResolveTreeModelSortMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveTreeModelSortMethod "sortColumnChanged" o = Gtk.TreeSortable.TreeSortableSortColumnChangedMethodInfo
ResolveTreeModelSortMethod "sortNewWithModel" o = Gtk.TreeModel.TreeModelSortNewWithModelMethodInfo
ResolveTreeModelSortMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveTreeModelSortMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveTreeModelSortMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveTreeModelSortMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveTreeModelSortMethod "unrefNode" o = Gtk.TreeModel.TreeModelUnrefNodeMethodInfo
ResolveTreeModelSortMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveTreeModelSortMethod "getColumnType" o = Gtk.TreeModel.TreeModelGetColumnTypeMethodInfo
ResolveTreeModelSortMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveTreeModelSortMethod "getFlags" o = Gtk.TreeModel.TreeModelGetFlagsMethodInfo
ResolveTreeModelSortMethod "getIter" o = Gtk.TreeModel.TreeModelGetIterMethodInfo
ResolveTreeModelSortMethod "getIterFirst" o = Gtk.TreeModel.TreeModelGetIterFirstMethodInfo
ResolveTreeModelSortMethod "getIterFromString" o = Gtk.TreeModel.TreeModelGetIterFromStringMethodInfo
ResolveTreeModelSortMethod "getModel" o = TreeModelSortGetModelMethodInfo
ResolveTreeModelSortMethod "getNColumns" o = Gtk.TreeModel.TreeModelGetNColumnsMethodInfo
ResolveTreeModelSortMethod "getPath" o = Gtk.TreeModel.TreeModelGetPathMethodInfo
ResolveTreeModelSortMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveTreeModelSortMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveTreeModelSortMethod "getSortColumnId" o = Gtk.TreeSortable.TreeSortableGetSortColumnIdMethodInfo
ResolveTreeModelSortMethod "getStringFromIter" o = Gtk.TreeModel.TreeModelGetStringFromIterMethodInfo
ResolveTreeModelSortMethod "getValue" o = Gtk.TreeModel.TreeModelGetValueMethodInfo
ResolveTreeModelSortMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveTreeModelSortMethod "setDefaultSortFunc" o = Gtk.TreeSortable.TreeSortableSetDefaultSortFuncMethodInfo
ResolveTreeModelSortMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveTreeModelSortMethod "setSortColumnId" o = Gtk.TreeSortable.TreeSortableSetSortColumnIdMethodInfo
ResolveTreeModelSortMethod "setSortFunc" o = Gtk.TreeSortable.TreeSortableSetSortFuncMethodInfo
ResolveTreeModelSortMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveTreeModelSortMethod t TreeModelSort, O.MethodInfo info TreeModelSort p) => O.IsLabelProxy t (TreeModelSort -> p) where
fromLabelProxy _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#if MIN_VERSION_base(4,9,0)
instance (info ~ ResolveTreeModelSortMethod t TreeModelSort, O.MethodInfo info TreeModelSort p) => O.IsLabel t (TreeModelSort -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
#endif
getTreeModelSortModel :: (MonadIO m, IsTreeModelSort o) => o -> m Gtk.TreeModel.TreeModel
getTreeModelSortModel obj = liftIO $ checkUnexpectedNothing "getTreeModelSortModel" $ getObjectPropertyObject obj "model" Gtk.TreeModel.TreeModel
constructTreeModelSortModel :: (IsTreeModelSort o, Gtk.TreeModel.IsTreeModel a) => a -> IO (GValueConstruct o)
constructTreeModelSortModel val = constructObjectPropertyObject "model" (Just val)
#if ENABLE_OVERLOADING
data TreeModelSortModelPropertyInfo
instance AttrInfo TreeModelSortModelPropertyInfo where
type AttrAllowedOps TreeModelSortModelPropertyInfo = '[ 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint TreeModelSortModelPropertyInfo = Gtk.TreeModel.IsTreeModel
type AttrBaseTypeConstraint TreeModelSortModelPropertyInfo = IsTreeModelSort
type AttrGetType TreeModelSortModelPropertyInfo = Gtk.TreeModel.TreeModel
type AttrLabel TreeModelSortModelPropertyInfo = "model"
type AttrOrigin TreeModelSortModelPropertyInfo = TreeModelSort
attrGet _ = getTreeModelSortModel
attrSet _ = undefined
attrConstruct _ = constructTreeModelSortModel
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList TreeModelSort
type instance O.AttributeList TreeModelSort = TreeModelSortAttributeList
type TreeModelSortAttributeList = ('[ '("model", TreeModelSortModelPropertyInfo)] :: [(Symbol, *)])
#endif
#if ENABLE_OVERLOADING
treeModelSortModel :: AttrLabelProxy "model"
treeModelSortModel = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
type instance O.SignalList TreeModelSort = TreeModelSortSignalList
type TreeModelSortSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo), '("rowChanged", Gtk.TreeModel.TreeModelRowChangedSignalInfo), '("rowDeleted", Gtk.TreeModel.TreeModelRowDeletedSignalInfo), '("rowHasChildToggled", Gtk.TreeModel.TreeModelRowHasChildToggledSignalInfo), '("rowInserted", Gtk.TreeModel.TreeModelRowInsertedSignalInfo), '("sortColumnChanged", Gtk.TreeSortable.TreeSortableSortColumnChangedSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_tree_model_sort_clear_cache" gtk_tree_model_sort_clear_cache ::
Ptr TreeModelSort ->
IO ()
treeModelSortClearCache ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> m ()
treeModelSortClearCache treeModelSort = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
gtk_tree_model_sort_clear_cache treeModelSort'
touchManagedPtr treeModelSort
return ()
#if ENABLE_OVERLOADING
data TreeModelSortClearCacheMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortClearCacheMethodInfo a signature where
overloadedMethod _ = treeModelSortClearCache
#endif
foreign import ccall "gtk_tree_model_sort_convert_child_iter_to_iter" gtk_tree_model_sort_convert_child_iter_to_iter ::
Ptr TreeModelSort ->
Ptr Gtk.TreeIter.TreeIter ->
Ptr Gtk.TreeIter.TreeIter ->
IO CInt
treeModelSortConvertChildIterToIter ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> Gtk.TreeIter.TreeIter
-> m ((Bool, Gtk.TreeIter.TreeIter))
treeModelSortConvertChildIterToIter treeModelSort childIter = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
sortIter <- callocBoxedBytes 32 :: IO (Ptr Gtk.TreeIter.TreeIter)
childIter' <- unsafeManagedPtrGetPtr childIter
result <- gtk_tree_model_sort_convert_child_iter_to_iter treeModelSort' sortIter childIter'
let result' = (/= 0) result
sortIter' <- (wrapBoxed Gtk.TreeIter.TreeIter) sortIter
touchManagedPtr treeModelSort
touchManagedPtr childIter
return (result', sortIter')
#if ENABLE_OVERLOADING
data TreeModelSortConvertChildIterToIterMethodInfo
instance (signature ~ (Gtk.TreeIter.TreeIter -> m ((Bool, Gtk.TreeIter.TreeIter))), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortConvertChildIterToIterMethodInfo a signature where
overloadedMethod _ = treeModelSortConvertChildIterToIter
#endif
foreign import ccall "gtk_tree_model_sort_convert_child_path_to_path" gtk_tree_model_sort_convert_child_path_to_path ::
Ptr TreeModelSort ->
Ptr Gtk.TreePath.TreePath ->
IO (Ptr Gtk.TreePath.TreePath)
treeModelSortConvertChildPathToPath ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> Gtk.TreePath.TreePath
-> m (Maybe Gtk.TreePath.TreePath)
treeModelSortConvertChildPathToPath treeModelSort childPath = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
childPath' <- unsafeManagedPtrGetPtr childPath
result <- gtk_tree_model_sort_convert_child_path_to_path treeModelSort' childPath'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (wrapBoxed Gtk.TreePath.TreePath) result'
return result''
touchManagedPtr treeModelSort
touchManagedPtr childPath
return maybeResult
#if ENABLE_OVERLOADING
data TreeModelSortConvertChildPathToPathMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m (Maybe Gtk.TreePath.TreePath)), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortConvertChildPathToPathMethodInfo a signature where
overloadedMethod _ = treeModelSortConvertChildPathToPath
#endif
foreign import ccall "gtk_tree_model_sort_convert_iter_to_child_iter" gtk_tree_model_sort_convert_iter_to_child_iter ::
Ptr TreeModelSort ->
Ptr Gtk.TreeIter.TreeIter ->
Ptr Gtk.TreeIter.TreeIter ->
IO ()
treeModelSortConvertIterToChildIter ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> Gtk.TreeIter.TreeIter
-> m (Gtk.TreeIter.TreeIter)
treeModelSortConvertIterToChildIter treeModelSort sortedIter = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
childIter <- callocBoxedBytes 32 :: IO (Ptr Gtk.TreeIter.TreeIter)
sortedIter' <- unsafeManagedPtrGetPtr sortedIter
gtk_tree_model_sort_convert_iter_to_child_iter treeModelSort' childIter sortedIter'
childIter' <- (wrapBoxed Gtk.TreeIter.TreeIter) childIter
touchManagedPtr treeModelSort
touchManagedPtr sortedIter
return childIter'
#if ENABLE_OVERLOADING
data TreeModelSortConvertIterToChildIterMethodInfo
instance (signature ~ (Gtk.TreeIter.TreeIter -> m (Gtk.TreeIter.TreeIter)), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortConvertIterToChildIterMethodInfo a signature where
overloadedMethod _ = treeModelSortConvertIterToChildIter
#endif
foreign import ccall "gtk_tree_model_sort_convert_path_to_child_path" gtk_tree_model_sort_convert_path_to_child_path ::
Ptr TreeModelSort ->
Ptr Gtk.TreePath.TreePath ->
IO (Ptr Gtk.TreePath.TreePath)
treeModelSortConvertPathToChildPath ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> Gtk.TreePath.TreePath
-> m (Maybe Gtk.TreePath.TreePath)
treeModelSortConvertPathToChildPath treeModelSort sortedPath = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
sortedPath' <- unsafeManagedPtrGetPtr sortedPath
result <- gtk_tree_model_sort_convert_path_to_child_path treeModelSort' sortedPath'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (wrapBoxed Gtk.TreePath.TreePath) result'
return result''
touchManagedPtr treeModelSort
touchManagedPtr sortedPath
return maybeResult
#if ENABLE_OVERLOADING
data TreeModelSortConvertPathToChildPathMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m (Maybe Gtk.TreePath.TreePath)), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortConvertPathToChildPathMethodInfo a signature where
overloadedMethod _ = treeModelSortConvertPathToChildPath
#endif
foreign import ccall "gtk_tree_model_sort_get_model" gtk_tree_model_sort_get_model ::
Ptr TreeModelSort ->
IO (Ptr Gtk.TreeModel.TreeModel)
treeModelSortGetModel ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> m Gtk.TreeModel.TreeModel
treeModelSortGetModel treeModel = liftIO $ do
treeModel' <- unsafeManagedPtrCastPtr treeModel
result <- gtk_tree_model_sort_get_model treeModel'
checkUnexpectedReturnNULL "treeModelSortGetModel" result
result' <- (newObject Gtk.TreeModel.TreeModel) result
touchManagedPtr treeModel
return result'
#if ENABLE_OVERLOADING
data TreeModelSortGetModelMethodInfo
instance (signature ~ (m Gtk.TreeModel.TreeModel), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortGetModelMethodInfo a signature where
overloadedMethod _ = treeModelSortGetModel
#endif
foreign import ccall "gtk_tree_model_sort_iter_is_valid" gtk_tree_model_sort_iter_is_valid ::
Ptr TreeModelSort ->
Ptr Gtk.TreeIter.TreeIter ->
IO CInt
treeModelSortIterIsValid ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> Gtk.TreeIter.TreeIter
-> m Bool
treeModelSortIterIsValid treeModelSort iter = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
iter' <- unsafeManagedPtrGetPtr iter
result <- gtk_tree_model_sort_iter_is_valid treeModelSort' iter'
let result' = (/= 0) result
touchManagedPtr treeModelSort
touchManagedPtr iter
return result'
#if ENABLE_OVERLOADING
data TreeModelSortIterIsValidMethodInfo
instance (signature ~ (Gtk.TreeIter.TreeIter -> m Bool), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortIterIsValidMethodInfo a signature where
overloadedMethod _ = treeModelSortIterIsValid
#endif
foreign import ccall "gtk_tree_model_sort_reset_default_sort_func" gtk_tree_model_sort_reset_default_sort_func ::
Ptr TreeModelSort ->
IO ()
treeModelSortResetDefaultSortFunc ::
(B.CallStack.HasCallStack, MonadIO m, IsTreeModelSort a) =>
a
-> m ()
treeModelSortResetDefaultSortFunc treeModelSort = liftIO $ do
treeModelSort' <- unsafeManagedPtrCastPtr treeModelSort
gtk_tree_model_sort_reset_default_sort_func treeModelSort'
touchManagedPtr treeModelSort
return ()
#if ENABLE_OVERLOADING
data TreeModelSortResetDefaultSortFuncMethodInfo
instance (signature ~ (m ()), MonadIO m, IsTreeModelSort a) => O.MethodInfo TreeModelSortResetDefaultSortFuncMethodInfo a signature where
overloadedMethod _ = treeModelSortResetDefaultSortFunc
#endif