{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gtk.Objects.ToolPalette
(
ToolPalette(..) ,
IsToolPalette ,
toToolPalette ,
#if defined(ENABLE_OVERLOADING)
ResolveToolPaletteMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
ToolPaletteAddDragDestMethodInfo ,
#endif
toolPaletteAddDragDest ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetDragItemMethodInfo ,
#endif
toolPaletteGetDragItem ,
toolPaletteGetDragTargetGroup ,
toolPaletteGetDragTargetItem ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetDropGroupMethodInfo ,
#endif
toolPaletteGetDropGroup ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetDropItemMethodInfo ,
#endif
toolPaletteGetDropItem ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetExclusiveMethodInfo ,
#endif
toolPaletteGetExclusive ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetExpandMethodInfo ,
#endif
toolPaletteGetExpand ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetGroupPositionMethodInfo ,
#endif
toolPaletteGetGroupPosition ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetHadjustmentMethodInfo ,
#endif
toolPaletteGetHadjustment ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetIconSizeMethodInfo ,
#endif
toolPaletteGetIconSize ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetStyleMethodInfo ,
#endif
toolPaletteGetStyle ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteGetVadjustmentMethodInfo ,
#endif
toolPaletteGetVadjustment ,
toolPaletteNew ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteSetDragSourceMethodInfo ,
#endif
toolPaletteSetDragSource ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteSetExclusiveMethodInfo ,
#endif
toolPaletteSetExclusive ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteSetExpandMethodInfo ,
#endif
toolPaletteSetExpand ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteSetGroupPositionMethodInfo ,
#endif
toolPaletteSetGroupPosition ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteSetIconSizeMethodInfo ,
#endif
toolPaletteSetIconSize ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteSetStyleMethodInfo ,
#endif
toolPaletteSetStyle ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteUnsetIconSizeMethodInfo ,
#endif
toolPaletteUnsetIconSize ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteUnsetStyleMethodInfo ,
#endif
toolPaletteUnsetStyle ,
#if defined(ENABLE_OVERLOADING)
ToolPaletteIconSizePropertyInfo ,
#endif
constructToolPaletteIconSize ,
getToolPaletteIconSize ,
setToolPaletteIconSize ,
#if defined(ENABLE_OVERLOADING)
toolPaletteIconSize ,
#endif
#if defined(ENABLE_OVERLOADING)
ToolPaletteIconSizeSetPropertyInfo ,
#endif
constructToolPaletteIconSizeSet ,
getToolPaletteIconSizeSet ,
setToolPaletteIconSizeSet ,
#if defined(ENABLE_OVERLOADING)
toolPaletteIconSizeSet ,
#endif
#if defined(ENABLE_OVERLOADING)
ToolPaletteToolbarStylePropertyInfo ,
#endif
constructToolPaletteToolbarStyle ,
getToolPaletteToolbarStyle ,
setToolPaletteToolbarStyle ,
#if defined(ENABLE_OVERLOADING)
toolPaletteToolbarStyle ,
#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.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
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.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
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 GHC.OverloadedLabels as OL
import qualified GHC.Records as R
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Flags as Gdk.Flags
import {-# SOURCE #-} qualified GI.Gtk.Enums as Gtk.Enums
import {-# SOURCE #-} qualified GI.Gtk.Flags as Gtk.Flags
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Orientable as Gtk.Orientable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Scrollable as Gtk.Scrollable
import {-# SOURCE #-} qualified GI.Gtk.Objects.Adjustment as Gtk.Adjustment
import {-# SOURCE #-} qualified GI.Gtk.Objects.Container as Gtk.Container
import {-# SOURCE #-} qualified GI.Gtk.Objects.ToolItem as Gtk.ToolItem
import {-# SOURCE #-} qualified GI.Gtk.Objects.ToolItemGroup as Gtk.ToolItemGroup
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
import {-# SOURCE #-} qualified GI.Gtk.Structs.SelectionData as Gtk.SelectionData
import {-# SOURCE #-} qualified GI.Gtk.Structs.TargetEntry as Gtk.TargetEntry
newtype ToolPalette = ToolPalette (SP.ManagedPtr ToolPalette)
deriving (ToolPalette -> ToolPalette -> Bool
(ToolPalette -> ToolPalette -> Bool)
-> (ToolPalette -> ToolPalette -> Bool) -> Eq ToolPalette
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ToolPalette -> ToolPalette -> Bool
$c/= :: ToolPalette -> ToolPalette -> Bool
== :: ToolPalette -> ToolPalette -> Bool
$c== :: ToolPalette -> ToolPalette -> Bool
Eq)
instance SP.ManagedPtrNewtype ToolPalette where
toManagedPtr :: ToolPalette -> ManagedPtr ToolPalette
toManagedPtr (ToolPalette ManagedPtr ToolPalette
p) = ManagedPtr ToolPalette
p
foreign import ccall "gtk_tool_palette_get_type"
c_gtk_tool_palette_get_type :: IO B.Types.GType
instance B.Types.TypedObject ToolPalette where
glibType :: IO GType
glibType = IO GType
c_gtk_tool_palette_get_type
instance B.Types.GObject ToolPalette
class (SP.GObject o, O.IsDescendantOf ToolPalette o) => IsToolPalette o
instance (SP.GObject o, O.IsDescendantOf ToolPalette o) => IsToolPalette o
instance O.HasParentTypes ToolPalette
type instance O.ParentTypes ToolPalette = '[Gtk.Container.Container, Gtk.Widget.Widget, GObject.Object.Object, Atk.ImplementorIface.ImplementorIface, Gtk.Buildable.Buildable, Gtk.Orientable.Orientable, Gtk.Scrollable.Scrollable]
toToolPalette :: (MIO.MonadIO m, IsToolPalette o) => o -> m ToolPalette
toToolPalette :: forall (m :: * -> *) o.
(MonadIO m, IsToolPalette o) =>
o -> m ToolPalette
toToolPalette = IO ToolPalette -> m ToolPalette
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ToolPalette -> m ToolPalette)
-> (o -> IO ToolPalette) -> o -> m ToolPalette
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr ToolPalette -> ToolPalette) -> o -> IO ToolPalette
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr ToolPalette -> ToolPalette
ToolPalette
instance B.GValue.IsGValue (Maybe ToolPalette) where
gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gtk_tool_palette_get_type
gvalueSet_ :: Ptr GValue -> Maybe ToolPalette -> IO ()
gvalueSet_ Ptr GValue
gv Maybe ToolPalette
P.Nothing = Ptr GValue -> Ptr ToolPalette -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr ToolPalette
forall a. Ptr a
FP.nullPtr :: FP.Ptr ToolPalette)
gvalueSet_ Ptr GValue
gv (P.Just ToolPalette
obj) = ToolPalette -> (Ptr ToolPalette -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr ToolPalette
obj (Ptr GValue -> Ptr ToolPalette -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
gvalueGet_ :: Ptr GValue -> IO (Maybe ToolPalette)
gvalueGet_ Ptr GValue
gv = do
Ptr ToolPalette
ptr <- Ptr GValue -> IO (Ptr ToolPalette)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr ToolPalette)
if Ptr ToolPalette
ptr Ptr ToolPalette -> Ptr ToolPalette -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr ToolPalette
forall a. Ptr a
FP.nullPtr
then ToolPalette -> Maybe ToolPalette
forall a. a -> Maybe a
P.Just (ToolPalette -> Maybe ToolPalette)
-> IO ToolPalette -> IO (Maybe ToolPalette)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr ToolPalette -> ToolPalette)
-> Ptr ToolPalette -> IO ToolPalette
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr ToolPalette -> ToolPalette
ToolPalette Ptr ToolPalette
ptr
else Maybe ToolPalette -> IO (Maybe ToolPalette)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ToolPalette
forall a. Maybe a
P.Nothing
#if defined(ENABLE_OVERLOADING)
type family ResolveToolPaletteMethod (t :: Symbol) (o :: *) :: * where
ResolveToolPaletteMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveToolPaletteMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveToolPaletteMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveToolPaletteMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveToolPaletteMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveToolPaletteMethod "addDragDest" o = ToolPaletteAddDragDestMethodInfo
ResolveToolPaletteMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveToolPaletteMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveToolPaletteMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveToolPaletteMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveToolPaletteMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveToolPaletteMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveToolPaletteMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveToolPaletteMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveToolPaletteMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveToolPaletteMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveToolPaletteMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveToolPaletteMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveToolPaletteMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveToolPaletteMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveToolPaletteMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveToolPaletteMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveToolPaletteMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveToolPaletteMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveToolPaletteMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveToolPaletteMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveToolPaletteMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveToolPaletteMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveToolPaletteMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveToolPaletteMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveToolPaletteMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveToolPaletteMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveToolPaletteMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveToolPaletteMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveToolPaletteMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveToolPaletteMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveToolPaletteMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveToolPaletteMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveToolPaletteMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveToolPaletteMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveToolPaletteMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveToolPaletteMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveToolPaletteMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveToolPaletteMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveToolPaletteMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveToolPaletteMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveToolPaletteMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveToolPaletteMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveToolPaletteMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveToolPaletteMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveToolPaletteMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveToolPaletteMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveToolPaletteMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveToolPaletteMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveToolPaletteMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveToolPaletteMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveToolPaletteMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveToolPaletteMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveToolPaletteMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveToolPaletteMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveToolPaletteMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveToolPaletteMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveToolPaletteMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveToolPaletteMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveToolPaletteMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveToolPaletteMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveToolPaletteMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveToolPaletteMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveToolPaletteMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveToolPaletteMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveToolPaletteMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveToolPaletteMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveToolPaletteMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveToolPaletteMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveToolPaletteMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveToolPaletteMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveToolPaletteMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveToolPaletteMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveToolPaletteMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveToolPaletteMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveToolPaletteMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveToolPaletteMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveToolPaletteMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveToolPaletteMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveToolPaletteMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveToolPaletteMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveToolPaletteMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveToolPaletteMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveToolPaletteMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveToolPaletteMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveToolPaletteMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveToolPaletteMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveToolPaletteMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveToolPaletteMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveToolPaletteMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveToolPaletteMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveToolPaletteMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveToolPaletteMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveToolPaletteMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveToolPaletteMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveToolPaletteMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveToolPaletteMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveToolPaletteMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveToolPaletteMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveToolPaletteMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveToolPaletteMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveToolPaletteMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveToolPaletteMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveToolPaletteMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveToolPaletteMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveToolPaletteMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveToolPaletteMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveToolPaletteMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveToolPaletteMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveToolPaletteMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveToolPaletteMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveToolPaletteMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveToolPaletteMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveToolPaletteMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveToolPaletteMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveToolPaletteMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveToolPaletteMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveToolPaletteMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveToolPaletteMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveToolPaletteMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveToolPaletteMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveToolPaletteMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveToolPaletteMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveToolPaletteMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveToolPaletteMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveToolPaletteMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveToolPaletteMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveToolPaletteMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveToolPaletteMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveToolPaletteMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveToolPaletteMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveToolPaletteMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveToolPaletteMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveToolPaletteMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveToolPaletteMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveToolPaletteMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveToolPaletteMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveToolPaletteMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveToolPaletteMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveToolPaletteMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveToolPaletteMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveToolPaletteMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveToolPaletteMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveToolPaletteMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveToolPaletteMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveToolPaletteMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveToolPaletteMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveToolPaletteMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveToolPaletteMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveToolPaletteMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveToolPaletteMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveToolPaletteMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveToolPaletteMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveToolPaletteMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveToolPaletteMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveToolPaletteMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveToolPaletteMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveToolPaletteMethod "unsetIconSize" o = ToolPaletteUnsetIconSizeMethodInfo
ResolveToolPaletteMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveToolPaletteMethod "unsetStyle" o = ToolPaletteUnsetStyleMethodInfo
ResolveToolPaletteMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveToolPaletteMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveToolPaletteMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveToolPaletteMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveToolPaletteMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveToolPaletteMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveToolPaletteMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveToolPaletteMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveToolPaletteMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveToolPaletteMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveToolPaletteMethod "getBorder" o = Gtk.Scrollable.ScrollableGetBorderMethodInfo
ResolveToolPaletteMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveToolPaletteMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveToolPaletteMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveToolPaletteMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveToolPaletteMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveToolPaletteMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveToolPaletteMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveToolPaletteMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveToolPaletteMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveToolPaletteMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveToolPaletteMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveToolPaletteMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveToolPaletteMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveToolPaletteMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveToolPaletteMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveToolPaletteMethod "getDragItem" o = ToolPaletteGetDragItemMethodInfo
ResolveToolPaletteMethod "getDropGroup" o = ToolPaletteGetDropGroupMethodInfo
ResolveToolPaletteMethod "getDropItem" o = ToolPaletteGetDropItemMethodInfo
ResolveToolPaletteMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveToolPaletteMethod "getExclusive" o = ToolPaletteGetExclusiveMethodInfo
ResolveToolPaletteMethod "getExpand" o = ToolPaletteGetExpandMethodInfo
ResolveToolPaletteMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveToolPaletteMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveToolPaletteMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveToolPaletteMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveToolPaletteMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveToolPaletteMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveToolPaletteMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveToolPaletteMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveToolPaletteMethod "getGroupPosition" o = ToolPaletteGetGroupPositionMethodInfo
ResolveToolPaletteMethod "getHadjustment" o = ToolPaletteGetHadjustmentMethodInfo
ResolveToolPaletteMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveToolPaletteMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveToolPaletteMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveToolPaletteMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveToolPaletteMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveToolPaletteMethod "getHscrollPolicy" o = Gtk.Scrollable.ScrollableGetHscrollPolicyMethodInfo
ResolveToolPaletteMethod "getIconSize" o = ToolPaletteGetIconSizeMethodInfo
ResolveToolPaletteMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveToolPaletteMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveToolPaletteMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveToolPaletteMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveToolPaletteMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveToolPaletteMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveToolPaletteMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveToolPaletteMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveToolPaletteMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveToolPaletteMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveToolPaletteMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveToolPaletteMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveToolPaletteMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveToolPaletteMethod "getOrientation" o = Gtk.Orientable.OrientableGetOrientationMethodInfo
ResolveToolPaletteMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveToolPaletteMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveToolPaletteMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveToolPaletteMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveToolPaletteMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveToolPaletteMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveToolPaletteMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveToolPaletteMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveToolPaletteMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveToolPaletteMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveToolPaletteMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveToolPaletteMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveToolPaletteMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveToolPaletteMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveToolPaletteMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveToolPaletteMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveToolPaletteMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveToolPaletteMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveToolPaletteMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveToolPaletteMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveToolPaletteMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveToolPaletteMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveToolPaletteMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveToolPaletteMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveToolPaletteMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveToolPaletteMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveToolPaletteMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveToolPaletteMethod "getStyle" o = ToolPaletteGetStyleMethodInfo
ResolveToolPaletteMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveToolPaletteMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveToolPaletteMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveToolPaletteMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveToolPaletteMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveToolPaletteMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveToolPaletteMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveToolPaletteMethod "getVadjustment" o = ToolPaletteGetVadjustmentMethodInfo
ResolveToolPaletteMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveToolPaletteMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveToolPaletteMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveToolPaletteMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveToolPaletteMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveToolPaletteMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveToolPaletteMethod "getVscrollPolicy" o = Gtk.Scrollable.ScrollableGetVscrollPolicyMethodInfo
ResolveToolPaletteMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveToolPaletteMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveToolPaletteMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveToolPaletteMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveToolPaletteMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveToolPaletteMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveToolPaletteMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveToolPaletteMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveToolPaletteMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveToolPaletteMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveToolPaletteMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveToolPaletteMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveToolPaletteMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
ResolveToolPaletteMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveToolPaletteMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveToolPaletteMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveToolPaletteMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveToolPaletteMethod "setDragSource" o = ToolPaletteSetDragSourceMethodInfo
ResolveToolPaletteMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveToolPaletteMethod "setExclusive" o = ToolPaletteSetExclusiveMethodInfo
ResolveToolPaletteMethod "setExpand" o = ToolPaletteSetExpandMethodInfo
ResolveToolPaletteMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveToolPaletteMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveToolPaletteMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveToolPaletteMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveToolPaletteMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveToolPaletteMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveToolPaletteMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveToolPaletteMethod "setGroupPosition" o = ToolPaletteSetGroupPositionMethodInfo
ResolveToolPaletteMethod "setHadjustment" o = Gtk.Scrollable.ScrollableSetHadjustmentMethodInfo
ResolveToolPaletteMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveToolPaletteMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveToolPaletteMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveToolPaletteMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveToolPaletteMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveToolPaletteMethod "setHscrollPolicy" o = Gtk.Scrollable.ScrollableSetHscrollPolicyMethodInfo
ResolveToolPaletteMethod "setIconSize" o = ToolPaletteSetIconSizeMethodInfo
ResolveToolPaletteMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveToolPaletteMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveToolPaletteMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveToolPaletteMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveToolPaletteMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveToolPaletteMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveToolPaletteMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveToolPaletteMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveToolPaletteMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveToolPaletteMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveToolPaletteMethod "setOrientation" o = Gtk.Orientable.OrientableSetOrientationMethodInfo
ResolveToolPaletteMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveToolPaletteMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveToolPaletteMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveToolPaletteMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveToolPaletteMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveToolPaletteMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveToolPaletteMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveToolPaletteMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveToolPaletteMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveToolPaletteMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveToolPaletteMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveToolPaletteMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveToolPaletteMethod "setStyle" o = ToolPaletteSetStyleMethodInfo
ResolveToolPaletteMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveToolPaletteMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveToolPaletteMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveToolPaletteMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveToolPaletteMethod "setVadjustment" o = Gtk.Scrollable.ScrollableSetVadjustmentMethodInfo
ResolveToolPaletteMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveToolPaletteMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveToolPaletteMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveToolPaletteMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveToolPaletteMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveToolPaletteMethod "setVscrollPolicy" o = Gtk.Scrollable.ScrollableSetVscrollPolicyMethodInfo
ResolveToolPaletteMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveToolPaletteMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveToolPaletteMethod t ToolPalette, O.OverloadedMethod info ToolPalette p) => OL.IsLabel t (ToolPalette -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveToolPaletteMethod t ToolPalette, O.OverloadedMethod info ToolPalette p, R.HasField t ToolPalette p) => R.HasField t ToolPalette p where
getField = O.overloadedMethod @info
#endif
instance (info ~ ResolveToolPaletteMethod t ToolPalette, O.OverloadedMethodInfo info ToolPalette) => OL.IsLabel t (O.MethodProxy info ToolPalette) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.MethodProxy
#else
fromLabel _ = O.MethodProxy
#endif
#endif
getToolPaletteIconSize :: (MonadIO m, IsToolPalette o) => o -> m Gtk.Enums.IconSize
getToolPaletteIconSize :: forall (m :: * -> *) o.
(MonadIO m, IsToolPalette o) =>
o -> m IconSize
getToolPaletteIconSize o
obj = IO IconSize -> m IconSize
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO IconSize -> m IconSize) -> IO IconSize -> m IconSize
forall a b. (a -> b) -> a -> b
$ o -> String -> IO IconSize
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"icon-size"
setToolPaletteIconSize :: (MonadIO m, IsToolPalette o) => o -> Gtk.Enums.IconSize -> m ()
setToolPaletteIconSize :: forall (m :: * -> *) o.
(MonadIO m, IsToolPalette o) =>
o -> IconSize -> m ()
setToolPaletteIconSize o
obj IconSize
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> IconSize -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"icon-size" IconSize
val
constructToolPaletteIconSize :: (IsToolPalette o, MIO.MonadIO m) => Gtk.Enums.IconSize -> m (GValueConstruct o)
constructToolPaletteIconSize :: forall o (m :: * -> *).
(IsToolPalette o, MonadIO m) =>
IconSize -> m (GValueConstruct o)
constructToolPaletteIconSize IconSize
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> IconSize -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"icon-size" IconSize
val
#if defined(ENABLE_OVERLOADING)
data ToolPaletteIconSizePropertyInfo
instance AttrInfo ToolPaletteIconSizePropertyInfo where
type AttrAllowedOps ToolPaletteIconSizePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ToolPaletteIconSizePropertyInfo = IsToolPalette
type AttrSetTypeConstraint ToolPaletteIconSizePropertyInfo = (~) Gtk.Enums.IconSize
type AttrTransferTypeConstraint ToolPaletteIconSizePropertyInfo = (~) Gtk.Enums.IconSize
type AttrTransferType ToolPaletteIconSizePropertyInfo = Gtk.Enums.IconSize
type AttrGetType ToolPaletteIconSizePropertyInfo = Gtk.Enums.IconSize
type AttrLabel ToolPaletteIconSizePropertyInfo = "icon-size"
type AttrOrigin ToolPaletteIconSizePropertyInfo = ToolPalette
attrGet = getToolPaletteIconSize
attrSet = setToolPaletteIconSize
attrTransfer _ v = do
return v
attrConstruct = constructToolPaletteIconSize
attrClear = undefined
#endif
getToolPaletteIconSizeSet :: (MonadIO m, IsToolPalette o) => o -> m Bool
getToolPaletteIconSizeSet :: forall (m :: * -> *) o. (MonadIO m, IsToolPalette o) => o -> m Bool
getToolPaletteIconSizeSet o
obj = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ o -> String -> IO Bool
forall a. GObject a => a -> String -> IO Bool
B.Properties.getObjectPropertyBool o
obj String
"icon-size-set"
setToolPaletteIconSizeSet :: (MonadIO m, IsToolPalette o) => o -> Bool -> m ()
setToolPaletteIconSizeSet :: forall (m :: * -> *) o.
(MonadIO m, IsToolPalette o) =>
o -> Bool -> m ()
setToolPaletteIconSizeSet o
obj Bool
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> Bool -> IO ()
forall a. GObject a => a -> String -> Bool -> IO ()
B.Properties.setObjectPropertyBool o
obj String
"icon-size-set" Bool
val
constructToolPaletteIconSizeSet :: (IsToolPalette o, MIO.MonadIO m) => Bool -> m (GValueConstruct o)
constructToolPaletteIconSizeSet :: forall o (m :: * -> *).
(IsToolPalette o, MonadIO m) =>
Bool -> m (GValueConstruct o)
constructToolPaletteIconSizeSet Bool
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> Bool -> IO (GValueConstruct o)
forall o. String -> Bool -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyBool String
"icon-size-set" Bool
val
#if defined(ENABLE_OVERLOADING)
data ToolPaletteIconSizeSetPropertyInfo
instance AttrInfo ToolPaletteIconSizeSetPropertyInfo where
type AttrAllowedOps ToolPaletteIconSizeSetPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ToolPaletteIconSizeSetPropertyInfo = IsToolPalette
type AttrSetTypeConstraint ToolPaletteIconSizeSetPropertyInfo = (~) Bool
type AttrTransferTypeConstraint ToolPaletteIconSizeSetPropertyInfo = (~) Bool
type AttrTransferType ToolPaletteIconSizeSetPropertyInfo = Bool
type AttrGetType ToolPaletteIconSizeSetPropertyInfo = Bool
type AttrLabel ToolPaletteIconSizeSetPropertyInfo = "icon-size-set"
type AttrOrigin ToolPaletteIconSizeSetPropertyInfo = ToolPalette
attrGet = getToolPaletteIconSizeSet
attrSet = setToolPaletteIconSizeSet
attrTransfer _ v = do
return v
attrConstruct = constructToolPaletteIconSizeSet
attrClear = undefined
#endif
getToolPaletteToolbarStyle :: (MonadIO m, IsToolPalette o) => o -> m Gtk.Enums.ToolbarStyle
getToolPaletteToolbarStyle :: forall (m :: * -> *) o.
(MonadIO m, IsToolPalette o) =>
o -> m ToolbarStyle
getToolPaletteToolbarStyle o
obj = IO ToolbarStyle -> m ToolbarStyle
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO ToolbarStyle -> m ToolbarStyle)
-> IO ToolbarStyle -> m ToolbarStyle
forall a b. (a -> b) -> a -> b
$ o -> String -> IO ToolbarStyle
forall a b. (GObject a, Enum b, BoxedEnum b) => a -> String -> IO b
B.Properties.getObjectPropertyEnum o
obj String
"toolbar-style"
setToolPaletteToolbarStyle :: (MonadIO m, IsToolPalette o) => o -> Gtk.Enums.ToolbarStyle -> m ()
setToolPaletteToolbarStyle :: forall (m :: * -> *) o.
(MonadIO m, IsToolPalette o) =>
o -> ToolbarStyle -> m ()
setToolPaletteToolbarStyle o
obj ToolbarStyle
val = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
o -> String -> ToolbarStyle -> IO ()
forall a b.
(GObject a, Enum b, BoxedEnum b) =>
a -> String -> b -> IO ()
B.Properties.setObjectPropertyEnum o
obj String
"toolbar-style" ToolbarStyle
val
constructToolPaletteToolbarStyle :: (IsToolPalette o, MIO.MonadIO m) => Gtk.Enums.ToolbarStyle -> m (GValueConstruct o)
constructToolPaletteToolbarStyle :: forall o (m :: * -> *).
(IsToolPalette o, MonadIO m) =>
ToolbarStyle -> m (GValueConstruct o)
constructToolPaletteToolbarStyle ToolbarStyle
val = IO (GValueConstruct o) -> m (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> m (GValueConstruct o))
-> IO (GValueConstruct o) -> m (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ do
IO (GValueConstruct o) -> IO (GValueConstruct o)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO (GValueConstruct o) -> IO (GValueConstruct o))
-> IO (GValueConstruct o) -> IO (GValueConstruct o)
forall a b. (a -> b) -> a -> b
$ String -> ToolbarStyle -> IO (GValueConstruct o)
forall a o.
(Enum a, BoxedEnum a) =>
String -> a -> IO (GValueConstruct o)
B.Properties.constructObjectPropertyEnum String
"toolbar-style" ToolbarStyle
val
#if defined(ENABLE_OVERLOADING)
data ToolPaletteToolbarStylePropertyInfo
instance AttrInfo ToolPaletteToolbarStylePropertyInfo where
type AttrAllowedOps ToolPaletteToolbarStylePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrBaseTypeConstraint ToolPaletteToolbarStylePropertyInfo = IsToolPalette
type AttrSetTypeConstraint ToolPaletteToolbarStylePropertyInfo = (~) Gtk.Enums.ToolbarStyle
type AttrTransferTypeConstraint ToolPaletteToolbarStylePropertyInfo = (~) Gtk.Enums.ToolbarStyle
type AttrTransferType ToolPaletteToolbarStylePropertyInfo = Gtk.Enums.ToolbarStyle
type AttrGetType ToolPaletteToolbarStylePropertyInfo = Gtk.Enums.ToolbarStyle
type AttrLabel ToolPaletteToolbarStylePropertyInfo = "toolbar-style"
type AttrOrigin ToolPaletteToolbarStylePropertyInfo = ToolPalette
attrGet = getToolPaletteToolbarStyle
attrSet = setToolPaletteToolbarStyle
attrTransfer _ v = do
return v
attrConstruct = constructToolPaletteToolbarStyle
attrClear = undefined
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList ToolPalette
type instance O.AttributeList ToolPalette = ToolPaletteAttributeList
type ToolPaletteAttributeList = ('[ '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("compositeChild", Gtk.Widget.WidgetCompositeChildPropertyInfo), '("doubleBuffered", Gtk.Widget.WidgetDoubleBufferedPropertyInfo), '("events", Gtk.Widget.WidgetEventsPropertyInfo), '("expand", Gtk.Widget.WidgetExpandPropertyInfo), '("focusOnClick", Gtk.Widget.WidgetFocusOnClickPropertyInfo), '("hadjustment", Gtk.Scrollable.ScrollableHadjustmentPropertyInfo), '("halign", Gtk.Widget.WidgetHalignPropertyInfo), '("hasDefault", Gtk.Widget.WidgetHasDefaultPropertyInfo), '("hasFocus", Gtk.Widget.WidgetHasFocusPropertyInfo), '("hasTooltip", Gtk.Widget.WidgetHasTooltipPropertyInfo), '("heightRequest", Gtk.Widget.WidgetHeightRequestPropertyInfo), '("hexpand", Gtk.Widget.WidgetHexpandPropertyInfo), '("hexpandSet", Gtk.Widget.WidgetHexpandSetPropertyInfo), '("hscrollPolicy", Gtk.Scrollable.ScrollableHscrollPolicyPropertyInfo), '("iconSize", ToolPaletteIconSizePropertyInfo), '("iconSizeSet", ToolPaletteIconSizeSetPropertyInfo), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("margin", Gtk.Widget.WidgetMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("orientation", Gtk.Orientable.OrientableOrientationPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("toolbarStyle", ToolPaletteToolbarStylePropertyInfo), '("tooltipMarkup", Gtk.Widget.WidgetTooltipMarkupPropertyInfo), '("tooltipText", Gtk.Widget.WidgetTooltipTextPropertyInfo), '("vadjustment", Gtk.Scrollable.ScrollableVadjustmentPropertyInfo), '("valign", Gtk.Widget.WidgetValignPropertyInfo), '("vexpand", Gtk.Widget.WidgetVexpandPropertyInfo), '("vexpandSet", Gtk.Widget.WidgetVexpandSetPropertyInfo), '("visible", Gtk.Widget.WidgetVisiblePropertyInfo), '("vscrollPolicy", Gtk.Scrollable.ScrollableVscrollPolicyPropertyInfo), '("widthRequest", Gtk.Widget.WidgetWidthRequestPropertyInfo), '("window", Gtk.Widget.WidgetWindowPropertyInfo)] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
toolPaletteIconSize :: AttrLabelProxy "iconSize"
toolPaletteIconSize = AttrLabelProxy
toolPaletteIconSizeSet :: AttrLabelProxy "iconSizeSet"
toolPaletteIconSizeSet = AttrLabelProxy
toolPaletteToolbarStyle :: AttrLabelProxy "toolbarStyle"
toolPaletteToolbarStyle = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
type instance O.SignalList ToolPalette = ToolPaletteSignalList
type ToolPaletteSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("add", Gtk.Container.ContainerAddSignalInfo), '("buttonPressEvent", Gtk.Widget.WidgetButtonPressEventSignalInfo), '("buttonReleaseEvent", Gtk.Widget.WidgetButtonReleaseEventSignalInfo), '("canActivateAccel", Gtk.Widget.WidgetCanActivateAccelSignalInfo), '("checkResize", Gtk.Container.ContainerCheckResizeSignalInfo), '("childNotify", Gtk.Widget.WidgetChildNotifySignalInfo), '("compositedChanged", Gtk.Widget.WidgetCompositedChangedSignalInfo), '("configureEvent", Gtk.Widget.WidgetConfigureEventSignalInfo), '("damageEvent", Gtk.Widget.WidgetDamageEventSignalInfo), '("deleteEvent", Gtk.Widget.WidgetDeleteEventSignalInfo), '("destroy", Gtk.Widget.WidgetDestroySignalInfo), '("destroyEvent", Gtk.Widget.WidgetDestroyEventSignalInfo), '("directionChanged", Gtk.Widget.WidgetDirectionChangedSignalInfo), '("dragBegin", Gtk.Widget.WidgetDragBeginSignalInfo), '("dragDataDelete", Gtk.Widget.WidgetDragDataDeleteSignalInfo), '("dragDataGet", Gtk.Widget.WidgetDragDataGetSignalInfo), '("dragDataReceived", Gtk.Widget.WidgetDragDataReceivedSignalInfo), '("dragDrop", Gtk.Widget.WidgetDragDropSignalInfo), '("dragEnd", Gtk.Widget.WidgetDragEndSignalInfo), '("dragFailed", Gtk.Widget.WidgetDragFailedSignalInfo), '("dragLeave", Gtk.Widget.WidgetDragLeaveSignalInfo), '("dragMotion", Gtk.Widget.WidgetDragMotionSignalInfo), '("draw", Gtk.Widget.WidgetDrawSignalInfo), '("enterNotifyEvent", Gtk.Widget.WidgetEnterNotifyEventSignalInfo), '("event", Gtk.Widget.WidgetEventSignalInfo), '("eventAfter", Gtk.Widget.WidgetEventAfterSignalInfo), '("focus", Gtk.Widget.WidgetFocusSignalInfo), '("focusInEvent", Gtk.Widget.WidgetFocusInEventSignalInfo), '("focusOutEvent", Gtk.Widget.WidgetFocusOutEventSignalInfo), '("grabBrokenEvent", Gtk.Widget.WidgetGrabBrokenEventSignalInfo), '("grabFocus", Gtk.Widget.WidgetGrabFocusSignalInfo), '("grabNotify", Gtk.Widget.WidgetGrabNotifySignalInfo), '("hide", Gtk.Widget.WidgetHideSignalInfo), '("hierarchyChanged", Gtk.Widget.WidgetHierarchyChangedSignalInfo), '("keyPressEvent", Gtk.Widget.WidgetKeyPressEventSignalInfo), '("keyReleaseEvent", Gtk.Widget.WidgetKeyReleaseEventSignalInfo), '("keynavFailed", Gtk.Widget.WidgetKeynavFailedSignalInfo), '("leaveNotifyEvent", Gtk.Widget.WidgetLeaveNotifyEventSignalInfo), '("map", Gtk.Widget.WidgetMapSignalInfo), '("mapEvent", Gtk.Widget.WidgetMapEventSignalInfo), '("mnemonicActivate", Gtk.Widget.WidgetMnemonicActivateSignalInfo), '("motionNotifyEvent", Gtk.Widget.WidgetMotionNotifyEventSignalInfo), '("moveFocus", Gtk.Widget.WidgetMoveFocusSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("parentSet", Gtk.Widget.WidgetParentSetSignalInfo), '("popupMenu", Gtk.Widget.WidgetPopupMenuSignalInfo), '("propertyNotifyEvent", Gtk.Widget.WidgetPropertyNotifyEventSignalInfo), '("proximityInEvent", Gtk.Widget.WidgetProximityInEventSignalInfo), '("proximityOutEvent", Gtk.Widget.WidgetProximityOutEventSignalInfo), '("queryTooltip", Gtk.Widget.WidgetQueryTooltipSignalInfo), '("realize", Gtk.Widget.WidgetRealizeSignalInfo), '("remove", Gtk.Container.ContainerRemoveSignalInfo), '("screenChanged", Gtk.Widget.WidgetScreenChangedSignalInfo), '("scrollEvent", Gtk.Widget.WidgetScrollEventSignalInfo), '("selectionClearEvent", Gtk.Widget.WidgetSelectionClearEventSignalInfo), '("selectionGet", Gtk.Widget.WidgetSelectionGetSignalInfo), '("selectionNotifyEvent", Gtk.Widget.WidgetSelectionNotifyEventSignalInfo), '("selectionReceived", Gtk.Widget.WidgetSelectionReceivedSignalInfo), '("selectionRequestEvent", Gtk.Widget.WidgetSelectionRequestEventSignalInfo), '("setFocusChild", Gtk.Container.ContainerSetFocusChildSignalInfo), '("show", Gtk.Widget.WidgetShowSignalInfo), '("showHelp", Gtk.Widget.WidgetShowHelpSignalInfo), '("sizeAllocate", Gtk.Widget.WidgetSizeAllocateSignalInfo), '("stateChanged", Gtk.Widget.WidgetStateChangedSignalInfo), '("stateFlagsChanged", Gtk.Widget.WidgetStateFlagsChangedSignalInfo), '("styleSet", Gtk.Widget.WidgetStyleSetSignalInfo), '("styleUpdated", Gtk.Widget.WidgetStyleUpdatedSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_tool_palette_new" gtk_tool_palette_new ::
IO (Ptr ToolPalette)
toolPaletteNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m ToolPalette
toolPaletteNew :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m ToolPalette
toolPaletteNew = IO ToolPalette -> m ToolPalette
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ToolPalette -> m ToolPalette)
-> IO ToolPalette -> m ToolPalette
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
result <- IO (Ptr ToolPalette)
gtk_tool_palette_new
Text -> Ptr ToolPalette -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"toolPaletteNew" Ptr ToolPalette
result
ToolPalette
result' <- ((ManagedPtr ToolPalette -> ToolPalette)
-> Ptr ToolPalette -> IO ToolPalette
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ToolPalette -> ToolPalette
ToolPalette) Ptr ToolPalette
result
ToolPalette -> IO ToolPalette
forall (m :: * -> *) a. Monad m => a -> m a
return ToolPalette
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_tool_palette_add_drag_dest" gtk_tool_palette_add_drag_dest ::
Ptr ToolPalette ->
Ptr Gtk.Widget.Widget ->
CUInt ->
CUInt ->
CUInt ->
IO ()
toolPaletteAddDragDest ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.Widget.IsWidget b) =>
a
-> b
-> [Gtk.Flags.DestDefaults]
-> [Gtk.Flags.ToolPaletteDragTargets]
-> [Gdk.Flags.DragAction]
-> m ()
toolPaletteAddDragDest :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsWidget b) =>
a
-> b
-> [DestDefaults]
-> [ToolPaletteDragTargets]
-> [DragAction]
-> m ()
toolPaletteAddDragDest a
palette b
widget [DestDefaults]
flags [ToolPaletteDragTargets]
targets [DragAction]
actions = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr Widget
widget' <- b -> IO (Ptr Widget)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
widget
let flags' :: CUInt
flags' = [DestDefaults] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [DestDefaults]
flags
let targets' :: CUInt
targets' = [ToolPaletteDragTargets] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [ToolPaletteDragTargets]
targets
let actions' :: CUInt
actions' = [DragAction] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [DragAction]
actions
Ptr ToolPalette -> Ptr Widget -> CUInt -> CUInt -> CUInt -> IO ()
gtk_tool_palette_add_drag_dest Ptr ToolPalette
palette' Ptr Widget
widget' CUInt
flags' CUInt
targets' CUInt
actions'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
widget
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteAddDragDestMethodInfo
instance (signature ~ (b -> [Gtk.Flags.DestDefaults] -> [Gtk.Flags.ToolPaletteDragTargets] -> [Gdk.Flags.DragAction] -> m ()), MonadIO m, IsToolPalette a, Gtk.Widget.IsWidget b) => O.OverloadedMethod ToolPaletteAddDragDestMethodInfo a signature where
overloadedMethod = toolPaletteAddDragDest
instance O.OverloadedMethodInfo ToolPaletteAddDragDestMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteAddDragDest",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteAddDragDest"
}
#endif
foreign import ccall "gtk_tool_palette_get_drag_item" gtk_tool_palette_get_drag_item ::
Ptr ToolPalette ->
Ptr Gtk.SelectionData.SelectionData ->
IO (Ptr Gtk.Widget.Widget)
toolPaletteGetDragItem ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> Gtk.SelectionData.SelectionData
-> m Gtk.Widget.Widget
toolPaletteGetDragItem :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> SelectionData -> m Widget
toolPaletteGetDragItem a
palette SelectionData
selection = IO Widget -> m Widget
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Widget -> m Widget) -> IO Widget -> m Widget
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr SelectionData
selection' <- SelectionData -> IO (Ptr SelectionData)
forall a. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr a)
unsafeManagedPtrGetPtr SelectionData
selection
Ptr Widget
result <- Ptr ToolPalette -> Ptr SelectionData -> IO (Ptr Widget)
gtk_tool_palette_get_drag_item Ptr ToolPalette
palette' Ptr SelectionData
selection'
Text -> Ptr Widget -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"toolPaletteGetDragItem" Ptr Widget
result
Widget
result' <- ((ManagedPtr Widget -> Widget) -> Ptr Widget -> IO Widget
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Widget -> Widget
Gtk.Widget.Widget) Ptr Widget
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
SelectionData -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr SelectionData
selection
Widget -> IO Widget
forall (m :: * -> *) a. Monad m => a -> m a
return Widget
result'
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetDragItemMethodInfo
instance (signature ~ (Gtk.SelectionData.SelectionData -> m Gtk.Widget.Widget), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetDragItemMethodInfo a signature where
overloadedMethod = toolPaletteGetDragItem
instance O.OverloadedMethodInfo ToolPaletteGetDragItemMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetDragItem",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetDragItem"
}
#endif
foreign import ccall "gtk_tool_palette_get_drop_group" gtk_tool_palette_get_drop_group ::
Ptr ToolPalette ->
Int32 ->
Int32 ->
IO (Ptr Gtk.ToolItemGroup.ToolItemGroup)
toolPaletteGetDropGroup ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> Int32
-> Int32
-> m (Maybe Gtk.ToolItemGroup.ToolItemGroup)
toolPaletteGetDropGroup :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> Int32 -> Int32 -> m (Maybe ToolItemGroup)
toolPaletteGetDropGroup a
palette Int32
x Int32
y = IO (Maybe ToolItemGroup) -> m (Maybe ToolItemGroup)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe ToolItemGroup) -> m (Maybe ToolItemGroup))
-> IO (Maybe ToolItemGroup) -> m (Maybe ToolItemGroup)
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
result <- Ptr ToolPalette -> Int32 -> Int32 -> IO (Ptr ToolItemGroup)
gtk_tool_palette_get_drop_group Ptr ToolPalette
palette' Int32
x Int32
y
Maybe ToolItemGroup
maybeResult <- Ptr ToolItemGroup
-> (Ptr ToolItemGroup -> IO ToolItemGroup)
-> IO (Maybe ToolItemGroup)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr ToolItemGroup
result ((Ptr ToolItemGroup -> IO ToolItemGroup)
-> IO (Maybe ToolItemGroup))
-> (Ptr ToolItemGroup -> IO ToolItemGroup)
-> IO (Maybe ToolItemGroup)
forall a b. (a -> b) -> a -> b
$ \Ptr ToolItemGroup
result' -> do
ToolItemGroup
result'' <- ((ManagedPtr ToolItemGroup -> ToolItemGroup)
-> Ptr ToolItemGroup -> IO ToolItemGroup
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ToolItemGroup -> ToolItemGroup
Gtk.ToolItemGroup.ToolItemGroup) Ptr ToolItemGroup
result'
ToolItemGroup -> IO ToolItemGroup
forall (m :: * -> *) a. Monad m => a -> m a
return ToolItemGroup
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
Maybe ToolItemGroup -> IO (Maybe ToolItemGroup)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ToolItemGroup
maybeResult
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetDropGroupMethodInfo
instance (signature ~ (Int32 -> Int32 -> m (Maybe Gtk.ToolItemGroup.ToolItemGroup)), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetDropGroupMethodInfo a signature where
overloadedMethod = toolPaletteGetDropGroup
instance O.OverloadedMethodInfo ToolPaletteGetDropGroupMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetDropGroup",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetDropGroup"
}
#endif
foreign import ccall "gtk_tool_palette_get_drop_item" gtk_tool_palette_get_drop_item ::
Ptr ToolPalette ->
Int32 ->
Int32 ->
IO (Ptr Gtk.ToolItem.ToolItem)
toolPaletteGetDropItem ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> Int32
-> Int32
-> m (Maybe Gtk.ToolItem.ToolItem)
toolPaletteGetDropItem :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> Int32 -> Int32 -> m (Maybe ToolItem)
toolPaletteGetDropItem a
palette Int32
x Int32
y = IO (Maybe ToolItem) -> m (Maybe ToolItem)
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO (Maybe ToolItem) -> m (Maybe ToolItem))
-> IO (Maybe ToolItem) -> m (Maybe ToolItem)
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItem
result <- Ptr ToolPalette -> Int32 -> Int32 -> IO (Ptr ToolItem)
gtk_tool_palette_get_drop_item Ptr ToolPalette
palette' Int32
x Int32
y
Maybe ToolItem
maybeResult <- Ptr ToolItem
-> (Ptr ToolItem -> IO ToolItem) -> IO (Maybe ToolItem)
forall a b. Ptr a -> (Ptr a -> IO b) -> IO (Maybe b)
convertIfNonNull Ptr ToolItem
result ((Ptr ToolItem -> IO ToolItem) -> IO (Maybe ToolItem))
-> (Ptr ToolItem -> IO ToolItem) -> IO (Maybe ToolItem)
forall a b. (a -> b) -> a -> b
$ \Ptr ToolItem
result' -> do
ToolItem
result'' <- ((ManagedPtr ToolItem -> ToolItem) -> Ptr ToolItem -> IO ToolItem
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr ToolItem -> ToolItem
Gtk.ToolItem.ToolItem) Ptr ToolItem
result'
ToolItem -> IO ToolItem
forall (m :: * -> *) a. Monad m => a -> m a
return ToolItem
result''
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
Maybe ToolItem -> IO (Maybe ToolItem)
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe ToolItem
maybeResult
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetDropItemMethodInfo
instance (signature ~ (Int32 -> Int32 -> m (Maybe Gtk.ToolItem.ToolItem)), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetDropItemMethodInfo a signature where
overloadedMethod = toolPaletteGetDropItem
instance O.OverloadedMethodInfo ToolPaletteGetDropItemMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetDropItem",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetDropItem"
}
#endif
foreign import ccall "gtk_tool_palette_get_exclusive" gtk_tool_palette_get_exclusive ::
Ptr ToolPalette ->
Ptr Gtk.ToolItemGroup.ToolItemGroup ->
IO CInt
toolPaletteGetExclusive ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) =>
a
-> b
-> m Bool
toolPaletteGetExclusive :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsToolItemGroup b) =>
a -> b -> m Bool
toolPaletteGetExclusive a
palette b
group = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
group' <- b -> IO (Ptr ToolItemGroup)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
group
CInt
result <- Ptr ToolPalette -> Ptr ToolItemGroup -> IO CInt
gtk_tool_palette_get_exclusive Ptr ToolPalette
palette' Ptr ToolItemGroup
group'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
group
Bool -> IO Bool
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetExclusiveMethodInfo
instance (signature ~ (b -> m Bool), MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) => O.OverloadedMethod ToolPaletteGetExclusiveMethodInfo a signature where
overloadedMethod = toolPaletteGetExclusive
instance O.OverloadedMethodInfo ToolPaletteGetExclusiveMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetExclusive",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetExclusive"
}
#endif
foreign import ccall "gtk_tool_palette_get_expand" gtk_tool_palette_get_expand ::
Ptr ToolPalette ->
Ptr Gtk.ToolItemGroup.ToolItemGroup ->
IO CInt
toolPaletteGetExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) =>
a
-> b
-> m Bool
toolPaletteGetExpand :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsToolItemGroup b) =>
a -> b -> m Bool
toolPaletteGetExpand a
palette b
group = IO Bool -> m Bool
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
group' <- b -> IO (Ptr ToolItemGroup)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
group
CInt
result <- Ptr ToolPalette -> Ptr ToolItemGroup -> IO CInt
gtk_tool_palette_get_expand Ptr ToolPalette
palette' Ptr ToolItemGroup
group'
let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
group
Bool -> IO Bool
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetExpandMethodInfo
instance (signature ~ (b -> m Bool), MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) => O.OverloadedMethod ToolPaletteGetExpandMethodInfo a signature where
overloadedMethod = toolPaletteGetExpand
instance O.OverloadedMethodInfo ToolPaletteGetExpandMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetExpand",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetExpand"
}
#endif
foreign import ccall "gtk_tool_palette_get_group_position" gtk_tool_palette_get_group_position ::
Ptr ToolPalette ->
Ptr Gtk.ToolItemGroup.ToolItemGroup ->
IO Int32
toolPaletteGetGroupPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) =>
a
-> b
-> m Int32
toolPaletteGetGroupPosition :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsToolItemGroup b) =>
a -> b -> m Int32
toolPaletteGetGroupPosition a
palette b
group = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
group' <- b -> IO (Ptr ToolItemGroup)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
group
Int32
result <- Ptr ToolPalette -> Ptr ToolItemGroup -> IO Int32
gtk_tool_palette_get_group_position Ptr ToolPalette
palette' Ptr ToolItemGroup
group'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
group
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetGroupPositionMethodInfo
instance (signature ~ (b -> m Int32), MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) => O.OverloadedMethod ToolPaletteGetGroupPositionMethodInfo a signature where
overloadedMethod = toolPaletteGetGroupPosition
instance O.OverloadedMethodInfo ToolPaletteGetGroupPositionMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetGroupPosition",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetGroupPosition"
}
#endif
foreign import ccall "gtk_tool_palette_get_hadjustment" gtk_tool_palette_get_hadjustment ::
Ptr ToolPalette ->
IO (Ptr Gtk.Adjustment.Adjustment)
{-# DEPRECATED toolPaletteGetHadjustment ["(Since version 3.0)","Use 'GI.Gtk.Interfaces.Scrollable.scrollableGetHadjustment'"] #-}
toolPaletteGetHadjustment ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> m Gtk.Adjustment.Adjustment
toolPaletteGetHadjustment :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> m Adjustment
toolPaletteGetHadjustment a
palette = IO Adjustment -> m Adjustment
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Adjustment -> m Adjustment) -> IO Adjustment -> m Adjustment
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr Adjustment
result <- Ptr ToolPalette -> IO (Ptr Adjustment)
gtk_tool_palette_get_hadjustment Ptr ToolPalette
palette'
Text -> Ptr Adjustment -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"toolPaletteGetHadjustment" Ptr Adjustment
result
Adjustment
result' <- ((ManagedPtr Adjustment -> Adjustment)
-> Ptr Adjustment -> IO Adjustment
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Adjustment -> Adjustment
Gtk.Adjustment.Adjustment) Ptr Adjustment
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
Adjustment -> IO Adjustment
forall (m :: * -> *) a. Monad m => a -> m a
return Adjustment
result'
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetHadjustmentMethodInfo
instance (signature ~ (m Gtk.Adjustment.Adjustment), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetHadjustmentMethodInfo a signature where
overloadedMethod = toolPaletteGetHadjustment
instance O.OverloadedMethodInfo ToolPaletteGetHadjustmentMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetHadjustment",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetHadjustment"
}
#endif
foreign import ccall "gtk_tool_palette_get_icon_size" gtk_tool_palette_get_icon_size ::
Ptr ToolPalette ->
IO Int32
toolPaletteGetIconSize ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> m Int32
toolPaletteGetIconSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> m Int32
toolPaletteGetIconSize a
palette = IO Int32 -> m Int32
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Int32 -> m Int32) -> IO Int32 -> m Int32
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Int32
result <- Ptr ToolPalette -> IO Int32
gtk_tool_palette_get_icon_size Ptr ToolPalette
palette'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
Int32 -> IO Int32
forall (m :: * -> *) a. Monad m => a -> m a
return Int32
result
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetIconSizeMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetIconSizeMethodInfo a signature where
overloadedMethod = toolPaletteGetIconSize
instance O.OverloadedMethodInfo ToolPaletteGetIconSizeMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetIconSize",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetIconSize"
}
#endif
foreign import ccall "gtk_tool_palette_get_style" gtk_tool_palette_get_style ::
Ptr ToolPalette ->
IO CUInt
toolPaletteGetStyle ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> m Gtk.Enums.ToolbarStyle
toolPaletteGetStyle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> m ToolbarStyle
toolPaletteGetStyle a
palette = IO ToolbarStyle -> m ToolbarStyle
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO ToolbarStyle -> m ToolbarStyle)
-> IO ToolbarStyle -> m ToolbarStyle
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
CUInt
result <- Ptr ToolPalette -> IO CUInt
gtk_tool_palette_get_style Ptr ToolPalette
palette'
let result' :: ToolbarStyle
result' = (Int -> ToolbarStyle
forall a. Enum a => Int -> a
toEnum (Int -> ToolbarStyle) -> (CUInt -> Int) -> CUInt -> ToolbarStyle
forall b c a. (b -> c) -> (a -> b) -> a -> c
. CUInt -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral) CUInt
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
ToolbarStyle -> IO ToolbarStyle
forall (m :: * -> *) a. Monad m => a -> m a
return ToolbarStyle
result'
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetStyleMethodInfo
instance (signature ~ (m Gtk.Enums.ToolbarStyle), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetStyleMethodInfo a signature where
overloadedMethod = toolPaletteGetStyle
instance O.OverloadedMethodInfo ToolPaletteGetStyleMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetStyle",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetStyle"
}
#endif
foreign import ccall "gtk_tool_palette_get_vadjustment" gtk_tool_palette_get_vadjustment ::
Ptr ToolPalette ->
IO (Ptr Gtk.Adjustment.Adjustment)
{-# DEPRECATED toolPaletteGetVadjustment ["(Since version 3.0)","Use 'GI.Gtk.Interfaces.Scrollable.scrollableGetVadjustment'"] #-}
toolPaletteGetVadjustment ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> m Gtk.Adjustment.Adjustment
toolPaletteGetVadjustment :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> m Adjustment
toolPaletteGetVadjustment a
palette = IO Adjustment -> m Adjustment
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Adjustment -> m Adjustment) -> IO Adjustment -> m Adjustment
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr Adjustment
result <- Ptr ToolPalette -> IO (Ptr Adjustment)
gtk_tool_palette_get_vadjustment Ptr ToolPalette
palette'
Text -> Ptr Adjustment -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"toolPaletteGetVadjustment" Ptr Adjustment
result
Adjustment
result' <- ((ManagedPtr Adjustment -> Adjustment)
-> Ptr Adjustment -> IO Adjustment
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
newObject ManagedPtr Adjustment -> Adjustment
Gtk.Adjustment.Adjustment) Ptr Adjustment
result
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
Adjustment -> IO Adjustment
forall (m :: * -> *) a. Monad m => a -> m a
return Adjustment
result'
#if defined(ENABLE_OVERLOADING)
data ToolPaletteGetVadjustmentMethodInfo
instance (signature ~ (m Gtk.Adjustment.Adjustment), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteGetVadjustmentMethodInfo a signature where
overloadedMethod = toolPaletteGetVadjustment
instance O.OverloadedMethodInfo ToolPaletteGetVadjustmentMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteGetVadjustment",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteGetVadjustment"
}
#endif
foreign import ccall "gtk_tool_palette_set_drag_source" gtk_tool_palette_set_drag_source ::
Ptr ToolPalette ->
CUInt ->
IO ()
toolPaletteSetDragSource ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> [Gtk.Flags.ToolPaletteDragTargets]
-> m ()
toolPaletteSetDragSource :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> [ToolPaletteDragTargets] -> m ()
toolPaletteSetDragSource a
palette [ToolPaletteDragTargets]
targets = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
let targets' :: CUInt
targets' = [ToolPaletteDragTargets] -> CUInt
forall b a. (Num b, IsGFlag a) => [a] -> b
gflagsToWord [ToolPaletteDragTargets]
targets
Ptr ToolPalette -> CUInt -> IO ()
gtk_tool_palette_set_drag_source Ptr ToolPalette
palette' CUInt
targets'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteSetDragSourceMethodInfo
instance (signature ~ ([Gtk.Flags.ToolPaletteDragTargets] -> m ()), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteSetDragSourceMethodInfo a signature where
overloadedMethod = toolPaletteSetDragSource
instance O.OverloadedMethodInfo ToolPaletteSetDragSourceMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteSetDragSource",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteSetDragSource"
}
#endif
foreign import ccall "gtk_tool_palette_set_exclusive" gtk_tool_palette_set_exclusive ::
Ptr ToolPalette ->
Ptr Gtk.ToolItemGroup.ToolItemGroup ->
CInt ->
IO ()
toolPaletteSetExclusive ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) =>
a
-> b
-> Bool
-> m ()
toolPaletteSetExclusive :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsToolItemGroup b) =>
a -> b -> Bool -> m ()
toolPaletteSetExclusive a
palette b
group Bool
exclusive = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
group' <- b -> IO (Ptr ToolItemGroup)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
group
let exclusive' :: CInt
exclusive' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
exclusive
Ptr ToolPalette -> Ptr ToolItemGroup -> CInt -> IO ()
gtk_tool_palette_set_exclusive Ptr ToolPalette
palette' Ptr ToolItemGroup
group' CInt
exclusive'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
group
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteSetExclusiveMethodInfo
instance (signature ~ (b -> Bool -> m ()), MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) => O.OverloadedMethod ToolPaletteSetExclusiveMethodInfo a signature where
overloadedMethod = toolPaletteSetExclusive
instance O.OverloadedMethodInfo ToolPaletteSetExclusiveMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteSetExclusive",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteSetExclusive"
}
#endif
foreign import ccall "gtk_tool_palette_set_expand" gtk_tool_palette_set_expand ::
Ptr ToolPalette ->
Ptr Gtk.ToolItemGroup.ToolItemGroup ->
CInt ->
IO ()
toolPaletteSetExpand ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) =>
a
-> b
-> Bool
-> m ()
toolPaletteSetExpand :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsToolItemGroup b) =>
a -> b -> Bool -> m ()
toolPaletteSetExpand a
palette b
group Bool
expand = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
group' <- b -> IO (Ptr ToolItemGroup)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
group
let expand' :: CInt
expand' = (Int -> CInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CInt) -> (Bool -> Int) -> Bool -> CInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Bool -> Int
forall a. Enum a => a -> Int
fromEnum) Bool
expand
Ptr ToolPalette -> Ptr ToolItemGroup -> CInt -> IO ()
gtk_tool_palette_set_expand Ptr ToolPalette
palette' Ptr ToolItemGroup
group' CInt
expand'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
group
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteSetExpandMethodInfo
instance (signature ~ (b -> Bool -> m ()), MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) => O.OverloadedMethod ToolPaletteSetExpandMethodInfo a signature where
overloadedMethod = toolPaletteSetExpand
instance O.OverloadedMethodInfo ToolPaletteSetExpandMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteSetExpand",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteSetExpand"
}
#endif
foreign import ccall "gtk_tool_palette_set_group_position" gtk_tool_palette_set_group_position ::
Ptr ToolPalette ->
Ptr Gtk.ToolItemGroup.ToolItemGroup ->
Int32 ->
IO ()
toolPaletteSetGroupPosition ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) =>
a
-> b
-> Int32
-> m ()
toolPaletteSetGroupPosition :: forall (m :: * -> *) a b.
(HasCallStack, MonadIO m, IsToolPalette a, IsToolItemGroup b) =>
a -> b -> Int32 -> m ()
toolPaletteSetGroupPosition a
palette b
group Int32
position = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolItemGroup
group' <- b -> IO (Ptr ToolItemGroup)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr b
group
Ptr ToolPalette -> Ptr ToolItemGroup -> Int32 -> IO ()
gtk_tool_palette_set_group_position Ptr ToolPalette
palette' Ptr ToolItemGroup
group' Int32
position
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
b -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr b
group
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteSetGroupPositionMethodInfo
instance (signature ~ (b -> Int32 -> m ()), MonadIO m, IsToolPalette a, Gtk.ToolItemGroup.IsToolItemGroup b) => O.OverloadedMethod ToolPaletteSetGroupPositionMethodInfo a signature where
overloadedMethod = toolPaletteSetGroupPosition
instance O.OverloadedMethodInfo ToolPaletteSetGroupPositionMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteSetGroupPosition",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteSetGroupPosition"
}
#endif
foreign import ccall "gtk_tool_palette_set_icon_size" gtk_tool_palette_set_icon_size ::
Ptr ToolPalette ->
Int32 ->
IO ()
toolPaletteSetIconSize ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> Int32
-> m ()
toolPaletteSetIconSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> Int32 -> m ()
toolPaletteSetIconSize a
palette Int32
iconSize = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolPalette -> Int32 -> IO ()
gtk_tool_palette_set_icon_size Ptr ToolPalette
palette' Int32
iconSize
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteSetIconSizeMethodInfo
instance (signature ~ (Int32 -> m ()), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteSetIconSizeMethodInfo a signature where
overloadedMethod = toolPaletteSetIconSize
instance O.OverloadedMethodInfo ToolPaletteSetIconSizeMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteSetIconSize",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteSetIconSize"
}
#endif
foreign import ccall "gtk_tool_palette_set_style" gtk_tool_palette_set_style ::
Ptr ToolPalette ->
CUInt ->
IO ()
toolPaletteSetStyle ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> Gtk.Enums.ToolbarStyle
-> m ()
toolPaletteSetStyle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> ToolbarStyle -> m ()
toolPaletteSetStyle a
palette ToolbarStyle
style = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
let style' :: CUInt
style' = (Int -> CUInt
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> CUInt) -> (ToolbarStyle -> Int) -> ToolbarStyle -> CUInt
forall b c a. (b -> c) -> (a -> b) -> a -> c
. ToolbarStyle -> Int
forall a. Enum a => a -> Int
fromEnum) ToolbarStyle
style
Ptr ToolPalette -> CUInt -> IO ()
gtk_tool_palette_set_style Ptr ToolPalette
palette' CUInt
style'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteSetStyleMethodInfo
instance (signature ~ (Gtk.Enums.ToolbarStyle -> m ()), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteSetStyleMethodInfo a signature where
overloadedMethod = toolPaletteSetStyle
instance O.OverloadedMethodInfo ToolPaletteSetStyleMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteSetStyle",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteSetStyle"
}
#endif
foreign import ccall "gtk_tool_palette_unset_icon_size" gtk_tool_palette_unset_icon_size ::
Ptr ToolPalette ->
IO ()
toolPaletteUnsetIconSize ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> m ()
toolPaletteUnsetIconSize :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> m ()
toolPaletteUnsetIconSize a
palette = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolPalette -> IO ()
gtk_tool_palette_unset_icon_size Ptr ToolPalette
palette'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteUnsetIconSizeMethodInfo
instance (signature ~ (m ()), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteUnsetIconSizeMethodInfo a signature where
overloadedMethod = toolPaletteUnsetIconSize
instance O.OverloadedMethodInfo ToolPaletteUnsetIconSizeMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteUnsetIconSize",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteUnsetIconSize"
}
#endif
foreign import ccall "gtk_tool_palette_unset_style" gtk_tool_palette_unset_style ::
Ptr ToolPalette ->
IO ()
toolPaletteUnsetStyle ::
(B.CallStack.HasCallStack, MonadIO m, IsToolPalette a) =>
a
-> m ()
toolPaletteUnsetStyle :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsToolPalette a) =>
a -> m ()
toolPaletteUnsetStyle a
palette = IO () -> m ()
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO () -> m ()) -> IO () -> m ()
forall a b. (a -> b) -> a -> b
$ do
Ptr ToolPalette
palette' <- a -> IO (Ptr ToolPalette)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
palette
Ptr ToolPalette -> IO ()
gtk_tool_palette_unset_style Ptr ToolPalette
palette'
a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
palette
() -> IO ()
forall (m :: * -> *) a. Monad m => a -> m a
return ()
#if defined(ENABLE_OVERLOADING)
data ToolPaletteUnsetStyleMethodInfo
instance (signature ~ (m ()), MonadIO m, IsToolPalette a) => O.OverloadedMethod ToolPaletteUnsetStyleMethodInfo a signature where
overloadedMethod = toolPaletteUnsetStyle
instance O.OverloadedMethodInfo ToolPaletteUnsetStyleMethodInfo a where
overloadedMethodInfo = O.MethodInfo {
O.overloadedMethodName = "GI.Gtk.Objects.ToolPalette.toolPaletteUnsetStyle",
O.overloadedMethodURL = "https://hackage.haskell.org/package/gi-gtk-3.0.37/docs/GI-Gtk-Objects-ToolPalette.html#v:toolPaletteUnsetStyle"
}
#endif
foreign import ccall "gtk_tool_palette_get_drag_target_group" gtk_tool_palette_get_drag_target_group ::
IO (Ptr Gtk.TargetEntry.TargetEntry)
toolPaletteGetDragTargetGroup ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Gtk.TargetEntry.TargetEntry
toolPaletteGetDragTargetGroup :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m TargetEntry
toolPaletteGetDragTargetGroup = IO TargetEntry -> m TargetEntry
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TargetEntry -> m TargetEntry)
-> IO TargetEntry -> m TargetEntry
forall a b. (a -> b) -> a -> b
$ do
Ptr TargetEntry
result <- IO (Ptr TargetEntry)
gtk_tool_palette_get_drag_target_group
Text -> Ptr TargetEntry -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"toolPaletteGetDragTargetGroup" Ptr TargetEntry
result
TargetEntry
result' <- ((ManagedPtr TargetEntry -> TargetEntry)
-> Ptr TargetEntry -> IO TargetEntry
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newBoxed ManagedPtr TargetEntry -> TargetEntry
Gtk.TargetEntry.TargetEntry) Ptr TargetEntry
result
TargetEntry -> IO TargetEntry
forall (m :: * -> *) a. Monad m => a -> m a
return TargetEntry
result'
#if defined(ENABLE_OVERLOADING)
#endif
foreign import ccall "gtk_tool_palette_get_drag_target_item" gtk_tool_palette_get_drag_target_item ::
IO (Ptr Gtk.TargetEntry.TargetEntry)
toolPaletteGetDragTargetItem ::
(B.CallStack.HasCallStack, MonadIO m) =>
m Gtk.TargetEntry.TargetEntry
toolPaletteGetDragTargetItem :: forall (m :: * -> *). (HasCallStack, MonadIO m) => m TargetEntry
toolPaletteGetDragTargetItem = IO TargetEntry -> m TargetEntry
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO TargetEntry -> m TargetEntry)
-> IO TargetEntry -> m TargetEntry
forall a b. (a -> b) -> a -> b
$ do
Ptr TargetEntry
result <- IO (Ptr TargetEntry)
gtk_tool_palette_get_drag_target_item
Text -> Ptr TargetEntry -> IO ()
forall a. HasCallStack => Text -> Ptr a -> IO ()
checkUnexpectedReturnNULL Text
"toolPaletteGetDragTargetItem" Ptr TargetEntry
result
TargetEntry
result' <- ((ManagedPtr TargetEntry -> TargetEntry)
-> Ptr TargetEntry -> IO TargetEntry
forall a.
(HasCallStack, GBoxed a) =>
(ManagedPtr a -> a) -> Ptr a -> IO a
newBoxed ManagedPtr TargetEntry -> TargetEntry
Gtk.TargetEntry.TargetEntry) Ptr TargetEntry
result
TargetEntry -> IO TargetEntry
forall (m :: * -> *) a. Monad m => a -> m a
return TargetEntry
result'
#if defined(ENABLE_OVERLOADING)
#endif