#define ENABLE_OVERLOADING (MIN_VERSION_haskell_gi_overloading(1,0,0) \
&& !defined(__HADDOCK_VERSION__))
module GI.Gtk.Objects.IconView
(
IconView(..) ,
IsIconView ,
toIconView ,
noIconView ,
#if ENABLE_OVERLOADING
IconViewConvertWidgetToBinWindowCoordsMethodInfo,
#endif
iconViewConvertWidgetToBinWindowCoords ,
#if ENABLE_OVERLOADING
IconViewCreateDragIconMethodInfo ,
#endif
iconViewCreateDragIcon ,
#if ENABLE_OVERLOADING
IconViewEnableModelDragDestMethodInfo ,
#endif
iconViewEnableModelDragDest ,
#if ENABLE_OVERLOADING
IconViewEnableModelDragSourceMethodInfo ,
#endif
iconViewEnableModelDragSource ,
#if ENABLE_OVERLOADING
IconViewGetActivateOnSingleClickMethodInfo,
#endif
iconViewGetActivateOnSingleClick ,
#if ENABLE_OVERLOADING
IconViewGetCellRectMethodInfo ,
#endif
iconViewGetCellRect ,
#if ENABLE_OVERLOADING
IconViewGetColumnSpacingMethodInfo ,
#endif
iconViewGetColumnSpacing ,
#if ENABLE_OVERLOADING
IconViewGetColumnsMethodInfo ,
#endif
iconViewGetColumns ,
#if ENABLE_OVERLOADING
IconViewGetCursorMethodInfo ,
#endif
iconViewGetCursor ,
#if ENABLE_OVERLOADING
IconViewGetDestItemAtPosMethodInfo ,
#endif
iconViewGetDestItemAtPos ,
#if ENABLE_OVERLOADING
IconViewGetDragDestItemMethodInfo ,
#endif
iconViewGetDragDestItem ,
#if ENABLE_OVERLOADING
IconViewGetItemAtPosMethodInfo ,
#endif
iconViewGetItemAtPos ,
#if ENABLE_OVERLOADING
IconViewGetItemColumnMethodInfo ,
#endif
iconViewGetItemColumn ,
#if ENABLE_OVERLOADING
IconViewGetItemOrientationMethodInfo ,
#endif
iconViewGetItemOrientation ,
#if ENABLE_OVERLOADING
IconViewGetItemPaddingMethodInfo ,
#endif
iconViewGetItemPadding ,
#if ENABLE_OVERLOADING
IconViewGetItemRowMethodInfo ,
#endif
iconViewGetItemRow ,
#if ENABLE_OVERLOADING
IconViewGetItemWidthMethodInfo ,
#endif
iconViewGetItemWidth ,
#if ENABLE_OVERLOADING
IconViewGetMarginMethodInfo ,
#endif
iconViewGetMargin ,
#if ENABLE_OVERLOADING
IconViewGetMarkupColumnMethodInfo ,
#endif
iconViewGetMarkupColumn ,
#if ENABLE_OVERLOADING
IconViewGetModelMethodInfo ,
#endif
iconViewGetModel ,
#if ENABLE_OVERLOADING
IconViewGetPathAtPosMethodInfo ,
#endif
iconViewGetPathAtPos ,
#if ENABLE_OVERLOADING
IconViewGetPixbufColumnMethodInfo ,
#endif
iconViewGetPixbufColumn ,
#if ENABLE_OVERLOADING
IconViewGetReorderableMethodInfo ,
#endif
iconViewGetReorderable ,
#if ENABLE_OVERLOADING
IconViewGetRowSpacingMethodInfo ,
#endif
iconViewGetRowSpacing ,
#if ENABLE_OVERLOADING
IconViewGetSelectedItemsMethodInfo ,
#endif
iconViewGetSelectedItems ,
#if ENABLE_OVERLOADING
IconViewGetSelectionModeMethodInfo ,
#endif
iconViewGetSelectionMode ,
#if ENABLE_OVERLOADING
IconViewGetSpacingMethodInfo ,
#endif
iconViewGetSpacing ,
#if ENABLE_OVERLOADING
IconViewGetTextColumnMethodInfo ,
#endif
iconViewGetTextColumn ,
#if ENABLE_OVERLOADING
IconViewGetTooltipColumnMethodInfo ,
#endif
iconViewGetTooltipColumn ,
#if ENABLE_OVERLOADING
IconViewGetTooltipContextMethodInfo ,
#endif
iconViewGetTooltipContext ,
#if ENABLE_OVERLOADING
IconViewGetVisibleRangeMethodInfo ,
#endif
iconViewGetVisibleRange ,
#if ENABLE_OVERLOADING
IconViewItemActivatedMethodInfo ,
#endif
iconViewItemActivated ,
iconViewNew ,
iconViewNewWithArea ,
iconViewNewWithModel ,
#if ENABLE_OVERLOADING
IconViewPathIsSelectedMethodInfo ,
#endif
iconViewPathIsSelected ,
#if ENABLE_OVERLOADING
IconViewScrollToPathMethodInfo ,
#endif
iconViewScrollToPath ,
#if ENABLE_OVERLOADING
IconViewSelectAllMethodInfo ,
#endif
iconViewSelectAll ,
#if ENABLE_OVERLOADING
IconViewSelectPathMethodInfo ,
#endif
iconViewSelectPath ,
#if ENABLE_OVERLOADING
IconViewSelectedForeachMethodInfo ,
#endif
iconViewSelectedForeach ,
#if ENABLE_OVERLOADING
IconViewSetActivateOnSingleClickMethodInfo,
#endif
iconViewSetActivateOnSingleClick ,
#if ENABLE_OVERLOADING
IconViewSetColumnSpacingMethodInfo ,
#endif
iconViewSetColumnSpacing ,
#if ENABLE_OVERLOADING
IconViewSetColumnsMethodInfo ,
#endif
iconViewSetColumns ,
#if ENABLE_OVERLOADING
IconViewSetCursorMethodInfo ,
#endif
iconViewSetCursor ,
#if ENABLE_OVERLOADING
IconViewSetDragDestItemMethodInfo ,
#endif
iconViewSetDragDestItem ,
#if ENABLE_OVERLOADING
IconViewSetItemOrientationMethodInfo ,
#endif
iconViewSetItemOrientation ,
#if ENABLE_OVERLOADING
IconViewSetItemPaddingMethodInfo ,
#endif
iconViewSetItemPadding ,
#if ENABLE_OVERLOADING
IconViewSetItemWidthMethodInfo ,
#endif
iconViewSetItemWidth ,
#if ENABLE_OVERLOADING
IconViewSetMarginMethodInfo ,
#endif
iconViewSetMargin ,
#if ENABLE_OVERLOADING
IconViewSetMarkupColumnMethodInfo ,
#endif
iconViewSetMarkupColumn ,
#if ENABLE_OVERLOADING
IconViewSetModelMethodInfo ,
#endif
iconViewSetModel ,
#if ENABLE_OVERLOADING
IconViewSetPixbufColumnMethodInfo ,
#endif
iconViewSetPixbufColumn ,
#if ENABLE_OVERLOADING
IconViewSetReorderableMethodInfo ,
#endif
iconViewSetReorderable ,
#if ENABLE_OVERLOADING
IconViewSetRowSpacingMethodInfo ,
#endif
iconViewSetRowSpacing ,
#if ENABLE_OVERLOADING
IconViewSetSelectionModeMethodInfo ,
#endif
iconViewSetSelectionMode ,
#if ENABLE_OVERLOADING
IconViewSetSpacingMethodInfo ,
#endif
iconViewSetSpacing ,
#if ENABLE_OVERLOADING
IconViewSetTextColumnMethodInfo ,
#endif
iconViewSetTextColumn ,
#if ENABLE_OVERLOADING
IconViewSetTooltipCellMethodInfo ,
#endif
iconViewSetTooltipCell ,
#if ENABLE_OVERLOADING
IconViewSetTooltipColumnMethodInfo ,
#endif
iconViewSetTooltipColumn ,
#if ENABLE_OVERLOADING
IconViewSetTooltipItemMethodInfo ,
#endif
iconViewSetTooltipItem ,
#if ENABLE_OVERLOADING
IconViewUnselectAllMethodInfo ,
#endif
iconViewUnselectAll ,
#if ENABLE_OVERLOADING
IconViewUnselectPathMethodInfo ,
#endif
iconViewUnselectPath ,
#if ENABLE_OVERLOADING
IconViewUnsetModelDragDestMethodInfo ,
#endif
iconViewUnsetModelDragDest ,
#if ENABLE_OVERLOADING
IconViewUnsetModelDragSourceMethodInfo ,
#endif
iconViewUnsetModelDragSource ,
#if ENABLE_OVERLOADING
IconViewActivateOnSingleClickPropertyInfo,
#endif
constructIconViewActivateOnSingleClick ,
getIconViewActivateOnSingleClick ,
#if ENABLE_OVERLOADING
iconViewActivateOnSingleClick ,
#endif
setIconViewActivateOnSingleClick ,
#if ENABLE_OVERLOADING
IconViewCellAreaPropertyInfo ,
#endif
constructIconViewCellArea ,
getIconViewCellArea ,
#if ENABLE_OVERLOADING
iconViewCellArea ,
#endif
#if ENABLE_OVERLOADING
IconViewColumnSpacingPropertyInfo ,
#endif
constructIconViewColumnSpacing ,
getIconViewColumnSpacing ,
#if ENABLE_OVERLOADING
iconViewColumnSpacing ,
#endif
setIconViewColumnSpacing ,
#if ENABLE_OVERLOADING
IconViewColumnsPropertyInfo ,
#endif
constructIconViewColumns ,
getIconViewColumns ,
#if ENABLE_OVERLOADING
iconViewColumns ,
#endif
setIconViewColumns ,
#if ENABLE_OVERLOADING
IconViewItemOrientationPropertyInfo ,
#endif
constructIconViewItemOrientation ,
getIconViewItemOrientation ,
#if ENABLE_OVERLOADING
iconViewItemOrientation ,
#endif
setIconViewItemOrientation ,
#if ENABLE_OVERLOADING
IconViewItemPaddingPropertyInfo ,
#endif
constructIconViewItemPadding ,
getIconViewItemPadding ,
#if ENABLE_OVERLOADING
iconViewItemPadding ,
#endif
setIconViewItemPadding ,
#if ENABLE_OVERLOADING
IconViewItemWidthPropertyInfo ,
#endif
constructIconViewItemWidth ,
getIconViewItemWidth ,
#if ENABLE_OVERLOADING
iconViewItemWidth ,
#endif
setIconViewItemWidth ,
#if ENABLE_OVERLOADING
IconViewMarginPropertyInfo ,
#endif
constructIconViewMargin ,
getIconViewMargin ,
#if ENABLE_OVERLOADING
iconViewMargin ,
#endif
setIconViewMargin ,
#if ENABLE_OVERLOADING
IconViewMarkupColumnPropertyInfo ,
#endif
constructIconViewMarkupColumn ,
getIconViewMarkupColumn ,
#if ENABLE_OVERLOADING
iconViewMarkupColumn ,
#endif
setIconViewMarkupColumn ,
#if ENABLE_OVERLOADING
IconViewModelPropertyInfo ,
#endif
clearIconViewModel ,
constructIconViewModel ,
getIconViewModel ,
#if ENABLE_OVERLOADING
iconViewModel ,
#endif
setIconViewModel ,
#if ENABLE_OVERLOADING
IconViewPixbufColumnPropertyInfo ,
#endif
constructIconViewPixbufColumn ,
getIconViewPixbufColumn ,
#if ENABLE_OVERLOADING
iconViewPixbufColumn ,
#endif
setIconViewPixbufColumn ,
#if ENABLE_OVERLOADING
IconViewReorderablePropertyInfo ,
#endif
constructIconViewReorderable ,
getIconViewReorderable ,
#if ENABLE_OVERLOADING
iconViewReorderable ,
#endif
setIconViewReorderable ,
#if ENABLE_OVERLOADING
IconViewRowSpacingPropertyInfo ,
#endif
constructIconViewRowSpacing ,
getIconViewRowSpacing ,
#if ENABLE_OVERLOADING
iconViewRowSpacing ,
#endif
setIconViewRowSpacing ,
#if ENABLE_OVERLOADING
IconViewSelectionModePropertyInfo ,
#endif
constructIconViewSelectionMode ,
getIconViewSelectionMode ,
#if ENABLE_OVERLOADING
iconViewSelectionMode ,
#endif
setIconViewSelectionMode ,
#if ENABLE_OVERLOADING
IconViewSpacingPropertyInfo ,
#endif
constructIconViewSpacing ,
getIconViewSpacing ,
#if ENABLE_OVERLOADING
iconViewSpacing ,
#endif
setIconViewSpacing ,
#if ENABLE_OVERLOADING
IconViewTextColumnPropertyInfo ,
#endif
constructIconViewTextColumn ,
getIconViewTextColumn ,
#if ENABLE_OVERLOADING
iconViewTextColumn ,
#endif
setIconViewTextColumn ,
#if ENABLE_OVERLOADING
IconViewTooltipColumnPropertyInfo ,
#endif
constructIconViewTooltipColumn ,
getIconViewTooltipColumn ,
#if ENABLE_OVERLOADING
iconViewTooltipColumn ,
#endif
setIconViewTooltipColumn ,
C_IconViewActivateCursorItemCallback ,
IconViewActivateCursorItemCallback ,
#if ENABLE_OVERLOADING
IconViewActivateCursorItemSignalInfo ,
#endif
afterIconViewActivateCursorItem ,
genClosure_IconViewActivateCursorItem ,
mk_IconViewActivateCursorItemCallback ,
noIconViewActivateCursorItemCallback ,
onIconViewActivateCursorItem ,
wrap_IconViewActivateCursorItemCallback ,
C_IconViewItemActivatedCallback ,
IconViewItemActivatedCallback ,
#if ENABLE_OVERLOADING
IconViewItemActivatedSignalInfo ,
#endif
afterIconViewItemActivated ,
genClosure_IconViewItemActivated ,
mk_IconViewItemActivatedCallback ,
noIconViewItemActivatedCallback ,
onIconViewItemActivated ,
wrap_IconViewItemActivatedCallback ,
C_IconViewMoveCursorCallback ,
IconViewMoveCursorCallback ,
#if ENABLE_OVERLOADING
IconViewMoveCursorSignalInfo ,
#endif
afterIconViewMoveCursor ,
genClosure_IconViewMoveCursor ,
mk_IconViewMoveCursorCallback ,
noIconViewMoveCursorCallback ,
onIconViewMoveCursor ,
wrap_IconViewMoveCursorCallback ,
C_IconViewSelectAllCallback ,
IconViewSelectAllCallback ,
#if ENABLE_OVERLOADING
IconViewSelectAllSignalInfo ,
#endif
afterIconViewSelectAll ,
genClosure_IconViewSelectAll ,
mk_IconViewSelectAllCallback ,
noIconViewSelectAllCallback ,
onIconViewSelectAll ,
wrap_IconViewSelectAllCallback ,
C_IconViewSelectCursorItemCallback ,
IconViewSelectCursorItemCallback ,
#if ENABLE_OVERLOADING
IconViewSelectCursorItemSignalInfo ,
#endif
afterIconViewSelectCursorItem ,
genClosure_IconViewSelectCursorItem ,
mk_IconViewSelectCursorItemCallback ,
noIconViewSelectCursorItemCallback ,
onIconViewSelectCursorItem ,
wrap_IconViewSelectCursorItemCallback ,
C_IconViewSelectionChangedCallback ,
IconViewSelectionChangedCallback ,
#if ENABLE_OVERLOADING
IconViewSelectionChangedSignalInfo ,
#endif
afterIconViewSelectionChanged ,
genClosure_IconViewSelectionChanged ,
mk_IconViewSelectionChangedCallback ,
noIconViewSelectionChangedCallback ,
onIconViewSelectionChanged ,
wrap_IconViewSelectionChangedCallback ,
C_IconViewToggleCursorItemCallback ,
IconViewToggleCursorItemCallback ,
#if ENABLE_OVERLOADING
IconViewToggleCursorItemSignalInfo ,
#endif
afterIconViewToggleCursorItem ,
genClosure_IconViewToggleCursorItem ,
mk_IconViewToggleCursorItemCallback ,
noIconViewToggleCursorItemCallback ,
onIconViewToggleCursorItem ,
wrap_IconViewToggleCursorItemCallback ,
C_IconViewUnselectAllCallback ,
IconViewUnselectAllCallback ,
#if ENABLE_OVERLOADING
IconViewUnselectAllSignalInfo ,
#endif
afterIconViewUnselectAll ,
genClosure_IconViewUnselectAll ,
mk_IconViewUnselectAllCallback ,
noIconViewUnselectAllCallback ,
onIconViewUnselectAll ,
wrap_IconViewUnselectAllCallback ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GI.Atk.Interfaces.ImplementorIface as Atk.ImplementorIface
import qualified GI.Cairo.Structs.Surface as Cairo.Surface
import qualified GI.GObject.Objects.Object as GObject.Object
import qualified GI.Gdk.Flags as Gdk.Flags
import qualified GI.Gdk.Structs.Rectangle as Gdk.Rectangle
import qualified GI.Gtk.Callbacks as Gtk.Callbacks
import {-# SOURCE #-} qualified GI.Gtk.Enums as Gtk.Enums
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Buildable as Gtk.Buildable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.CellLayout as Gtk.CellLayout
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.Scrollable as Gtk.Scrollable
import {-# SOURCE #-} qualified GI.Gtk.Interfaces.TreeModel as Gtk.TreeModel
import {-# SOURCE #-} qualified GI.Gtk.Objects.CellArea as Gtk.CellArea
import {-# SOURCE #-} qualified GI.Gtk.Objects.CellRenderer as Gtk.CellRenderer
import {-# SOURCE #-} qualified GI.Gtk.Objects.Container as Gtk.Container
import {-# SOURCE #-} qualified GI.Gtk.Objects.Tooltip as Gtk.Tooltip
import {-# SOURCE #-} qualified GI.Gtk.Objects.Widget as Gtk.Widget
import {-# SOURCE #-} qualified GI.Gtk.Structs.TargetEntry as Gtk.TargetEntry
import {-# SOURCE #-} qualified GI.Gtk.Structs.TreeIter as Gtk.TreeIter
import {-# SOURCE #-} qualified GI.Gtk.Structs.TreePath as Gtk.TreePath
newtype IconView = IconView (ManagedPtr IconView)
foreign import ccall "gtk_icon_view_get_type"
c_gtk_icon_view_get_type :: IO GType
instance GObject IconView where
gobjectType _ = c_gtk_icon_view_get_type
class GObject o => IsIconView o
#if MIN_VERSION_base(4,9,0)
instance {-# OVERLAPPABLE #-} (GObject a, O.UnknownAncestorError IconView a) =>
IsIconView a
#endif
instance IsIconView IconView
instance Gtk.Container.IsContainer IconView
instance Gtk.Widget.IsWidget IconView
instance GObject.Object.IsObject IconView
instance Atk.ImplementorIface.IsImplementorIface IconView
instance Gtk.Buildable.IsBuildable IconView
instance Gtk.CellLayout.IsCellLayout IconView
instance Gtk.Scrollable.IsScrollable IconView
toIconView :: (MonadIO m, IsIconView o) => o -> m IconView
toIconView = liftIO . unsafeCastTo IconView
noIconView :: Maybe IconView
noIconView = Nothing
#if ENABLE_OVERLOADING
type family ResolveIconViewMethod (t :: Symbol) (o :: *) :: * where
ResolveIconViewMethod "activate" o = Gtk.Widget.WidgetActivateMethodInfo
ResolveIconViewMethod "add" o = Gtk.Container.ContainerAddMethodInfo
ResolveIconViewMethod "addAccelerator" o = Gtk.Widget.WidgetAddAcceleratorMethodInfo
ResolveIconViewMethod "addAttribute" o = Gtk.CellLayout.CellLayoutAddAttributeMethodInfo
ResolveIconViewMethod "addChild" o = Gtk.Buildable.BuildableAddChildMethodInfo
ResolveIconViewMethod "addDeviceEvents" o = Gtk.Widget.WidgetAddDeviceEventsMethodInfo
ResolveIconViewMethod "addEvents" o = Gtk.Widget.WidgetAddEventsMethodInfo
ResolveIconViewMethod "addMnemonicLabel" o = Gtk.Widget.WidgetAddMnemonicLabelMethodInfo
ResolveIconViewMethod "addTickCallback" o = Gtk.Widget.WidgetAddTickCallbackMethodInfo
ResolveIconViewMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
ResolveIconViewMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
ResolveIconViewMethod "canActivateAccel" o = Gtk.Widget.WidgetCanActivateAccelMethodInfo
ResolveIconViewMethod "checkResize" o = Gtk.Container.ContainerCheckResizeMethodInfo
ResolveIconViewMethod "childFocus" o = Gtk.Widget.WidgetChildFocusMethodInfo
ResolveIconViewMethod "childGetProperty" o = Gtk.Container.ContainerChildGetPropertyMethodInfo
ResolveIconViewMethod "childNotify" o = Gtk.Container.ContainerChildNotifyMethodInfo
ResolveIconViewMethod "childNotifyByPspec" o = Gtk.Container.ContainerChildNotifyByPspecMethodInfo
ResolveIconViewMethod "childSetProperty" o = Gtk.Container.ContainerChildSetPropertyMethodInfo
ResolveIconViewMethod "childType" o = Gtk.Container.ContainerChildTypeMethodInfo
ResolveIconViewMethod "classPath" o = Gtk.Widget.WidgetClassPathMethodInfo
ResolveIconViewMethod "clear" o = Gtk.CellLayout.CellLayoutClearMethodInfo
ResolveIconViewMethod "clearAttributes" o = Gtk.CellLayout.CellLayoutClearAttributesMethodInfo
ResolveIconViewMethod "computeExpand" o = Gtk.Widget.WidgetComputeExpandMethodInfo
ResolveIconViewMethod "constructChild" o = Gtk.Buildable.BuildableConstructChildMethodInfo
ResolveIconViewMethod "convertWidgetToBinWindowCoords" o = IconViewConvertWidgetToBinWindowCoordsMethodInfo
ResolveIconViewMethod "createDragIcon" o = IconViewCreateDragIconMethodInfo
ResolveIconViewMethod "createPangoContext" o = Gtk.Widget.WidgetCreatePangoContextMethodInfo
ResolveIconViewMethod "createPangoLayout" o = Gtk.Widget.WidgetCreatePangoLayoutMethodInfo
ResolveIconViewMethod "customFinished" o = Gtk.Buildable.BuildableCustomFinishedMethodInfo
ResolveIconViewMethod "customTagEnd" o = Gtk.Buildable.BuildableCustomTagEndMethodInfo
ResolveIconViewMethod "customTagStart" o = Gtk.Buildable.BuildableCustomTagStartMethodInfo
ResolveIconViewMethod "destroy" o = Gtk.Widget.WidgetDestroyMethodInfo
ResolveIconViewMethod "destroyed" o = Gtk.Widget.WidgetDestroyedMethodInfo
ResolveIconViewMethod "deviceIsShadowed" o = Gtk.Widget.WidgetDeviceIsShadowedMethodInfo
ResolveIconViewMethod "dragBegin" o = Gtk.Widget.WidgetDragBeginMethodInfo
ResolveIconViewMethod "dragBeginWithCoordinates" o = Gtk.Widget.WidgetDragBeginWithCoordinatesMethodInfo
ResolveIconViewMethod "dragCheckThreshold" o = Gtk.Widget.WidgetDragCheckThresholdMethodInfo
ResolveIconViewMethod "dragDestAddImageTargets" o = Gtk.Widget.WidgetDragDestAddImageTargetsMethodInfo
ResolveIconViewMethod "dragDestAddTextTargets" o = Gtk.Widget.WidgetDragDestAddTextTargetsMethodInfo
ResolveIconViewMethod "dragDestAddUriTargets" o = Gtk.Widget.WidgetDragDestAddUriTargetsMethodInfo
ResolveIconViewMethod "dragDestFindTarget" o = Gtk.Widget.WidgetDragDestFindTargetMethodInfo
ResolveIconViewMethod "dragDestGetTargetList" o = Gtk.Widget.WidgetDragDestGetTargetListMethodInfo
ResolveIconViewMethod "dragDestGetTrackMotion" o = Gtk.Widget.WidgetDragDestGetTrackMotionMethodInfo
ResolveIconViewMethod "dragDestSet" o = Gtk.Widget.WidgetDragDestSetMethodInfo
ResolveIconViewMethod "dragDestSetProxy" o = Gtk.Widget.WidgetDragDestSetProxyMethodInfo
ResolveIconViewMethod "dragDestSetTargetList" o = Gtk.Widget.WidgetDragDestSetTargetListMethodInfo
ResolveIconViewMethod "dragDestSetTrackMotion" o = Gtk.Widget.WidgetDragDestSetTrackMotionMethodInfo
ResolveIconViewMethod "dragDestUnset" o = Gtk.Widget.WidgetDragDestUnsetMethodInfo
ResolveIconViewMethod "dragGetData" o = Gtk.Widget.WidgetDragGetDataMethodInfo
ResolveIconViewMethod "dragHighlight" o = Gtk.Widget.WidgetDragHighlightMethodInfo
ResolveIconViewMethod "dragSourceAddImageTargets" o = Gtk.Widget.WidgetDragSourceAddImageTargetsMethodInfo
ResolveIconViewMethod "dragSourceAddTextTargets" o = Gtk.Widget.WidgetDragSourceAddTextTargetsMethodInfo
ResolveIconViewMethod "dragSourceAddUriTargets" o = Gtk.Widget.WidgetDragSourceAddUriTargetsMethodInfo
ResolveIconViewMethod "dragSourceGetTargetList" o = Gtk.Widget.WidgetDragSourceGetTargetListMethodInfo
ResolveIconViewMethod "dragSourceSet" o = Gtk.Widget.WidgetDragSourceSetMethodInfo
ResolveIconViewMethod "dragSourceSetIconGicon" o = Gtk.Widget.WidgetDragSourceSetIconGiconMethodInfo
ResolveIconViewMethod "dragSourceSetIconName" o = Gtk.Widget.WidgetDragSourceSetIconNameMethodInfo
ResolveIconViewMethod "dragSourceSetIconPixbuf" o = Gtk.Widget.WidgetDragSourceSetIconPixbufMethodInfo
ResolveIconViewMethod "dragSourceSetIconStock" o = Gtk.Widget.WidgetDragSourceSetIconStockMethodInfo
ResolveIconViewMethod "dragSourceSetTargetList" o = Gtk.Widget.WidgetDragSourceSetTargetListMethodInfo
ResolveIconViewMethod "dragSourceUnset" o = Gtk.Widget.WidgetDragSourceUnsetMethodInfo
ResolveIconViewMethod "dragUnhighlight" o = Gtk.Widget.WidgetDragUnhighlightMethodInfo
ResolveIconViewMethod "draw" o = Gtk.Widget.WidgetDrawMethodInfo
ResolveIconViewMethod "enableModelDragDest" o = IconViewEnableModelDragDestMethodInfo
ResolveIconViewMethod "enableModelDragSource" o = IconViewEnableModelDragSourceMethodInfo
ResolveIconViewMethod "ensureStyle" o = Gtk.Widget.WidgetEnsureStyleMethodInfo
ResolveIconViewMethod "errorBell" o = Gtk.Widget.WidgetErrorBellMethodInfo
ResolveIconViewMethod "event" o = Gtk.Widget.WidgetEventMethodInfo
ResolveIconViewMethod "forall" o = Gtk.Container.ContainerForallMethodInfo
ResolveIconViewMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
ResolveIconViewMethod "foreach" o = Gtk.Container.ContainerForeachMethodInfo
ResolveIconViewMethod "freezeChildNotify" o = Gtk.Widget.WidgetFreezeChildNotifyMethodInfo
ResolveIconViewMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
ResolveIconViewMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
ResolveIconViewMethod "grabAdd" o = Gtk.Widget.WidgetGrabAddMethodInfo
ResolveIconViewMethod "grabDefault" o = Gtk.Widget.WidgetGrabDefaultMethodInfo
ResolveIconViewMethod "grabFocus" o = Gtk.Widget.WidgetGrabFocusMethodInfo
ResolveIconViewMethod "grabRemove" o = Gtk.Widget.WidgetGrabRemoveMethodInfo
ResolveIconViewMethod "hasDefault" o = Gtk.Widget.WidgetHasDefaultMethodInfo
ResolveIconViewMethod "hasFocus" o = Gtk.Widget.WidgetHasFocusMethodInfo
ResolveIconViewMethod "hasGrab" o = Gtk.Widget.WidgetHasGrabMethodInfo
ResolveIconViewMethod "hasRcStyle" o = Gtk.Widget.WidgetHasRcStyleMethodInfo
ResolveIconViewMethod "hasScreen" o = Gtk.Widget.WidgetHasScreenMethodInfo
ResolveIconViewMethod "hasVisibleFocus" o = Gtk.Widget.WidgetHasVisibleFocusMethodInfo
ResolveIconViewMethod "hide" o = Gtk.Widget.WidgetHideMethodInfo
ResolveIconViewMethod "hideOnDelete" o = Gtk.Widget.WidgetHideOnDeleteMethodInfo
ResolveIconViewMethod "inDestruction" o = Gtk.Widget.WidgetInDestructionMethodInfo
ResolveIconViewMethod "initTemplate" o = Gtk.Widget.WidgetInitTemplateMethodInfo
ResolveIconViewMethod "inputShapeCombineRegion" o = Gtk.Widget.WidgetInputShapeCombineRegionMethodInfo
ResolveIconViewMethod "insertActionGroup" o = Gtk.Widget.WidgetInsertActionGroupMethodInfo
ResolveIconViewMethod "intersect" o = Gtk.Widget.WidgetIntersectMethodInfo
ResolveIconViewMethod "isAncestor" o = Gtk.Widget.WidgetIsAncestorMethodInfo
ResolveIconViewMethod "isComposited" o = Gtk.Widget.WidgetIsCompositedMethodInfo
ResolveIconViewMethod "isDrawable" o = Gtk.Widget.WidgetIsDrawableMethodInfo
ResolveIconViewMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
ResolveIconViewMethod "isFocus" o = Gtk.Widget.WidgetIsFocusMethodInfo
ResolveIconViewMethod "isSensitive" o = Gtk.Widget.WidgetIsSensitiveMethodInfo
ResolveIconViewMethod "isToplevel" o = Gtk.Widget.WidgetIsToplevelMethodInfo
ResolveIconViewMethod "isVisible" o = Gtk.Widget.WidgetIsVisibleMethodInfo
ResolveIconViewMethod "itemActivated" o = IconViewItemActivatedMethodInfo
ResolveIconViewMethod "keynavFailed" o = Gtk.Widget.WidgetKeynavFailedMethodInfo
ResolveIconViewMethod "listAccelClosures" o = Gtk.Widget.WidgetListAccelClosuresMethodInfo
ResolveIconViewMethod "listActionPrefixes" o = Gtk.Widget.WidgetListActionPrefixesMethodInfo
ResolveIconViewMethod "listMnemonicLabels" o = Gtk.Widget.WidgetListMnemonicLabelsMethodInfo
ResolveIconViewMethod "map" o = Gtk.Widget.WidgetMapMethodInfo
ResolveIconViewMethod "mnemonicActivate" o = Gtk.Widget.WidgetMnemonicActivateMethodInfo
ResolveIconViewMethod "modifyBase" o = Gtk.Widget.WidgetModifyBaseMethodInfo
ResolveIconViewMethod "modifyBg" o = Gtk.Widget.WidgetModifyBgMethodInfo
ResolveIconViewMethod "modifyCursor" o = Gtk.Widget.WidgetModifyCursorMethodInfo
ResolveIconViewMethod "modifyFg" o = Gtk.Widget.WidgetModifyFgMethodInfo
ResolveIconViewMethod "modifyFont" o = Gtk.Widget.WidgetModifyFontMethodInfo
ResolveIconViewMethod "modifyStyle" o = Gtk.Widget.WidgetModifyStyleMethodInfo
ResolveIconViewMethod "modifyText" o = Gtk.Widget.WidgetModifyTextMethodInfo
ResolveIconViewMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
ResolveIconViewMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
ResolveIconViewMethod "overrideBackgroundColor" o = Gtk.Widget.WidgetOverrideBackgroundColorMethodInfo
ResolveIconViewMethod "overrideColor" o = Gtk.Widget.WidgetOverrideColorMethodInfo
ResolveIconViewMethod "overrideCursor" o = Gtk.Widget.WidgetOverrideCursorMethodInfo
ResolveIconViewMethod "overrideFont" o = Gtk.Widget.WidgetOverrideFontMethodInfo
ResolveIconViewMethod "overrideSymbolicColor" o = Gtk.Widget.WidgetOverrideSymbolicColorMethodInfo
ResolveIconViewMethod "packEnd" o = Gtk.CellLayout.CellLayoutPackEndMethodInfo
ResolveIconViewMethod "packStart" o = Gtk.CellLayout.CellLayoutPackStartMethodInfo
ResolveIconViewMethod "parserFinished" o = Gtk.Buildable.BuildableParserFinishedMethodInfo
ResolveIconViewMethod "path" o = Gtk.Widget.WidgetPathMethodInfo
ResolveIconViewMethod "pathIsSelected" o = IconViewPathIsSelectedMethodInfo
ResolveIconViewMethod "propagateDraw" o = Gtk.Container.ContainerPropagateDrawMethodInfo
ResolveIconViewMethod "queueAllocate" o = Gtk.Widget.WidgetQueueAllocateMethodInfo
ResolveIconViewMethod "queueComputeExpand" o = Gtk.Widget.WidgetQueueComputeExpandMethodInfo
ResolveIconViewMethod "queueDraw" o = Gtk.Widget.WidgetQueueDrawMethodInfo
ResolveIconViewMethod "queueDrawArea" o = Gtk.Widget.WidgetQueueDrawAreaMethodInfo
ResolveIconViewMethod "queueDrawRegion" o = Gtk.Widget.WidgetQueueDrawRegionMethodInfo
ResolveIconViewMethod "queueResize" o = Gtk.Widget.WidgetQueueResizeMethodInfo
ResolveIconViewMethod "queueResizeNoRedraw" o = Gtk.Widget.WidgetQueueResizeNoRedrawMethodInfo
ResolveIconViewMethod "realize" o = Gtk.Widget.WidgetRealizeMethodInfo
ResolveIconViewMethod "ref" o = GObject.Object.ObjectRefMethodInfo
ResolveIconViewMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
ResolveIconViewMethod "regionIntersect" o = Gtk.Widget.WidgetRegionIntersectMethodInfo
ResolveIconViewMethod "registerWindow" o = Gtk.Widget.WidgetRegisterWindowMethodInfo
ResolveIconViewMethod "remove" o = Gtk.Container.ContainerRemoveMethodInfo
ResolveIconViewMethod "removeAccelerator" o = Gtk.Widget.WidgetRemoveAcceleratorMethodInfo
ResolveIconViewMethod "removeMnemonicLabel" o = Gtk.Widget.WidgetRemoveMnemonicLabelMethodInfo
ResolveIconViewMethod "removeTickCallback" o = Gtk.Widget.WidgetRemoveTickCallbackMethodInfo
ResolveIconViewMethod "renderIcon" o = Gtk.Widget.WidgetRenderIconMethodInfo
ResolveIconViewMethod "renderIconPixbuf" o = Gtk.Widget.WidgetRenderIconPixbufMethodInfo
ResolveIconViewMethod "reorder" o = Gtk.CellLayout.CellLayoutReorderMethodInfo
ResolveIconViewMethod "reparent" o = Gtk.Widget.WidgetReparentMethodInfo
ResolveIconViewMethod "resetRcStyles" o = Gtk.Widget.WidgetResetRcStylesMethodInfo
ResolveIconViewMethod "resetStyle" o = Gtk.Widget.WidgetResetStyleMethodInfo
ResolveIconViewMethod "resizeChildren" o = Gtk.Container.ContainerResizeChildrenMethodInfo
ResolveIconViewMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
ResolveIconViewMethod "scrollToPath" o = IconViewScrollToPathMethodInfo
ResolveIconViewMethod "selectAll" o = IconViewSelectAllMethodInfo
ResolveIconViewMethod "selectPath" o = IconViewSelectPathMethodInfo
ResolveIconViewMethod "selectedForeach" o = IconViewSelectedForeachMethodInfo
ResolveIconViewMethod "sendExpose" o = Gtk.Widget.WidgetSendExposeMethodInfo
ResolveIconViewMethod "sendFocusChange" o = Gtk.Widget.WidgetSendFocusChangeMethodInfo
ResolveIconViewMethod "shapeCombineRegion" o = Gtk.Widget.WidgetShapeCombineRegionMethodInfo
ResolveIconViewMethod "show" o = Gtk.Widget.WidgetShowMethodInfo
ResolveIconViewMethod "showAll" o = Gtk.Widget.WidgetShowAllMethodInfo
ResolveIconViewMethod "showNow" o = Gtk.Widget.WidgetShowNowMethodInfo
ResolveIconViewMethod "sizeAllocate" o = Gtk.Widget.WidgetSizeAllocateMethodInfo
ResolveIconViewMethod "sizeAllocateWithBaseline" o = Gtk.Widget.WidgetSizeAllocateWithBaselineMethodInfo
ResolveIconViewMethod "sizeRequest" o = Gtk.Widget.WidgetSizeRequestMethodInfo
ResolveIconViewMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
ResolveIconViewMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
ResolveIconViewMethod "styleAttach" o = Gtk.Widget.WidgetStyleAttachMethodInfo
ResolveIconViewMethod "styleGetProperty" o = Gtk.Widget.WidgetStyleGetPropertyMethodInfo
ResolveIconViewMethod "thawChildNotify" o = Gtk.Widget.WidgetThawChildNotifyMethodInfo
ResolveIconViewMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
ResolveIconViewMethod "translateCoordinates" o = Gtk.Widget.WidgetTranslateCoordinatesMethodInfo
ResolveIconViewMethod "triggerTooltipQuery" o = Gtk.Widget.WidgetTriggerTooltipQueryMethodInfo
ResolveIconViewMethod "unmap" o = Gtk.Widget.WidgetUnmapMethodInfo
ResolveIconViewMethod "unparent" o = Gtk.Widget.WidgetUnparentMethodInfo
ResolveIconViewMethod "unrealize" o = Gtk.Widget.WidgetUnrealizeMethodInfo
ResolveIconViewMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
ResolveIconViewMethod "unregisterWindow" o = Gtk.Widget.WidgetUnregisterWindowMethodInfo
ResolveIconViewMethod "unselectAll" o = IconViewUnselectAllMethodInfo
ResolveIconViewMethod "unselectPath" o = IconViewUnselectPathMethodInfo
ResolveIconViewMethod "unsetFocusChain" o = Gtk.Container.ContainerUnsetFocusChainMethodInfo
ResolveIconViewMethod "unsetModelDragDest" o = IconViewUnsetModelDragDestMethodInfo
ResolveIconViewMethod "unsetModelDragSource" o = IconViewUnsetModelDragSourceMethodInfo
ResolveIconViewMethod "unsetStateFlags" o = Gtk.Widget.WidgetUnsetStateFlagsMethodInfo
ResolveIconViewMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
ResolveIconViewMethod "getAccessible" o = Gtk.Widget.WidgetGetAccessibleMethodInfo
ResolveIconViewMethod "getActionGroup" o = Gtk.Widget.WidgetGetActionGroupMethodInfo
ResolveIconViewMethod "getActivateOnSingleClick" o = IconViewGetActivateOnSingleClickMethodInfo
ResolveIconViewMethod "getAllocatedBaseline" o = Gtk.Widget.WidgetGetAllocatedBaselineMethodInfo
ResolveIconViewMethod "getAllocatedHeight" o = Gtk.Widget.WidgetGetAllocatedHeightMethodInfo
ResolveIconViewMethod "getAllocatedSize" o = Gtk.Widget.WidgetGetAllocatedSizeMethodInfo
ResolveIconViewMethod "getAllocatedWidth" o = Gtk.Widget.WidgetGetAllocatedWidthMethodInfo
ResolveIconViewMethod "getAllocation" o = Gtk.Widget.WidgetGetAllocationMethodInfo
ResolveIconViewMethod "getAncestor" o = Gtk.Widget.WidgetGetAncestorMethodInfo
ResolveIconViewMethod "getAppPaintable" o = Gtk.Widget.WidgetGetAppPaintableMethodInfo
ResolveIconViewMethod "getArea" o = Gtk.CellLayout.CellLayoutGetAreaMethodInfo
ResolveIconViewMethod "getBorder" o = Gtk.Scrollable.ScrollableGetBorderMethodInfo
ResolveIconViewMethod "getBorderWidth" o = Gtk.Container.ContainerGetBorderWidthMethodInfo
ResolveIconViewMethod "getCanDefault" o = Gtk.Widget.WidgetGetCanDefaultMethodInfo
ResolveIconViewMethod "getCanFocus" o = Gtk.Widget.WidgetGetCanFocusMethodInfo
ResolveIconViewMethod "getCellRect" o = IconViewGetCellRectMethodInfo
ResolveIconViewMethod "getCells" o = Gtk.CellLayout.CellLayoutGetCellsMethodInfo
ResolveIconViewMethod "getChildRequisition" o = Gtk.Widget.WidgetGetChildRequisitionMethodInfo
ResolveIconViewMethod "getChildVisible" o = Gtk.Widget.WidgetGetChildVisibleMethodInfo
ResolveIconViewMethod "getChildren" o = Gtk.Container.ContainerGetChildrenMethodInfo
ResolveIconViewMethod "getClip" o = Gtk.Widget.WidgetGetClipMethodInfo
ResolveIconViewMethod "getClipboard" o = Gtk.Widget.WidgetGetClipboardMethodInfo
ResolveIconViewMethod "getColumnSpacing" o = IconViewGetColumnSpacingMethodInfo
ResolveIconViewMethod "getColumns" o = IconViewGetColumnsMethodInfo
ResolveIconViewMethod "getCompositeName" o = Gtk.Widget.WidgetGetCompositeNameMethodInfo
ResolveIconViewMethod "getCursor" o = IconViewGetCursorMethodInfo
ResolveIconViewMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
ResolveIconViewMethod "getDestItemAtPos" o = IconViewGetDestItemAtPosMethodInfo
ResolveIconViewMethod "getDeviceEnabled" o = Gtk.Widget.WidgetGetDeviceEnabledMethodInfo
ResolveIconViewMethod "getDeviceEvents" o = Gtk.Widget.WidgetGetDeviceEventsMethodInfo
ResolveIconViewMethod "getDirection" o = Gtk.Widget.WidgetGetDirectionMethodInfo
ResolveIconViewMethod "getDisplay" o = Gtk.Widget.WidgetGetDisplayMethodInfo
ResolveIconViewMethod "getDoubleBuffered" o = Gtk.Widget.WidgetGetDoubleBufferedMethodInfo
ResolveIconViewMethod "getDragDestItem" o = IconViewGetDragDestItemMethodInfo
ResolveIconViewMethod "getEvents" o = Gtk.Widget.WidgetGetEventsMethodInfo
ResolveIconViewMethod "getFocusChain" o = Gtk.Container.ContainerGetFocusChainMethodInfo
ResolveIconViewMethod "getFocusChild" o = Gtk.Container.ContainerGetFocusChildMethodInfo
ResolveIconViewMethod "getFocusHadjustment" o = Gtk.Container.ContainerGetFocusHadjustmentMethodInfo
ResolveIconViewMethod "getFocusOnClick" o = Gtk.Widget.WidgetGetFocusOnClickMethodInfo
ResolveIconViewMethod "getFocusVadjustment" o = Gtk.Container.ContainerGetFocusVadjustmentMethodInfo
ResolveIconViewMethod "getFontMap" o = Gtk.Widget.WidgetGetFontMapMethodInfo
ResolveIconViewMethod "getFontOptions" o = Gtk.Widget.WidgetGetFontOptionsMethodInfo
ResolveIconViewMethod "getFrameClock" o = Gtk.Widget.WidgetGetFrameClockMethodInfo
ResolveIconViewMethod "getHadjustment" o = Gtk.Scrollable.ScrollableGetHadjustmentMethodInfo
ResolveIconViewMethod "getHalign" o = Gtk.Widget.WidgetGetHalignMethodInfo
ResolveIconViewMethod "getHasTooltip" o = Gtk.Widget.WidgetGetHasTooltipMethodInfo
ResolveIconViewMethod "getHasWindow" o = Gtk.Widget.WidgetGetHasWindowMethodInfo
ResolveIconViewMethod "getHexpand" o = Gtk.Widget.WidgetGetHexpandMethodInfo
ResolveIconViewMethod "getHexpandSet" o = Gtk.Widget.WidgetGetHexpandSetMethodInfo
ResolveIconViewMethod "getHscrollPolicy" o = Gtk.Scrollable.ScrollableGetHscrollPolicyMethodInfo
ResolveIconViewMethod "getInternalChild" o = Gtk.Buildable.BuildableGetInternalChildMethodInfo
ResolveIconViewMethod "getItemAtPos" o = IconViewGetItemAtPosMethodInfo
ResolveIconViewMethod "getItemColumn" o = IconViewGetItemColumnMethodInfo
ResolveIconViewMethod "getItemOrientation" o = IconViewGetItemOrientationMethodInfo
ResolveIconViewMethod "getItemPadding" o = IconViewGetItemPaddingMethodInfo
ResolveIconViewMethod "getItemRow" o = IconViewGetItemRowMethodInfo
ResolveIconViewMethod "getItemWidth" o = IconViewGetItemWidthMethodInfo
ResolveIconViewMethod "getMapped" o = Gtk.Widget.WidgetGetMappedMethodInfo
ResolveIconViewMethod "getMargin" o = IconViewGetMarginMethodInfo
ResolveIconViewMethod "getMarginBottom" o = Gtk.Widget.WidgetGetMarginBottomMethodInfo
ResolveIconViewMethod "getMarginEnd" o = Gtk.Widget.WidgetGetMarginEndMethodInfo
ResolveIconViewMethod "getMarginLeft" o = Gtk.Widget.WidgetGetMarginLeftMethodInfo
ResolveIconViewMethod "getMarginRight" o = Gtk.Widget.WidgetGetMarginRightMethodInfo
ResolveIconViewMethod "getMarginStart" o = Gtk.Widget.WidgetGetMarginStartMethodInfo
ResolveIconViewMethod "getMarginTop" o = Gtk.Widget.WidgetGetMarginTopMethodInfo
ResolveIconViewMethod "getMarkupColumn" o = IconViewGetMarkupColumnMethodInfo
ResolveIconViewMethod "getModel" o = IconViewGetModelMethodInfo
ResolveIconViewMethod "getModifierMask" o = Gtk.Widget.WidgetGetModifierMaskMethodInfo
ResolveIconViewMethod "getModifierStyle" o = Gtk.Widget.WidgetGetModifierStyleMethodInfo
ResolveIconViewMethod "getName" o = Gtk.Widget.WidgetGetNameMethodInfo
ResolveIconViewMethod "getNoShowAll" o = Gtk.Widget.WidgetGetNoShowAllMethodInfo
ResolveIconViewMethod "getOpacity" o = Gtk.Widget.WidgetGetOpacityMethodInfo
ResolveIconViewMethod "getPangoContext" o = Gtk.Widget.WidgetGetPangoContextMethodInfo
ResolveIconViewMethod "getParent" o = Gtk.Widget.WidgetGetParentMethodInfo
ResolveIconViewMethod "getParentWindow" o = Gtk.Widget.WidgetGetParentWindowMethodInfo
ResolveIconViewMethod "getPath" o = Gtk.Widget.WidgetGetPathMethodInfo
ResolveIconViewMethod "getPathAtPos" o = IconViewGetPathAtPosMethodInfo
ResolveIconViewMethod "getPathForChild" o = Gtk.Container.ContainerGetPathForChildMethodInfo
ResolveIconViewMethod "getPixbufColumn" o = IconViewGetPixbufColumnMethodInfo
ResolveIconViewMethod "getPointer" o = Gtk.Widget.WidgetGetPointerMethodInfo
ResolveIconViewMethod "getPreferredHeight" o = Gtk.Widget.WidgetGetPreferredHeightMethodInfo
ResolveIconViewMethod "getPreferredHeightAndBaselineForWidth" o = Gtk.Widget.WidgetGetPreferredHeightAndBaselineForWidthMethodInfo
ResolveIconViewMethod "getPreferredHeightForWidth" o = Gtk.Widget.WidgetGetPreferredHeightForWidthMethodInfo
ResolveIconViewMethod "getPreferredSize" o = Gtk.Widget.WidgetGetPreferredSizeMethodInfo
ResolveIconViewMethod "getPreferredWidth" o = Gtk.Widget.WidgetGetPreferredWidthMethodInfo
ResolveIconViewMethod "getPreferredWidthForHeight" o = Gtk.Widget.WidgetGetPreferredWidthForHeightMethodInfo
ResolveIconViewMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
ResolveIconViewMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
ResolveIconViewMethod "getRealized" o = Gtk.Widget.WidgetGetRealizedMethodInfo
ResolveIconViewMethod "getReceivesDefault" o = Gtk.Widget.WidgetGetReceivesDefaultMethodInfo
ResolveIconViewMethod "getReorderable" o = IconViewGetReorderableMethodInfo
ResolveIconViewMethod "getRequestMode" o = Gtk.Widget.WidgetGetRequestModeMethodInfo
ResolveIconViewMethod "getRequisition" o = Gtk.Widget.WidgetGetRequisitionMethodInfo
ResolveIconViewMethod "getResizeMode" o = Gtk.Container.ContainerGetResizeModeMethodInfo
ResolveIconViewMethod "getRootWindow" o = Gtk.Widget.WidgetGetRootWindowMethodInfo
ResolveIconViewMethod "getRowSpacing" o = IconViewGetRowSpacingMethodInfo
ResolveIconViewMethod "getScaleFactor" o = Gtk.Widget.WidgetGetScaleFactorMethodInfo
ResolveIconViewMethod "getScreen" o = Gtk.Widget.WidgetGetScreenMethodInfo
ResolveIconViewMethod "getSelectedItems" o = IconViewGetSelectedItemsMethodInfo
ResolveIconViewMethod "getSelectionMode" o = IconViewGetSelectionModeMethodInfo
ResolveIconViewMethod "getSensitive" o = Gtk.Widget.WidgetGetSensitiveMethodInfo
ResolveIconViewMethod "getSettings" o = Gtk.Widget.WidgetGetSettingsMethodInfo
ResolveIconViewMethod "getSizeRequest" o = Gtk.Widget.WidgetGetSizeRequestMethodInfo
ResolveIconViewMethod "getSpacing" o = IconViewGetSpacingMethodInfo
ResolveIconViewMethod "getState" o = Gtk.Widget.WidgetGetStateMethodInfo
ResolveIconViewMethod "getStateFlags" o = Gtk.Widget.WidgetGetStateFlagsMethodInfo
ResolveIconViewMethod "getStyle" o = Gtk.Widget.WidgetGetStyleMethodInfo
ResolveIconViewMethod "getStyleContext" o = Gtk.Widget.WidgetGetStyleContextMethodInfo
ResolveIconViewMethod "getSupportMultidevice" o = Gtk.Widget.WidgetGetSupportMultideviceMethodInfo
ResolveIconViewMethod "getTemplateChild" o = Gtk.Widget.WidgetGetTemplateChildMethodInfo
ResolveIconViewMethod "getTextColumn" o = IconViewGetTextColumnMethodInfo
ResolveIconViewMethod "getTooltipColumn" o = IconViewGetTooltipColumnMethodInfo
ResolveIconViewMethod "getTooltipContext" o = IconViewGetTooltipContextMethodInfo
ResolveIconViewMethod "getTooltipMarkup" o = Gtk.Widget.WidgetGetTooltipMarkupMethodInfo
ResolveIconViewMethod "getTooltipText" o = Gtk.Widget.WidgetGetTooltipTextMethodInfo
ResolveIconViewMethod "getTooltipWindow" o = Gtk.Widget.WidgetGetTooltipWindowMethodInfo
ResolveIconViewMethod "getToplevel" o = Gtk.Widget.WidgetGetToplevelMethodInfo
ResolveIconViewMethod "getVadjustment" o = Gtk.Scrollable.ScrollableGetVadjustmentMethodInfo
ResolveIconViewMethod "getValign" o = Gtk.Widget.WidgetGetValignMethodInfo
ResolveIconViewMethod "getValignWithBaseline" o = Gtk.Widget.WidgetGetValignWithBaselineMethodInfo
ResolveIconViewMethod "getVexpand" o = Gtk.Widget.WidgetGetVexpandMethodInfo
ResolveIconViewMethod "getVexpandSet" o = Gtk.Widget.WidgetGetVexpandSetMethodInfo
ResolveIconViewMethod "getVisible" o = Gtk.Widget.WidgetGetVisibleMethodInfo
ResolveIconViewMethod "getVisibleRange" o = IconViewGetVisibleRangeMethodInfo
ResolveIconViewMethod "getVisual" o = Gtk.Widget.WidgetGetVisualMethodInfo
ResolveIconViewMethod "getVscrollPolicy" o = Gtk.Scrollable.ScrollableGetVscrollPolicyMethodInfo
ResolveIconViewMethod "getWindow" o = Gtk.Widget.WidgetGetWindowMethodInfo
ResolveIconViewMethod "setAccelPath" o = Gtk.Widget.WidgetSetAccelPathMethodInfo
ResolveIconViewMethod "setActivateOnSingleClick" o = IconViewSetActivateOnSingleClickMethodInfo
ResolveIconViewMethod "setAllocation" o = Gtk.Widget.WidgetSetAllocationMethodInfo
ResolveIconViewMethod "setAppPaintable" o = Gtk.Widget.WidgetSetAppPaintableMethodInfo
ResolveIconViewMethod "setBorderWidth" o = Gtk.Container.ContainerSetBorderWidthMethodInfo
ResolveIconViewMethod "setBuildableProperty" o = Gtk.Buildable.BuildableSetBuildablePropertyMethodInfo
ResolveIconViewMethod "setCanDefault" o = Gtk.Widget.WidgetSetCanDefaultMethodInfo
ResolveIconViewMethod "setCanFocus" o = Gtk.Widget.WidgetSetCanFocusMethodInfo
ResolveIconViewMethod "setCellDataFunc" o = Gtk.CellLayout.CellLayoutSetCellDataFuncMethodInfo
ResolveIconViewMethod "setChildVisible" o = Gtk.Widget.WidgetSetChildVisibleMethodInfo
ResolveIconViewMethod "setClip" o = Gtk.Widget.WidgetSetClipMethodInfo
ResolveIconViewMethod "setColumnSpacing" o = IconViewSetColumnSpacingMethodInfo
ResolveIconViewMethod "setColumns" o = IconViewSetColumnsMethodInfo
ResolveIconViewMethod "setCompositeName" o = Gtk.Widget.WidgetSetCompositeNameMethodInfo
ResolveIconViewMethod "setCursor" o = IconViewSetCursorMethodInfo
ResolveIconViewMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
ResolveIconViewMethod "setDeviceEnabled" o = Gtk.Widget.WidgetSetDeviceEnabledMethodInfo
ResolveIconViewMethod "setDeviceEvents" o = Gtk.Widget.WidgetSetDeviceEventsMethodInfo
ResolveIconViewMethod "setDirection" o = Gtk.Widget.WidgetSetDirectionMethodInfo
ResolveIconViewMethod "setDoubleBuffered" o = Gtk.Widget.WidgetSetDoubleBufferedMethodInfo
ResolveIconViewMethod "setDragDestItem" o = IconViewSetDragDestItemMethodInfo
ResolveIconViewMethod "setEvents" o = Gtk.Widget.WidgetSetEventsMethodInfo
ResolveIconViewMethod "setFocusChain" o = Gtk.Container.ContainerSetFocusChainMethodInfo
ResolveIconViewMethod "setFocusChild" o = Gtk.Container.ContainerSetFocusChildMethodInfo
ResolveIconViewMethod "setFocusHadjustment" o = Gtk.Container.ContainerSetFocusHadjustmentMethodInfo
ResolveIconViewMethod "setFocusOnClick" o = Gtk.Widget.WidgetSetFocusOnClickMethodInfo
ResolveIconViewMethod "setFocusVadjustment" o = Gtk.Container.ContainerSetFocusVadjustmentMethodInfo
ResolveIconViewMethod "setFontMap" o = Gtk.Widget.WidgetSetFontMapMethodInfo
ResolveIconViewMethod "setFontOptions" o = Gtk.Widget.WidgetSetFontOptionsMethodInfo
ResolveIconViewMethod "setHadjustment" o = Gtk.Scrollable.ScrollableSetHadjustmentMethodInfo
ResolveIconViewMethod "setHalign" o = Gtk.Widget.WidgetSetHalignMethodInfo
ResolveIconViewMethod "setHasTooltip" o = Gtk.Widget.WidgetSetHasTooltipMethodInfo
ResolveIconViewMethod "setHasWindow" o = Gtk.Widget.WidgetSetHasWindowMethodInfo
ResolveIconViewMethod "setHexpand" o = Gtk.Widget.WidgetSetHexpandMethodInfo
ResolveIconViewMethod "setHexpandSet" o = Gtk.Widget.WidgetSetHexpandSetMethodInfo
ResolveIconViewMethod "setHscrollPolicy" o = Gtk.Scrollable.ScrollableSetHscrollPolicyMethodInfo
ResolveIconViewMethod "setItemOrientation" o = IconViewSetItemOrientationMethodInfo
ResolveIconViewMethod "setItemPadding" o = IconViewSetItemPaddingMethodInfo
ResolveIconViewMethod "setItemWidth" o = IconViewSetItemWidthMethodInfo
ResolveIconViewMethod "setMapped" o = Gtk.Widget.WidgetSetMappedMethodInfo
ResolveIconViewMethod "setMargin" o = IconViewSetMarginMethodInfo
ResolveIconViewMethod "setMarginBottom" o = Gtk.Widget.WidgetSetMarginBottomMethodInfo
ResolveIconViewMethod "setMarginEnd" o = Gtk.Widget.WidgetSetMarginEndMethodInfo
ResolveIconViewMethod "setMarginLeft" o = Gtk.Widget.WidgetSetMarginLeftMethodInfo
ResolveIconViewMethod "setMarginRight" o = Gtk.Widget.WidgetSetMarginRightMethodInfo
ResolveIconViewMethod "setMarginStart" o = Gtk.Widget.WidgetSetMarginStartMethodInfo
ResolveIconViewMethod "setMarginTop" o = Gtk.Widget.WidgetSetMarginTopMethodInfo
ResolveIconViewMethod "setMarkupColumn" o = IconViewSetMarkupColumnMethodInfo
ResolveIconViewMethod "setModel" o = IconViewSetModelMethodInfo
ResolveIconViewMethod "setName" o = Gtk.Widget.WidgetSetNameMethodInfo
ResolveIconViewMethod "setNoShowAll" o = Gtk.Widget.WidgetSetNoShowAllMethodInfo
ResolveIconViewMethod "setOpacity" o = Gtk.Widget.WidgetSetOpacityMethodInfo
ResolveIconViewMethod "setParent" o = Gtk.Widget.WidgetSetParentMethodInfo
ResolveIconViewMethod "setParentWindow" o = Gtk.Widget.WidgetSetParentWindowMethodInfo
ResolveIconViewMethod "setPixbufColumn" o = IconViewSetPixbufColumnMethodInfo
ResolveIconViewMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
ResolveIconViewMethod "setRealized" o = Gtk.Widget.WidgetSetRealizedMethodInfo
ResolveIconViewMethod "setReallocateRedraws" o = Gtk.Container.ContainerSetReallocateRedrawsMethodInfo
ResolveIconViewMethod "setReceivesDefault" o = Gtk.Widget.WidgetSetReceivesDefaultMethodInfo
ResolveIconViewMethod "setRedrawOnAllocate" o = Gtk.Widget.WidgetSetRedrawOnAllocateMethodInfo
ResolveIconViewMethod "setReorderable" o = IconViewSetReorderableMethodInfo
ResolveIconViewMethod "setResizeMode" o = Gtk.Container.ContainerSetResizeModeMethodInfo
ResolveIconViewMethod "setRowSpacing" o = IconViewSetRowSpacingMethodInfo
ResolveIconViewMethod "setSelectionMode" o = IconViewSetSelectionModeMethodInfo
ResolveIconViewMethod "setSensitive" o = Gtk.Widget.WidgetSetSensitiveMethodInfo
ResolveIconViewMethod "setSizeRequest" o = Gtk.Widget.WidgetSetSizeRequestMethodInfo
ResolveIconViewMethod "setSpacing" o = IconViewSetSpacingMethodInfo
ResolveIconViewMethod "setState" o = Gtk.Widget.WidgetSetStateMethodInfo
ResolveIconViewMethod "setStateFlags" o = Gtk.Widget.WidgetSetStateFlagsMethodInfo
ResolveIconViewMethod "setStyle" o = Gtk.Widget.WidgetSetStyleMethodInfo
ResolveIconViewMethod "setSupportMultidevice" o = Gtk.Widget.WidgetSetSupportMultideviceMethodInfo
ResolveIconViewMethod "setTextColumn" o = IconViewSetTextColumnMethodInfo
ResolveIconViewMethod "setTooltipCell" o = IconViewSetTooltipCellMethodInfo
ResolveIconViewMethod "setTooltipColumn" o = IconViewSetTooltipColumnMethodInfo
ResolveIconViewMethod "setTooltipItem" o = IconViewSetTooltipItemMethodInfo
ResolveIconViewMethod "setTooltipMarkup" o = Gtk.Widget.WidgetSetTooltipMarkupMethodInfo
ResolveIconViewMethod "setTooltipText" o = Gtk.Widget.WidgetSetTooltipTextMethodInfo
ResolveIconViewMethod "setTooltipWindow" o = Gtk.Widget.WidgetSetTooltipWindowMethodInfo
ResolveIconViewMethod "setVadjustment" o = Gtk.Scrollable.ScrollableSetVadjustmentMethodInfo
ResolveIconViewMethod "setValign" o = Gtk.Widget.WidgetSetValignMethodInfo
ResolveIconViewMethod "setVexpand" o = Gtk.Widget.WidgetSetVexpandMethodInfo
ResolveIconViewMethod "setVexpandSet" o = Gtk.Widget.WidgetSetVexpandSetMethodInfo
ResolveIconViewMethod "setVisible" o = Gtk.Widget.WidgetSetVisibleMethodInfo
ResolveIconViewMethod "setVisual" o = Gtk.Widget.WidgetSetVisualMethodInfo
ResolveIconViewMethod "setVscrollPolicy" o = Gtk.Scrollable.ScrollableSetVscrollPolicyMethodInfo
ResolveIconViewMethod "setWindow" o = Gtk.Widget.WidgetSetWindowMethodInfo
ResolveIconViewMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveIconViewMethod t IconView, O.MethodInfo info IconView p) => O.IsLabelProxy t (IconView -> p) where
fromLabelProxy _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#if MIN_VERSION_base(4,9,0)
instance (info ~ ResolveIconViewMethod t IconView, O.MethodInfo info IconView p) => O.IsLabel t (IconView -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#else
fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif
#endif
#endif
type IconViewActivateCursorItemCallback =
IO Bool
noIconViewActivateCursorItemCallback :: Maybe IconViewActivateCursorItemCallback
noIconViewActivateCursorItemCallback = Nothing
type C_IconViewActivateCursorItemCallback =
Ptr () ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_IconViewActivateCursorItemCallback :: C_IconViewActivateCursorItemCallback -> IO (FunPtr C_IconViewActivateCursorItemCallback)
genClosure_IconViewActivateCursorItem :: IconViewActivateCursorItemCallback -> IO Closure
genClosure_IconViewActivateCursorItem cb = do
let cb' = wrap_IconViewActivateCursorItemCallback cb
mk_IconViewActivateCursorItemCallback cb' >>= newCClosure
wrap_IconViewActivateCursorItemCallback ::
IconViewActivateCursorItemCallback ->
C_IconViewActivateCursorItemCallback
wrap_IconViewActivateCursorItemCallback _cb _ _ = do
result <- _cb
let result' = (fromIntegral . fromEnum) result
return result'
onIconViewActivateCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewActivateCursorItemCallback -> m SignalHandlerId
onIconViewActivateCursorItem obj cb = liftIO $ do
let cb' = wrap_IconViewActivateCursorItemCallback cb
cb'' <- mk_IconViewActivateCursorItemCallback cb'
connectSignalFunPtr obj "activate-cursor-item" cb'' SignalConnectBefore
afterIconViewActivateCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewActivateCursorItemCallback -> m SignalHandlerId
afterIconViewActivateCursorItem obj cb = liftIO $ do
let cb' = wrap_IconViewActivateCursorItemCallback cb
cb'' <- mk_IconViewActivateCursorItemCallback cb'
connectSignalFunPtr obj "activate-cursor-item" cb'' SignalConnectAfter
type IconViewItemActivatedCallback =
Gtk.TreePath.TreePath
-> IO ()
noIconViewItemActivatedCallback :: Maybe IconViewItemActivatedCallback
noIconViewItemActivatedCallback = Nothing
type C_IconViewItemActivatedCallback =
Ptr () ->
Ptr Gtk.TreePath.TreePath ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_IconViewItemActivatedCallback :: C_IconViewItemActivatedCallback -> IO (FunPtr C_IconViewItemActivatedCallback)
genClosure_IconViewItemActivated :: IconViewItemActivatedCallback -> IO Closure
genClosure_IconViewItemActivated cb = do
let cb' = wrap_IconViewItemActivatedCallback cb
mk_IconViewItemActivatedCallback cb' >>= newCClosure
wrap_IconViewItemActivatedCallback ::
IconViewItemActivatedCallback ->
C_IconViewItemActivatedCallback
wrap_IconViewItemActivatedCallback _cb _ path _ = do
B.ManagedPtr.withTransient Gtk.TreePath.TreePath path $ \path' -> do
_cb path'
onIconViewItemActivated :: (IsIconView a, MonadIO m) => a -> IconViewItemActivatedCallback -> m SignalHandlerId
onIconViewItemActivated obj cb = liftIO $ do
let cb' = wrap_IconViewItemActivatedCallback cb
cb'' <- mk_IconViewItemActivatedCallback cb'
connectSignalFunPtr obj "item-activated" cb'' SignalConnectBefore
afterIconViewItemActivated :: (IsIconView a, MonadIO m) => a -> IconViewItemActivatedCallback -> m SignalHandlerId
afterIconViewItemActivated obj cb = liftIO $ do
let cb' = wrap_IconViewItemActivatedCallback cb
cb'' <- mk_IconViewItemActivatedCallback cb'
connectSignalFunPtr obj "item-activated" cb'' SignalConnectAfter
type IconViewMoveCursorCallback =
Gtk.Enums.MovementStep
-> Int32
-> IO Bool
noIconViewMoveCursorCallback :: Maybe IconViewMoveCursorCallback
noIconViewMoveCursorCallback = Nothing
type C_IconViewMoveCursorCallback =
Ptr () ->
CUInt ->
Int32 ->
Ptr () ->
IO CInt
foreign import ccall "wrapper"
mk_IconViewMoveCursorCallback :: C_IconViewMoveCursorCallback -> IO (FunPtr C_IconViewMoveCursorCallback)
genClosure_IconViewMoveCursor :: IconViewMoveCursorCallback -> IO Closure
genClosure_IconViewMoveCursor cb = do
let cb' = wrap_IconViewMoveCursorCallback cb
mk_IconViewMoveCursorCallback cb' >>= newCClosure
wrap_IconViewMoveCursorCallback ::
IconViewMoveCursorCallback ->
C_IconViewMoveCursorCallback
wrap_IconViewMoveCursorCallback _cb _ step count _ = do
let step' = (toEnum . fromIntegral) step
result <- _cb step' count
let result' = (fromIntegral . fromEnum) result
return result'
onIconViewMoveCursor :: (IsIconView a, MonadIO m) => a -> IconViewMoveCursorCallback -> m SignalHandlerId
onIconViewMoveCursor obj cb = liftIO $ do
let cb' = wrap_IconViewMoveCursorCallback cb
cb'' <- mk_IconViewMoveCursorCallback cb'
connectSignalFunPtr obj "move-cursor" cb'' SignalConnectBefore
afterIconViewMoveCursor :: (IsIconView a, MonadIO m) => a -> IconViewMoveCursorCallback -> m SignalHandlerId
afterIconViewMoveCursor obj cb = liftIO $ do
let cb' = wrap_IconViewMoveCursorCallback cb
cb'' <- mk_IconViewMoveCursorCallback cb'
connectSignalFunPtr obj "move-cursor" cb'' SignalConnectAfter
type IconViewSelectAllCallback =
IO ()
noIconViewSelectAllCallback :: Maybe IconViewSelectAllCallback
noIconViewSelectAllCallback = Nothing
type C_IconViewSelectAllCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_IconViewSelectAllCallback :: C_IconViewSelectAllCallback -> IO (FunPtr C_IconViewSelectAllCallback)
genClosure_IconViewSelectAll :: IconViewSelectAllCallback -> IO Closure
genClosure_IconViewSelectAll cb = do
let cb' = wrap_IconViewSelectAllCallback cb
mk_IconViewSelectAllCallback cb' >>= newCClosure
wrap_IconViewSelectAllCallback ::
IconViewSelectAllCallback ->
C_IconViewSelectAllCallback
wrap_IconViewSelectAllCallback _cb _ _ = do
_cb
onIconViewSelectAll :: (IsIconView a, MonadIO m) => a -> IconViewSelectAllCallback -> m SignalHandlerId
onIconViewSelectAll obj cb = liftIO $ do
let cb' = wrap_IconViewSelectAllCallback cb
cb'' <- mk_IconViewSelectAllCallback cb'
connectSignalFunPtr obj "select-all" cb'' SignalConnectBefore
afterIconViewSelectAll :: (IsIconView a, MonadIO m) => a -> IconViewSelectAllCallback -> m SignalHandlerId
afterIconViewSelectAll obj cb = liftIO $ do
let cb' = wrap_IconViewSelectAllCallback cb
cb'' <- mk_IconViewSelectAllCallback cb'
connectSignalFunPtr obj "select-all" cb'' SignalConnectAfter
type IconViewSelectCursorItemCallback =
IO ()
noIconViewSelectCursorItemCallback :: Maybe IconViewSelectCursorItemCallback
noIconViewSelectCursorItemCallback = Nothing
type C_IconViewSelectCursorItemCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_IconViewSelectCursorItemCallback :: C_IconViewSelectCursorItemCallback -> IO (FunPtr C_IconViewSelectCursorItemCallback)
genClosure_IconViewSelectCursorItem :: IconViewSelectCursorItemCallback -> IO Closure
genClosure_IconViewSelectCursorItem cb = do
let cb' = wrap_IconViewSelectCursorItemCallback cb
mk_IconViewSelectCursorItemCallback cb' >>= newCClosure
wrap_IconViewSelectCursorItemCallback ::
IconViewSelectCursorItemCallback ->
C_IconViewSelectCursorItemCallback
wrap_IconViewSelectCursorItemCallback _cb _ _ = do
_cb
onIconViewSelectCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewSelectCursorItemCallback -> m SignalHandlerId
onIconViewSelectCursorItem obj cb = liftIO $ do
let cb' = wrap_IconViewSelectCursorItemCallback cb
cb'' <- mk_IconViewSelectCursorItemCallback cb'
connectSignalFunPtr obj "select-cursor-item" cb'' SignalConnectBefore
afterIconViewSelectCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewSelectCursorItemCallback -> m SignalHandlerId
afterIconViewSelectCursorItem obj cb = liftIO $ do
let cb' = wrap_IconViewSelectCursorItemCallback cb
cb'' <- mk_IconViewSelectCursorItemCallback cb'
connectSignalFunPtr obj "select-cursor-item" cb'' SignalConnectAfter
type IconViewSelectionChangedCallback =
IO ()
noIconViewSelectionChangedCallback :: Maybe IconViewSelectionChangedCallback
noIconViewSelectionChangedCallback = Nothing
type C_IconViewSelectionChangedCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_IconViewSelectionChangedCallback :: C_IconViewSelectionChangedCallback -> IO (FunPtr C_IconViewSelectionChangedCallback)
genClosure_IconViewSelectionChanged :: IconViewSelectionChangedCallback -> IO Closure
genClosure_IconViewSelectionChanged cb = do
let cb' = wrap_IconViewSelectionChangedCallback cb
mk_IconViewSelectionChangedCallback cb' >>= newCClosure
wrap_IconViewSelectionChangedCallback ::
IconViewSelectionChangedCallback ->
C_IconViewSelectionChangedCallback
wrap_IconViewSelectionChangedCallback _cb _ _ = do
_cb
onIconViewSelectionChanged :: (IsIconView a, MonadIO m) => a -> IconViewSelectionChangedCallback -> m SignalHandlerId
onIconViewSelectionChanged obj cb = liftIO $ do
let cb' = wrap_IconViewSelectionChangedCallback cb
cb'' <- mk_IconViewSelectionChangedCallback cb'
connectSignalFunPtr obj "selection-changed" cb'' SignalConnectBefore
afterIconViewSelectionChanged :: (IsIconView a, MonadIO m) => a -> IconViewSelectionChangedCallback -> m SignalHandlerId
afterIconViewSelectionChanged obj cb = liftIO $ do
let cb' = wrap_IconViewSelectionChangedCallback cb
cb'' <- mk_IconViewSelectionChangedCallback cb'
connectSignalFunPtr obj "selection-changed" cb'' SignalConnectAfter
type IconViewToggleCursorItemCallback =
IO ()
noIconViewToggleCursorItemCallback :: Maybe IconViewToggleCursorItemCallback
noIconViewToggleCursorItemCallback = Nothing
type C_IconViewToggleCursorItemCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_IconViewToggleCursorItemCallback :: C_IconViewToggleCursorItemCallback -> IO (FunPtr C_IconViewToggleCursorItemCallback)
genClosure_IconViewToggleCursorItem :: IconViewToggleCursorItemCallback -> IO Closure
genClosure_IconViewToggleCursorItem cb = do
let cb' = wrap_IconViewToggleCursorItemCallback cb
mk_IconViewToggleCursorItemCallback cb' >>= newCClosure
wrap_IconViewToggleCursorItemCallback ::
IconViewToggleCursorItemCallback ->
C_IconViewToggleCursorItemCallback
wrap_IconViewToggleCursorItemCallback _cb _ _ = do
_cb
onIconViewToggleCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewToggleCursorItemCallback -> m SignalHandlerId
onIconViewToggleCursorItem obj cb = liftIO $ do
let cb' = wrap_IconViewToggleCursorItemCallback cb
cb'' <- mk_IconViewToggleCursorItemCallback cb'
connectSignalFunPtr obj "toggle-cursor-item" cb'' SignalConnectBefore
afterIconViewToggleCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewToggleCursorItemCallback -> m SignalHandlerId
afterIconViewToggleCursorItem obj cb = liftIO $ do
let cb' = wrap_IconViewToggleCursorItemCallback cb
cb'' <- mk_IconViewToggleCursorItemCallback cb'
connectSignalFunPtr obj "toggle-cursor-item" cb'' SignalConnectAfter
type IconViewUnselectAllCallback =
IO ()
noIconViewUnselectAllCallback :: Maybe IconViewUnselectAllCallback
noIconViewUnselectAllCallback = Nothing
type C_IconViewUnselectAllCallback =
Ptr () ->
Ptr () ->
IO ()
foreign import ccall "wrapper"
mk_IconViewUnselectAllCallback :: C_IconViewUnselectAllCallback -> IO (FunPtr C_IconViewUnselectAllCallback)
genClosure_IconViewUnselectAll :: IconViewUnselectAllCallback -> IO Closure
genClosure_IconViewUnselectAll cb = do
let cb' = wrap_IconViewUnselectAllCallback cb
mk_IconViewUnselectAllCallback cb' >>= newCClosure
wrap_IconViewUnselectAllCallback ::
IconViewUnselectAllCallback ->
C_IconViewUnselectAllCallback
wrap_IconViewUnselectAllCallback _cb _ _ = do
_cb
onIconViewUnselectAll :: (IsIconView a, MonadIO m) => a -> IconViewUnselectAllCallback -> m SignalHandlerId
onIconViewUnselectAll obj cb = liftIO $ do
let cb' = wrap_IconViewUnselectAllCallback cb
cb'' <- mk_IconViewUnselectAllCallback cb'
connectSignalFunPtr obj "unselect-all" cb'' SignalConnectBefore
afterIconViewUnselectAll :: (IsIconView a, MonadIO m) => a -> IconViewUnselectAllCallback -> m SignalHandlerId
afterIconViewUnselectAll obj cb = liftIO $ do
let cb' = wrap_IconViewUnselectAllCallback cb
cb'' <- mk_IconViewUnselectAllCallback cb'
connectSignalFunPtr obj "unselect-all" cb'' SignalConnectAfter
getIconViewActivateOnSingleClick :: (MonadIO m, IsIconView o) => o -> m Bool
getIconViewActivateOnSingleClick obj = liftIO $ getObjectPropertyBool obj "activate-on-single-click"
setIconViewActivateOnSingleClick :: (MonadIO m, IsIconView o) => o -> Bool -> m ()
setIconViewActivateOnSingleClick obj val = liftIO $ setObjectPropertyBool obj "activate-on-single-click" val
constructIconViewActivateOnSingleClick :: (IsIconView o) => Bool -> IO (GValueConstruct o)
constructIconViewActivateOnSingleClick val = constructObjectPropertyBool "activate-on-single-click" val
#if ENABLE_OVERLOADING
data IconViewActivateOnSingleClickPropertyInfo
instance AttrInfo IconViewActivateOnSingleClickPropertyInfo where
type AttrAllowedOps IconViewActivateOnSingleClickPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewActivateOnSingleClickPropertyInfo = (~) Bool
type AttrBaseTypeConstraint IconViewActivateOnSingleClickPropertyInfo = IsIconView
type AttrGetType IconViewActivateOnSingleClickPropertyInfo = Bool
type AttrLabel IconViewActivateOnSingleClickPropertyInfo = "activate-on-single-click"
type AttrOrigin IconViewActivateOnSingleClickPropertyInfo = IconView
attrGet _ = getIconViewActivateOnSingleClick
attrSet _ = setIconViewActivateOnSingleClick
attrConstruct _ = constructIconViewActivateOnSingleClick
attrClear _ = undefined
#endif
getIconViewCellArea :: (MonadIO m, IsIconView o) => o -> m (Maybe Gtk.CellArea.CellArea)
getIconViewCellArea obj = liftIO $ getObjectPropertyObject obj "cell-area" Gtk.CellArea.CellArea
constructIconViewCellArea :: (IsIconView o, Gtk.CellArea.IsCellArea a) => a -> IO (GValueConstruct o)
constructIconViewCellArea val = constructObjectPropertyObject "cell-area" (Just val)
#if ENABLE_OVERLOADING
data IconViewCellAreaPropertyInfo
instance AttrInfo IconViewCellAreaPropertyInfo where
type AttrAllowedOps IconViewCellAreaPropertyInfo = '[ 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint IconViewCellAreaPropertyInfo = Gtk.CellArea.IsCellArea
type AttrBaseTypeConstraint IconViewCellAreaPropertyInfo = IsIconView
type AttrGetType IconViewCellAreaPropertyInfo = (Maybe Gtk.CellArea.CellArea)
type AttrLabel IconViewCellAreaPropertyInfo = "cell-area"
type AttrOrigin IconViewCellAreaPropertyInfo = IconView
attrGet _ = getIconViewCellArea
attrSet _ = undefined
attrConstruct _ = constructIconViewCellArea
attrClear _ = undefined
#endif
getIconViewColumnSpacing :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewColumnSpacing obj = liftIO $ getObjectPropertyInt32 obj "column-spacing"
setIconViewColumnSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewColumnSpacing obj val = liftIO $ setObjectPropertyInt32 obj "column-spacing" val
constructIconViewColumnSpacing :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewColumnSpacing val = constructObjectPropertyInt32 "column-spacing" val
#if ENABLE_OVERLOADING
data IconViewColumnSpacingPropertyInfo
instance AttrInfo IconViewColumnSpacingPropertyInfo where
type AttrAllowedOps IconViewColumnSpacingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewColumnSpacingPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewColumnSpacingPropertyInfo = IsIconView
type AttrGetType IconViewColumnSpacingPropertyInfo = Int32
type AttrLabel IconViewColumnSpacingPropertyInfo = "column-spacing"
type AttrOrigin IconViewColumnSpacingPropertyInfo = IconView
attrGet _ = getIconViewColumnSpacing
attrSet _ = setIconViewColumnSpacing
attrConstruct _ = constructIconViewColumnSpacing
attrClear _ = undefined
#endif
getIconViewColumns :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewColumns obj = liftIO $ getObjectPropertyInt32 obj "columns"
setIconViewColumns :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewColumns obj val = liftIO $ setObjectPropertyInt32 obj "columns" val
constructIconViewColumns :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewColumns val = constructObjectPropertyInt32 "columns" val
#if ENABLE_OVERLOADING
data IconViewColumnsPropertyInfo
instance AttrInfo IconViewColumnsPropertyInfo where
type AttrAllowedOps IconViewColumnsPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewColumnsPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewColumnsPropertyInfo = IsIconView
type AttrGetType IconViewColumnsPropertyInfo = Int32
type AttrLabel IconViewColumnsPropertyInfo = "columns"
type AttrOrigin IconViewColumnsPropertyInfo = IconView
attrGet _ = getIconViewColumns
attrSet _ = setIconViewColumns
attrConstruct _ = constructIconViewColumns
attrClear _ = undefined
#endif
getIconViewItemOrientation :: (MonadIO m, IsIconView o) => o -> m Gtk.Enums.Orientation
getIconViewItemOrientation obj = liftIO $ getObjectPropertyEnum obj "item-orientation"
setIconViewItemOrientation :: (MonadIO m, IsIconView o) => o -> Gtk.Enums.Orientation -> m ()
setIconViewItemOrientation obj val = liftIO $ setObjectPropertyEnum obj "item-orientation" val
constructIconViewItemOrientation :: (IsIconView o) => Gtk.Enums.Orientation -> IO (GValueConstruct o)
constructIconViewItemOrientation val = constructObjectPropertyEnum "item-orientation" val
#if ENABLE_OVERLOADING
data IconViewItemOrientationPropertyInfo
instance AttrInfo IconViewItemOrientationPropertyInfo where
type AttrAllowedOps IconViewItemOrientationPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewItemOrientationPropertyInfo = (~) Gtk.Enums.Orientation
type AttrBaseTypeConstraint IconViewItemOrientationPropertyInfo = IsIconView
type AttrGetType IconViewItemOrientationPropertyInfo = Gtk.Enums.Orientation
type AttrLabel IconViewItemOrientationPropertyInfo = "item-orientation"
type AttrOrigin IconViewItemOrientationPropertyInfo = IconView
attrGet _ = getIconViewItemOrientation
attrSet _ = setIconViewItemOrientation
attrConstruct _ = constructIconViewItemOrientation
attrClear _ = undefined
#endif
getIconViewItemPadding :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewItemPadding obj = liftIO $ getObjectPropertyInt32 obj "item-padding"
setIconViewItemPadding :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewItemPadding obj val = liftIO $ setObjectPropertyInt32 obj "item-padding" val
constructIconViewItemPadding :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewItemPadding val = constructObjectPropertyInt32 "item-padding" val
#if ENABLE_OVERLOADING
data IconViewItemPaddingPropertyInfo
instance AttrInfo IconViewItemPaddingPropertyInfo where
type AttrAllowedOps IconViewItemPaddingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewItemPaddingPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewItemPaddingPropertyInfo = IsIconView
type AttrGetType IconViewItemPaddingPropertyInfo = Int32
type AttrLabel IconViewItemPaddingPropertyInfo = "item-padding"
type AttrOrigin IconViewItemPaddingPropertyInfo = IconView
attrGet _ = getIconViewItemPadding
attrSet _ = setIconViewItemPadding
attrConstruct _ = constructIconViewItemPadding
attrClear _ = undefined
#endif
getIconViewItemWidth :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewItemWidth obj = liftIO $ getObjectPropertyInt32 obj "item-width"
setIconViewItemWidth :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewItemWidth obj val = liftIO $ setObjectPropertyInt32 obj "item-width" val
constructIconViewItemWidth :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewItemWidth val = constructObjectPropertyInt32 "item-width" val
#if ENABLE_OVERLOADING
data IconViewItemWidthPropertyInfo
instance AttrInfo IconViewItemWidthPropertyInfo where
type AttrAllowedOps IconViewItemWidthPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewItemWidthPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewItemWidthPropertyInfo = IsIconView
type AttrGetType IconViewItemWidthPropertyInfo = Int32
type AttrLabel IconViewItemWidthPropertyInfo = "item-width"
type AttrOrigin IconViewItemWidthPropertyInfo = IconView
attrGet _ = getIconViewItemWidth
attrSet _ = setIconViewItemWidth
attrConstruct _ = constructIconViewItemWidth
attrClear _ = undefined
#endif
getIconViewMargin :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewMargin obj = liftIO $ getObjectPropertyInt32 obj "margin"
setIconViewMargin :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewMargin obj val = liftIO $ setObjectPropertyInt32 obj "margin" val
constructIconViewMargin :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewMargin val = constructObjectPropertyInt32 "margin" val
#if ENABLE_OVERLOADING
data IconViewMarginPropertyInfo
instance AttrInfo IconViewMarginPropertyInfo where
type AttrAllowedOps IconViewMarginPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewMarginPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewMarginPropertyInfo = IsIconView
type AttrGetType IconViewMarginPropertyInfo = Int32
type AttrLabel IconViewMarginPropertyInfo = "margin"
type AttrOrigin IconViewMarginPropertyInfo = IconView
attrGet _ = getIconViewMargin
attrSet _ = setIconViewMargin
attrConstruct _ = constructIconViewMargin
attrClear _ = undefined
#endif
getIconViewMarkupColumn :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewMarkupColumn obj = liftIO $ getObjectPropertyInt32 obj "markup-column"
setIconViewMarkupColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewMarkupColumn obj val = liftIO $ setObjectPropertyInt32 obj "markup-column" val
constructIconViewMarkupColumn :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewMarkupColumn val = constructObjectPropertyInt32 "markup-column" val
#if ENABLE_OVERLOADING
data IconViewMarkupColumnPropertyInfo
instance AttrInfo IconViewMarkupColumnPropertyInfo where
type AttrAllowedOps IconViewMarkupColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewMarkupColumnPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewMarkupColumnPropertyInfo = IsIconView
type AttrGetType IconViewMarkupColumnPropertyInfo = Int32
type AttrLabel IconViewMarkupColumnPropertyInfo = "markup-column"
type AttrOrigin IconViewMarkupColumnPropertyInfo = IconView
attrGet _ = getIconViewMarkupColumn
attrSet _ = setIconViewMarkupColumn
attrConstruct _ = constructIconViewMarkupColumn
attrClear _ = undefined
#endif
getIconViewModel :: (MonadIO m, IsIconView o) => o -> m (Maybe Gtk.TreeModel.TreeModel)
getIconViewModel obj = liftIO $ getObjectPropertyObject obj "model" Gtk.TreeModel.TreeModel
setIconViewModel :: (MonadIO m, IsIconView o, Gtk.TreeModel.IsTreeModel a) => o -> a -> m ()
setIconViewModel obj val = liftIO $ setObjectPropertyObject obj "model" (Just val)
constructIconViewModel :: (IsIconView o, Gtk.TreeModel.IsTreeModel a) => a -> IO (GValueConstruct o)
constructIconViewModel val = constructObjectPropertyObject "model" (Just val)
clearIconViewModel :: (MonadIO m, IsIconView o) => o -> m ()
clearIconViewModel obj = liftIO $ setObjectPropertyObject obj "model" (Nothing :: Maybe Gtk.TreeModel.TreeModel)
#if ENABLE_OVERLOADING
data IconViewModelPropertyInfo
instance AttrInfo IconViewModelPropertyInfo where
type AttrAllowedOps IconViewModelPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint IconViewModelPropertyInfo = Gtk.TreeModel.IsTreeModel
type AttrBaseTypeConstraint IconViewModelPropertyInfo = IsIconView
type AttrGetType IconViewModelPropertyInfo = (Maybe Gtk.TreeModel.TreeModel)
type AttrLabel IconViewModelPropertyInfo = "model"
type AttrOrigin IconViewModelPropertyInfo = IconView
attrGet _ = getIconViewModel
attrSet _ = setIconViewModel
attrConstruct _ = constructIconViewModel
attrClear _ = clearIconViewModel
#endif
getIconViewPixbufColumn :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewPixbufColumn obj = liftIO $ getObjectPropertyInt32 obj "pixbuf-column"
setIconViewPixbufColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewPixbufColumn obj val = liftIO $ setObjectPropertyInt32 obj "pixbuf-column" val
constructIconViewPixbufColumn :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewPixbufColumn val = constructObjectPropertyInt32 "pixbuf-column" val
#if ENABLE_OVERLOADING
data IconViewPixbufColumnPropertyInfo
instance AttrInfo IconViewPixbufColumnPropertyInfo where
type AttrAllowedOps IconViewPixbufColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewPixbufColumnPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewPixbufColumnPropertyInfo = IsIconView
type AttrGetType IconViewPixbufColumnPropertyInfo = Int32
type AttrLabel IconViewPixbufColumnPropertyInfo = "pixbuf-column"
type AttrOrigin IconViewPixbufColumnPropertyInfo = IconView
attrGet _ = getIconViewPixbufColumn
attrSet _ = setIconViewPixbufColumn
attrConstruct _ = constructIconViewPixbufColumn
attrClear _ = undefined
#endif
getIconViewReorderable :: (MonadIO m, IsIconView o) => o -> m Bool
getIconViewReorderable obj = liftIO $ getObjectPropertyBool obj "reorderable"
setIconViewReorderable :: (MonadIO m, IsIconView o) => o -> Bool -> m ()
setIconViewReorderable obj val = liftIO $ setObjectPropertyBool obj "reorderable" val
constructIconViewReorderable :: (IsIconView o) => Bool -> IO (GValueConstruct o)
constructIconViewReorderable val = constructObjectPropertyBool "reorderable" val
#if ENABLE_OVERLOADING
data IconViewReorderablePropertyInfo
instance AttrInfo IconViewReorderablePropertyInfo where
type AttrAllowedOps IconViewReorderablePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewReorderablePropertyInfo = (~) Bool
type AttrBaseTypeConstraint IconViewReorderablePropertyInfo = IsIconView
type AttrGetType IconViewReorderablePropertyInfo = Bool
type AttrLabel IconViewReorderablePropertyInfo = "reorderable"
type AttrOrigin IconViewReorderablePropertyInfo = IconView
attrGet _ = getIconViewReorderable
attrSet _ = setIconViewReorderable
attrConstruct _ = constructIconViewReorderable
attrClear _ = undefined
#endif
getIconViewRowSpacing :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewRowSpacing obj = liftIO $ getObjectPropertyInt32 obj "row-spacing"
setIconViewRowSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewRowSpacing obj val = liftIO $ setObjectPropertyInt32 obj "row-spacing" val
constructIconViewRowSpacing :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewRowSpacing val = constructObjectPropertyInt32 "row-spacing" val
#if ENABLE_OVERLOADING
data IconViewRowSpacingPropertyInfo
instance AttrInfo IconViewRowSpacingPropertyInfo where
type AttrAllowedOps IconViewRowSpacingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewRowSpacingPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewRowSpacingPropertyInfo = IsIconView
type AttrGetType IconViewRowSpacingPropertyInfo = Int32
type AttrLabel IconViewRowSpacingPropertyInfo = "row-spacing"
type AttrOrigin IconViewRowSpacingPropertyInfo = IconView
attrGet _ = getIconViewRowSpacing
attrSet _ = setIconViewRowSpacing
attrConstruct _ = constructIconViewRowSpacing
attrClear _ = undefined
#endif
getIconViewSelectionMode :: (MonadIO m, IsIconView o) => o -> m Gtk.Enums.SelectionMode
getIconViewSelectionMode obj = liftIO $ getObjectPropertyEnum obj "selection-mode"
setIconViewSelectionMode :: (MonadIO m, IsIconView o) => o -> Gtk.Enums.SelectionMode -> m ()
setIconViewSelectionMode obj val = liftIO $ setObjectPropertyEnum obj "selection-mode" val
constructIconViewSelectionMode :: (IsIconView o) => Gtk.Enums.SelectionMode -> IO (GValueConstruct o)
constructIconViewSelectionMode val = constructObjectPropertyEnum "selection-mode" val
#if ENABLE_OVERLOADING
data IconViewSelectionModePropertyInfo
instance AttrInfo IconViewSelectionModePropertyInfo where
type AttrAllowedOps IconViewSelectionModePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewSelectionModePropertyInfo = (~) Gtk.Enums.SelectionMode
type AttrBaseTypeConstraint IconViewSelectionModePropertyInfo = IsIconView
type AttrGetType IconViewSelectionModePropertyInfo = Gtk.Enums.SelectionMode
type AttrLabel IconViewSelectionModePropertyInfo = "selection-mode"
type AttrOrigin IconViewSelectionModePropertyInfo = IconView
attrGet _ = getIconViewSelectionMode
attrSet _ = setIconViewSelectionMode
attrConstruct _ = constructIconViewSelectionMode
attrClear _ = undefined
#endif
getIconViewSpacing :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewSpacing obj = liftIO $ getObjectPropertyInt32 obj "spacing"
setIconViewSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewSpacing obj val = liftIO $ setObjectPropertyInt32 obj "spacing" val
constructIconViewSpacing :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewSpacing val = constructObjectPropertyInt32 "spacing" val
#if ENABLE_OVERLOADING
data IconViewSpacingPropertyInfo
instance AttrInfo IconViewSpacingPropertyInfo where
type AttrAllowedOps IconViewSpacingPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewSpacingPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewSpacingPropertyInfo = IsIconView
type AttrGetType IconViewSpacingPropertyInfo = Int32
type AttrLabel IconViewSpacingPropertyInfo = "spacing"
type AttrOrigin IconViewSpacingPropertyInfo = IconView
attrGet _ = getIconViewSpacing
attrSet _ = setIconViewSpacing
attrConstruct _ = constructIconViewSpacing
attrClear _ = undefined
#endif
getIconViewTextColumn :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewTextColumn obj = liftIO $ getObjectPropertyInt32 obj "text-column"
setIconViewTextColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewTextColumn obj val = liftIO $ setObjectPropertyInt32 obj "text-column" val
constructIconViewTextColumn :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewTextColumn val = constructObjectPropertyInt32 "text-column" val
#if ENABLE_OVERLOADING
data IconViewTextColumnPropertyInfo
instance AttrInfo IconViewTextColumnPropertyInfo where
type AttrAllowedOps IconViewTextColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewTextColumnPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewTextColumnPropertyInfo = IsIconView
type AttrGetType IconViewTextColumnPropertyInfo = Int32
type AttrLabel IconViewTextColumnPropertyInfo = "text-column"
type AttrOrigin IconViewTextColumnPropertyInfo = IconView
attrGet _ = getIconViewTextColumn
attrSet _ = setIconViewTextColumn
attrConstruct _ = constructIconViewTextColumn
attrClear _ = undefined
#endif
getIconViewTooltipColumn :: (MonadIO m, IsIconView o) => o -> m Int32
getIconViewTooltipColumn obj = liftIO $ getObjectPropertyInt32 obj "tooltip-column"
setIconViewTooltipColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
setIconViewTooltipColumn obj val = liftIO $ setObjectPropertyInt32 obj "tooltip-column" val
constructIconViewTooltipColumn :: (IsIconView o) => Int32 -> IO (GValueConstruct o)
constructIconViewTooltipColumn val = constructObjectPropertyInt32 "tooltip-column" val
#if ENABLE_OVERLOADING
data IconViewTooltipColumnPropertyInfo
instance AttrInfo IconViewTooltipColumnPropertyInfo where
type AttrAllowedOps IconViewTooltipColumnPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
type AttrSetTypeConstraint IconViewTooltipColumnPropertyInfo = (~) Int32
type AttrBaseTypeConstraint IconViewTooltipColumnPropertyInfo = IsIconView
type AttrGetType IconViewTooltipColumnPropertyInfo = Int32
type AttrLabel IconViewTooltipColumnPropertyInfo = "tooltip-column"
type AttrOrigin IconViewTooltipColumnPropertyInfo = IconView
attrGet _ = getIconViewTooltipColumn
attrSet _ = setIconViewTooltipColumn
attrConstruct _ = constructIconViewTooltipColumn
attrClear _ = undefined
#endif
#if ENABLE_OVERLOADING
instance O.HasAttributeList IconView
type instance O.AttributeList IconView = IconViewAttributeList
type IconViewAttributeList = ('[ '("activateOnSingleClick", IconViewActivateOnSingleClickPropertyInfo), '("appPaintable", Gtk.Widget.WidgetAppPaintablePropertyInfo), '("borderWidth", Gtk.Container.ContainerBorderWidthPropertyInfo), '("canDefault", Gtk.Widget.WidgetCanDefaultPropertyInfo), '("canFocus", Gtk.Widget.WidgetCanFocusPropertyInfo), '("cellArea", IconViewCellAreaPropertyInfo), '("child", Gtk.Container.ContainerChildPropertyInfo), '("columnSpacing", IconViewColumnSpacingPropertyInfo), '("columns", IconViewColumnsPropertyInfo), '("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), '("isFocus", Gtk.Widget.WidgetIsFocusPropertyInfo), '("itemOrientation", IconViewItemOrientationPropertyInfo), '("itemPadding", IconViewItemPaddingPropertyInfo), '("itemWidth", IconViewItemWidthPropertyInfo), '("margin", IconViewMarginPropertyInfo), '("marginBottom", Gtk.Widget.WidgetMarginBottomPropertyInfo), '("marginEnd", Gtk.Widget.WidgetMarginEndPropertyInfo), '("marginLeft", Gtk.Widget.WidgetMarginLeftPropertyInfo), '("marginRight", Gtk.Widget.WidgetMarginRightPropertyInfo), '("marginStart", Gtk.Widget.WidgetMarginStartPropertyInfo), '("marginTop", Gtk.Widget.WidgetMarginTopPropertyInfo), '("markupColumn", IconViewMarkupColumnPropertyInfo), '("model", IconViewModelPropertyInfo), '("name", Gtk.Widget.WidgetNamePropertyInfo), '("noShowAll", Gtk.Widget.WidgetNoShowAllPropertyInfo), '("opacity", Gtk.Widget.WidgetOpacityPropertyInfo), '("parent", Gtk.Widget.WidgetParentPropertyInfo), '("pixbufColumn", IconViewPixbufColumnPropertyInfo), '("receivesDefault", Gtk.Widget.WidgetReceivesDefaultPropertyInfo), '("reorderable", IconViewReorderablePropertyInfo), '("resizeMode", Gtk.Container.ContainerResizeModePropertyInfo), '("rowSpacing", IconViewRowSpacingPropertyInfo), '("scaleFactor", Gtk.Widget.WidgetScaleFactorPropertyInfo), '("selectionMode", IconViewSelectionModePropertyInfo), '("sensitive", Gtk.Widget.WidgetSensitivePropertyInfo), '("spacing", IconViewSpacingPropertyInfo), '("style", Gtk.Widget.WidgetStylePropertyInfo), '("textColumn", IconViewTextColumnPropertyInfo), '("tooltipColumn", IconViewTooltipColumnPropertyInfo), '("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 ENABLE_OVERLOADING
iconViewActivateOnSingleClick :: AttrLabelProxy "activateOnSingleClick"
iconViewActivateOnSingleClick = AttrLabelProxy
iconViewCellArea :: AttrLabelProxy "cellArea"
iconViewCellArea = AttrLabelProxy
iconViewColumnSpacing :: AttrLabelProxy "columnSpacing"
iconViewColumnSpacing = AttrLabelProxy
iconViewColumns :: AttrLabelProxy "columns"
iconViewColumns = AttrLabelProxy
iconViewItemOrientation :: AttrLabelProxy "itemOrientation"
iconViewItemOrientation = AttrLabelProxy
iconViewItemPadding :: AttrLabelProxy "itemPadding"
iconViewItemPadding = AttrLabelProxy
iconViewItemWidth :: AttrLabelProxy "itemWidth"
iconViewItemWidth = AttrLabelProxy
iconViewMargin :: AttrLabelProxy "margin"
iconViewMargin = AttrLabelProxy
iconViewMarkupColumn :: AttrLabelProxy "markupColumn"
iconViewMarkupColumn = AttrLabelProxy
iconViewModel :: AttrLabelProxy "model"
iconViewModel = AttrLabelProxy
iconViewPixbufColumn :: AttrLabelProxy "pixbufColumn"
iconViewPixbufColumn = AttrLabelProxy
iconViewReorderable :: AttrLabelProxy "reorderable"
iconViewReorderable = AttrLabelProxy
iconViewRowSpacing :: AttrLabelProxy "rowSpacing"
iconViewRowSpacing = AttrLabelProxy
iconViewSelectionMode :: AttrLabelProxy "selectionMode"
iconViewSelectionMode = AttrLabelProxy
iconViewSpacing :: AttrLabelProxy "spacing"
iconViewSpacing = AttrLabelProxy
iconViewTextColumn :: AttrLabelProxy "textColumn"
iconViewTextColumn = AttrLabelProxy
iconViewTooltipColumn :: AttrLabelProxy "tooltipColumn"
iconViewTooltipColumn = AttrLabelProxy
#endif
#if ENABLE_OVERLOADING
data IconViewActivateCursorItemSignalInfo
instance SignalInfo IconViewActivateCursorItemSignalInfo where
type HaskellCallbackType IconViewActivateCursorItemSignalInfo = IconViewActivateCursorItemCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewActivateCursorItemCallback cb
cb'' <- mk_IconViewActivateCursorItemCallback cb'
connectSignalFunPtr obj "activate-cursor-item" cb'' connectMode
data IconViewItemActivatedSignalInfo
instance SignalInfo IconViewItemActivatedSignalInfo where
type HaskellCallbackType IconViewItemActivatedSignalInfo = IconViewItemActivatedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewItemActivatedCallback cb
cb'' <- mk_IconViewItemActivatedCallback cb'
connectSignalFunPtr obj "item-activated" cb'' connectMode
data IconViewMoveCursorSignalInfo
instance SignalInfo IconViewMoveCursorSignalInfo where
type HaskellCallbackType IconViewMoveCursorSignalInfo = IconViewMoveCursorCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewMoveCursorCallback cb
cb'' <- mk_IconViewMoveCursorCallback cb'
connectSignalFunPtr obj "move-cursor" cb'' connectMode
data IconViewSelectAllSignalInfo
instance SignalInfo IconViewSelectAllSignalInfo where
type HaskellCallbackType IconViewSelectAllSignalInfo = IconViewSelectAllCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewSelectAllCallback cb
cb'' <- mk_IconViewSelectAllCallback cb'
connectSignalFunPtr obj "select-all" cb'' connectMode
data IconViewSelectCursorItemSignalInfo
instance SignalInfo IconViewSelectCursorItemSignalInfo where
type HaskellCallbackType IconViewSelectCursorItemSignalInfo = IconViewSelectCursorItemCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewSelectCursorItemCallback cb
cb'' <- mk_IconViewSelectCursorItemCallback cb'
connectSignalFunPtr obj "select-cursor-item" cb'' connectMode
data IconViewSelectionChangedSignalInfo
instance SignalInfo IconViewSelectionChangedSignalInfo where
type HaskellCallbackType IconViewSelectionChangedSignalInfo = IconViewSelectionChangedCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewSelectionChangedCallback cb
cb'' <- mk_IconViewSelectionChangedCallback cb'
connectSignalFunPtr obj "selection-changed" cb'' connectMode
data IconViewToggleCursorItemSignalInfo
instance SignalInfo IconViewToggleCursorItemSignalInfo where
type HaskellCallbackType IconViewToggleCursorItemSignalInfo = IconViewToggleCursorItemCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewToggleCursorItemCallback cb
cb'' <- mk_IconViewToggleCursorItemCallback cb'
connectSignalFunPtr obj "toggle-cursor-item" cb'' connectMode
data IconViewUnselectAllSignalInfo
instance SignalInfo IconViewUnselectAllSignalInfo where
type HaskellCallbackType IconViewUnselectAllSignalInfo = IconViewUnselectAllCallback
connectSignal _ obj cb connectMode = do
let cb' = wrap_IconViewUnselectAllCallback cb
cb'' <- mk_IconViewUnselectAllCallback cb'
connectSignalFunPtr obj "unselect-all" cb'' connectMode
type instance O.SignalList IconView = IconViewSignalList
type IconViewSignalList = ('[ '("accelClosuresChanged", Gtk.Widget.WidgetAccelClosuresChangedSignalInfo), '("activateCursorItem", IconViewActivateCursorItemSignalInfo), '("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), '("itemActivated", IconViewItemActivatedSignalInfo), '("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), '("moveCursor", IconViewMoveCursorSignalInfo), '("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), '("selectAll", IconViewSelectAllSignalInfo), '("selectCursorItem", IconViewSelectCursorItemSignalInfo), '("selectionChanged", IconViewSelectionChangedSignalInfo), '("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), '("toggleCursorItem", IconViewToggleCursorItemSignalInfo), '("touchEvent", Gtk.Widget.WidgetTouchEventSignalInfo), '("unmap", Gtk.Widget.WidgetUnmapSignalInfo), '("unmapEvent", Gtk.Widget.WidgetUnmapEventSignalInfo), '("unrealize", Gtk.Widget.WidgetUnrealizeSignalInfo), '("unselectAll", IconViewUnselectAllSignalInfo), '("visibilityNotifyEvent", Gtk.Widget.WidgetVisibilityNotifyEventSignalInfo), '("windowStateEvent", Gtk.Widget.WidgetWindowStateEventSignalInfo)] :: [(Symbol, *)])
#endif
foreign import ccall "gtk_icon_view_new" gtk_icon_view_new ::
IO (Ptr IconView)
iconViewNew ::
(B.CallStack.HasCallStack, MonadIO m) =>
m IconView
iconViewNew = liftIO $ do
result <- gtk_icon_view_new
checkUnexpectedReturnNULL "iconViewNew" result
result' <- (newObject IconView) result
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_icon_view_new_with_area" gtk_icon_view_new_with_area ::
Ptr Gtk.CellArea.CellArea ->
IO (Ptr IconView)
iconViewNewWithArea ::
(B.CallStack.HasCallStack, MonadIO m, Gtk.CellArea.IsCellArea a) =>
a
-> m IconView
iconViewNewWithArea area = liftIO $ do
area' <- unsafeManagedPtrCastPtr area
result <- gtk_icon_view_new_with_area area'
checkUnexpectedReturnNULL "iconViewNewWithArea" result
result' <- (newObject IconView) result
touchManagedPtr area
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_icon_view_new_with_model" gtk_icon_view_new_with_model ::
Ptr Gtk.TreeModel.TreeModel ->
IO (Ptr IconView)
iconViewNewWithModel ::
(B.CallStack.HasCallStack, MonadIO m, Gtk.TreeModel.IsTreeModel a) =>
a
-> m IconView
iconViewNewWithModel model = liftIO $ do
model' <- unsafeManagedPtrCastPtr model
result <- gtk_icon_view_new_with_model model'
checkUnexpectedReturnNULL "iconViewNewWithModel" result
result' <- (newObject IconView) result
touchManagedPtr model
return result'
#if ENABLE_OVERLOADING
#endif
foreign import ccall "gtk_icon_view_convert_widget_to_bin_window_coords" gtk_icon_view_convert_widget_to_bin_window_coords ::
Ptr IconView ->
Int32 ->
Int32 ->
Ptr Int32 ->
Ptr Int32 ->
IO ()
iconViewConvertWidgetToBinWindowCoords ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Int32
-> Int32
-> m ((Int32, Int32))
iconViewConvertWidgetToBinWindowCoords iconView wx wy = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
bx <- allocMem :: IO (Ptr Int32)
by <- allocMem :: IO (Ptr Int32)
gtk_icon_view_convert_widget_to_bin_window_coords iconView' wx wy bx by
bx' <- peek bx
by' <- peek by
touchManagedPtr iconView
freeMem bx
freeMem by
return (bx', by')
#if ENABLE_OVERLOADING
data IconViewConvertWidgetToBinWindowCoordsMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ((Int32, Int32))), MonadIO m, IsIconView a) => O.MethodInfo IconViewConvertWidgetToBinWindowCoordsMethodInfo a signature where
overloadedMethod _ = iconViewConvertWidgetToBinWindowCoords
#endif
foreign import ccall "gtk_icon_view_create_drag_icon" gtk_icon_view_create_drag_icon ::
Ptr IconView ->
Ptr Gtk.TreePath.TreePath ->
IO (Ptr Cairo.Surface.Surface)
iconViewCreateDragIcon ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Gtk.TreePath.TreePath
-> m Cairo.Surface.Surface
iconViewCreateDragIcon iconView path = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path' <- unsafeManagedPtrGetPtr path
result <- gtk_icon_view_create_drag_icon iconView' path'
checkUnexpectedReturnNULL "iconViewCreateDragIcon" result
result' <- (wrapBoxed Cairo.Surface.Surface) result
touchManagedPtr iconView
touchManagedPtr path
return result'
#if ENABLE_OVERLOADING
data IconViewCreateDragIconMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m Cairo.Surface.Surface), MonadIO m, IsIconView a) => O.MethodInfo IconViewCreateDragIconMethodInfo a signature where
overloadedMethod _ = iconViewCreateDragIcon
#endif
foreign import ccall "gtk_icon_view_enable_model_drag_dest" gtk_icon_view_enable_model_drag_dest ::
Ptr IconView ->
Ptr Gtk.TargetEntry.TargetEntry ->
Int32 ->
CUInt ->
IO ()
iconViewEnableModelDragDest ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> [Gtk.TargetEntry.TargetEntry]
-> [Gdk.Flags.DragAction]
-> m ()
iconViewEnableModelDragDest iconView targets actions = liftIO $ do
let nTargets = fromIntegral $ length targets
iconView' <- unsafeManagedPtrCastPtr iconView
targets' <- mapM unsafeManagedPtrGetPtr targets
targets'' <- packBlockArray 16 targets'
let actions' = gflagsToWord actions
gtk_icon_view_enable_model_drag_dest iconView' targets'' nTargets actions'
touchManagedPtr iconView
mapM_ touchManagedPtr targets
freeMem targets''
return ()
#if ENABLE_OVERLOADING
data IconViewEnableModelDragDestMethodInfo
instance (signature ~ ([Gtk.TargetEntry.TargetEntry] -> [Gdk.Flags.DragAction] -> m ()), MonadIO m, IsIconView a) => O.MethodInfo IconViewEnableModelDragDestMethodInfo a signature where
overloadedMethod _ = iconViewEnableModelDragDest
#endif
foreign import ccall "gtk_icon_view_enable_model_drag_source" gtk_icon_view_enable_model_drag_source ::
Ptr IconView ->
CUInt ->
Ptr Gtk.TargetEntry.TargetEntry ->
Int32 ->
CUInt ->
IO ()
iconViewEnableModelDragSource ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> [Gdk.Flags.ModifierType]
-> [Gtk.TargetEntry.TargetEntry]
-> [Gdk.Flags.DragAction]
-> m ()
iconViewEnableModelDragSource iconView startButtonMask targets actions = liftIO $ do
let nTargets = fromIntegral $ length targets
iconView' <- unsafeManagedPtrCastPtr iconView
let startButtonMask' = gflagsToWord startButtonMask
targets' <- mapM unsafeManagedPtrGetPtr targets
targets'' <- packBlockArray 16 targets'
let actions' = gflagsToWord actions
gtk_icon_view_enable_model_drag_source iconView' startButtonMask' targets'' nTargets actions'
touchManagedPtr iconView
mapM_ touchManagedPtr targets
freeMem targets''
return ()
#if ENABLE_OVERLOADING
data IconViewEnableModelDragSourceMethodInfo
instance (signature ~ ([Gdk.Flags.ModifierType] -> [Gtk.TargetEntry.TargetEntry] -> [Gdk.Flags.DragAction] -> m ()), MonadIO m, IsIconView a) => O.MethodInfo IconViewEnableModelDragSourceMethodInfo a signature where
overloadedMethod _ = iconViewEnableModelDragSource
#endif
foreign import ccall "gtk_icon_view_get_activate_on_single_click" gtk_icon_view_get_activate_on_single_click ::
Ptr IconView ->
IO CInt
iconViewGetActivateOnSingleClick ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Bool
iconViewGetActivateOnSingleClick iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_activate_on_single_click iconView'
let result' = (/= 0) result
touchManagedPtr iconView
return result'
#if ENABLE_OVERLOADING
data IconViewGetActivateOnSingleClickMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetActivateOnSingleClickMethodInfo a signature where
overloadedMethod _ = iconViewGetActivateOnSingleClick
#endif
foreign import ccall "gtk_icon_view_get_cell_rect" gtk_icon_view_get_cell_rect ::
Ptr IconView ->
Ptr Gtk.TreePath.TreePath ->
Ptr Gtk.CellRenderer.CellRenderer ->
Ptr Gdk.Rectangle.Rectangle ->
IO CInt
iconViewGetCellRect ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a, Gtk.CellRenderer.IsCellRenderer b) =>
a
-> Gtk.TreePath.TreePath
-> Maybe (b)
-> m ((Bool, Gdk.Rectangle.Rectangle))
iconViewGetCellRect iconView path cell = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path' <- unsafeManagedPtrGetPtr path
maybeCell <- case cell of
Nothing -> return nullPtr
Just jCell -> do
jCell' <- unsafeManagedPtrCastPtr jCell
return jCell'
rect <- callocBoxedBytes 16 :: IO (Ptr Gdk.Rectangle.Rectangle)
result <- gtk_icon_view_get_cell_rect iconView' path' maybeCell rect
let result' = (/= 0) result
rect' <- (wrapBoxed Gdk.Rectangle.Rectangle) rect
touchManagedPtr iconView
touchManagedPtr path
whenJust cell touchManagedPtr
return (result', rect')
#if ENABLE_OVERLOADING
data IconViewGetCellRectMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> Maybe (b) -> m ((Bool, Gdk.Rectangle.Rectangle))), MonadIO m, IsIconView a, Gtk.CellRenderer.IsCellRenderer b) => O.MethodInfo IconViewGetCellRectMethodInfo a signature where
overloadedMethod _ = iconViewGetCellRect
#endif
foreign import ccall "gtk_icon_view_get_column_spacing" gtk_icon_view_get_column_spacing ::
Ptr IconView ->
IO Int32
iconViewGetColumnSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetColumnSpacing iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_column_spacing iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetColumnSpacingMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetColumnSpacingMethodInfo a signature where
overloadedMethod _ = iconViewGetColumnSpacing
#endif
foreign import ccall "gtk_icon_view_get_columns" gtk_icon_view_get_columns ::
Ptr IconView ->
IO Int32
iconViewGetColumns ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetColumns iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_columns iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetColumnsMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetColumnsMethodInfo a signature where
overloadedMethod _ = iconViewGetColumns
#endif
foreign import ccall "gtk_icon_view_get_cursor" gtk_icon_view_get_cursor ::
Ptr IconView ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
Ptr (Ptr Gtk.CellRenderer.CellRenderer) ->
IO CInt
iconViewGetCursor ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m ((Bool, Gtk.TreePath.TreePath, Gtk.CellRenderer.CellRenderer))
iconViewGetCursor iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
cell <- allocMem :: IO (Ptr (Ptr Gtk.CellRenderer.CellRenderer))
result <- gtk_icon_view_get_cursor iconView' path cell
let result' = (/= 0) result
path' <- peek path
path'' <- (wrapBoxed Gtk.TreePath.TreePath) path'
cell' <- peek cell
cell'' <- (newObject Gtk.CellRenderer.CellRenderer) cell'
touchManagedPtr iconView
freeMem path
freeMem cell
return (result', path'', cell'')
#if ENABLE_OVERLOADING
data IconViewGetCursorMethodInfo
instance (signature ~ (m ((Bool, Gtk.TreePath.TreePath, Gtk.CellRenderer.CellRenderer))), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetCursorMethodInfo a signature where
overloadedMethod _ = iconViewGetCursor
#endif
foreign import ccall "gtk_icon_view_get_dest_item_at_pos" gtk_icon_view_get_dest_item_at_pos ::
Ptr IconView ->
Int32 ->
Int32 ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
Ptr CUInt ->
IO CInt
iconViewGetDestItemAtPos ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Int32
-> Int32
-> m ((Bool, Gtk.TreePath.TreePath, Gtk.Enums.IconViewDropPosition))
iconViewGetDestItemAtPos iconView dragX dragY = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
pos <- allocMem :: IO (Ptr CUInt)
result <- gtk_icon_view_get_dest_item_at_pos iconView' dragX dragY path pos
let result' = (/= 0) result
path' <- peek path
path'' <- (wrapBoxed Gtk.TreePath.TreePath) path'
pos' <- peek pos
let pos'' = (toEnum . fromIntegral) pos'
touchManagedPtr iconView
freeMem path
freeMem pos
return (result', path'', pos'')
#if ENABLE_OVERLOADING
data IconViewGetDestItemAtPosMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ((Bool, Gtk.TreePath.TreePath, Gtk.Enums.IconViewDropPosition))), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetDestItemAtPosMethodInfo a signature where
overloadedMethod _ = iconViewGetDestItemAtPos
#endif
foreign import ccall "gtk_icon_view_get_drag_dest_item" gtk_icon_view_get_drag_dest_item ::
Ptr IconView ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
Ptr CUInt ->
IO ()
iconViewGetDragDestItem ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m ((Gtk.TreePath.TreePath, Gtk.Enums.IconViewDropPosition))
iconViewGetDragDestItem iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
pos <- allocMem :: IO (Ptr CUInt)
gtk_icon_view_get_drag_dest_item iconView' path pos
path' <- peek path
path'' <- (wrapBoxed Gtk.TreePath.TreePath) path'
pos' <- peek pos
let pos'' = (toEnum . fromIntegral) pos'
touchManagedPtr iconView
freeMem path
freeMem pos
return (path'', pos'')
#if ENABLE_OVERLOADING
data IconViewGetDragDestItemMethodInfo
instance (signature ~ (m ((Gtk.TreePath.TreePath, Gtk.Enums.IconViewDropPosition))), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetDragDestItemMethodInfo a signature where
overloadedMethod _ = iconViewGetDragDestItem
#endif
foreign import ccall "gtk_icon_view_get_item_at_pos" gtk_icon_view_get_item_at_pos ::
Ptr IconView ->
Int32 ->
Int32 ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
Ptr (Ptr Gtk.CellRenderer.CellRenderer) ->
IO CInt
iconViewGetItemAtPos ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Int32
-> Int32
-> m ((Bool, Gtk.TreePath.TreePath, Gtk.CellRenderer.CellRenderer))
iconViewGetItemAtPos iconView x y = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
cell <- allocMem :: IO (Ptr (Ptr Gtk.CellRenderer.CellRenderer))
result <- gtk_icon_view_get_item_at_pos iconView' x y path cell
let result' = (/= 0) result
path' <- peek path
path'' <- (wrapBoxed Gtk.TreePath.TreePath) path'
cell' <- peek cell
cell'' <- (newObject Gtk.CellRenderer.CellRenderer) cell'
touchManagedPtr iconView
freeMem path
freeMem cell
return (result', path'', cell'')
#if ENABLE_OVERLOADING
data IconViewGetItemAtPosMethodInfo
instance (signature ~ (Int32 -> Int32 -> m ((Bool, Gtk.TreePath.TreePath, Gtk.CellRenderer.CellRenderer))), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetItemAtPosMethodInfo a signature where
overloadedMethod _ = iconViewGetItemAtPos
#endif
foreign import ccall "gtk_icon_view_get_item_column" gtk_icon_view_get_item_column ::
Ptr IconView ->
Ptr Gtk.TreePath.TreePath ->
IO Int32
iconViewGetItemColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Gtk.TreePath.TreePath
-> m Int32
iconViewGetItemColumn iconView path = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path' <- unsafeManagedPtrGetPtr path
result <- gtk_icon_view_get_item_column iconView' path'
touchManagedPtr iconView
touchManagedPtr path
return result
#if ENABLE_OVERLOADING
data IconViewGetItemColumnMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetItemColumnMethodInfo a signature where
overloadedMethod _ = iconViewGetItemColumn
#endif
foreign import ccall "gtk_icon_view_get_item_orientation" gtk_icon_view_get_item_orientation ::
Ptr IconView ->
IO CUInt
iconViewGetItemOrientation ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Gtk.Enums.Orientation
iconViewGetItemOrientation iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_item_orientation iconView'
let result' = (toEnum . fromIntegral) result
touchManagedPtr iconView
return result'
#if ENABLE_OVERLOADING
data IconViewGetItemOrientationMethodInfo
instance (signature ~ (m Gtk.Enums.Orientation), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetItemOrientationMethodInfo a signature where
overloadedMethod _ = iconViewGetItemOrientation
#endif
foreign import ccall "gtk_icon_view_get_item_padding" gtk_icon_view_get_item_padding ::
Ptr IconView ->
IO Int32
iconViewGetItemPadding ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetItemPadding iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_item_padding iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetItemPaddingMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetItemPaddingMethodInfo a signature where
overloadedMethod _ = iconViewGetItemPadding
#endif
foreign import ccall "gtk_icon_view_get_item_row" gtk_icon_view_get_item_row ::
Ptr IconView ->
Ptr Gtk.TreePath.TreePath ->
IO Int32
iconViewGetItemRow ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Gtk.TreePath.TreePath
-> m Int32
iconViewGetItemRow iconView path = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path' <- unsafeManagedPtrGetPtr path
result <- gtk_icon_view_get_item_row iconView' path'
touchManagedPtr iconView
touchManagedPtr path
return result
#if ENABLE_OVERLOADING
data IconViewGetItemRowMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetItemRowMethodInfo a signature where
overloadedMethod _ = iconViewGetItemRow
#endif
foreign import ccall "gtk_icon_view_get_item_width" gtk_icon_view_get_item_width ::
Ptr IconView ->
IO Int32
iconViewGetItemWidth ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetItemWidth iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_item_width iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetItemWidthMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetItemWidthMethodInfo a signature where
overloadedMethod _ = iconViewGetItemWidth
#endif
foreign import ccall "gtk_icon_view_get_margin" gtk_icon_view_get_margin ::
Ptr IconView ->
IO Int32
iconViewGetMargin ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetMargin iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_margin iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetMarginMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetMarginMethodInfo a signature where
overloadedMethod _ = iconViewGetMargin
#endif
foreign import ccall "gtk_icon_view_get_markup_column" gtk_icon_view_get_markup_column ::
Ptr IconView ->
IO Int32
iconViewGetMarkupColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetMarkupColumn iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_markup_column iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetMarkupColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetMarkupColumnMethodInfo a signature where
overloadedMethod _ = iconViewGetMarkupColumn
#endif
foreign import ccall "gtk_icon_view_get_model" gtk_icon_view_get_model ::
Ptr IconView ->
IO (Ptr Gtk.TreeModel.TreeModel)
iconViewGetModel ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m (Maybe Gtk.TreeModel.TreeModel)
iconViewGetModel iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_model iconView'
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (newObject Gtk.TreeModel.TreeModel) result'
return result''
touchManagedPtr iconView
return maybeResult
#if ENABLE_OVERLOADING
data IconViewGetModelMethodInfo
instance (signature ~ (m (Maybe Gtk.TreeModel.TreeModel)), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetModelMethodInfo a signature where
overloadedMethod _ = iconViewGetModel
#endif
foreign import ccall "gtk_icon_view_get_path_at_pos" gtk_icon_view_get_path_at_pos ::
Ptr IconView ->
Int32 ->
Int32 ->
IO (Ptr Gtk.TreePath.TreePath)
iconViewGetPathAtPos ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Int32
-> Int32
-> m (Maybe Gtk.TreePath.TreePath)
iconViewGetPathAtPos iconView x y = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_path_at_pos iconView' x y
maybeResult <- convertIfNonNull result $ \result' -> do
result'' <- (wrapBoxed Gtk.TreePath.TreePath) result'
return result''
touchManagedPtr iconView
return maybeResult
#if ENABLE_OVERLOADING
data IconViewGetPathAtPosMethodInfo
instance (signature ~ (Int32 -> Int32 -> m (Maybe Gtk.TreePath.TreePath)), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetPathAtPosMethodInfo a signature where
overloadedMethod _ = iconViewGetPathAtPos
#endif
foreign import ccall "gtk_icon_view_get_pixbuf_column" gtk_icon_view_get_pixbuf_column ::
Ptr IconView ->
IO Int32
iconViewGetPixbufColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetPixbufColumn iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_pixbuf_column iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetPixbufColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetPixbufColumnMethodInfo a signature where
overloadedMethod _ = iconViewGetPixbufColumn
#endif
foreign import ccall "gtk_icon_view_get_reorderable" gtk_icon_view_get_reorderable ::
Ptr IconView ->
IO CInt
iconViewGetReorderable ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Bool
iconViewGetReorderable iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_reorderable iconView'
let result' = (/= 0) result
touchManagedPtr iconView
return result'
#if ENABLE_OVERLOADING
data IconViewGetReorderableMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetReorderableMethodInfo a signature where
overloadedMethod _ = iconViewGetReorderable
#endif
foreign import ccall "gtk_icon_view_get_row_spacing" gtk_icon_view_get_row_spacing ::
Ptr IconView ->
IO Int32
iconViewGetRowSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetRowSpacing iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_row_spacing iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetRowSpacingMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetRowSpacingMethodInfo a signature where
overloadedMethod _ = iconViewGetRowSpacing
#endif
foreign import ccall "gtk_icon_view_get_selected_items" gtk_icon_view_get_selected_items ::
Ptr IconView ->
IO (Ptr (GList (Ptr Gtk.TreePath.TreePath)))
iconViewGetSelectedItems ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m [Gtk.TreePath.TreePath]
iconViewGetSelectedItems iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_selected_items iconView'
result' <- unpackGList result
result'' <- mapM (wrapBoxed Gtk.TreePath.TreePath) result'
g_list_free result
touchManagedPtr iconView
return result''
#if ENABLE_OVERLOADING
data IconViewGetSelectedItemsMethodInfo
instance (signature ~ (m [Gtk.TreePath.TreePath]), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetSelectedItemsMethodInfo a signature where
overloadedMethod _ = iconViewGetSelectedItems
#endif
foreign import ccall "gtk_icon_view_get_selection_mode" gtk_icon_view_get_selection_mode ::
Ptr IconView ->
IO CUInt
iconViewGetSelectionMode ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Gtk.Enums.SelectionMode
iconViewGetSelectionMode iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_selection_mode iconView'
let result' = (toEnum . fromIntegral) result
touchManagedPtr iconView
return result'
#if ENABLE_OVERLOADING
data IconViewGetSelectionModeMethodInfo
instance (signature ~ (m Gtk.Enums.SelectionMode), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetSelectionModeMethodInfo a signature where
overloadedMethod _ = iconViewGetSelectionMode
#endif
foreign import ccall "gtk_icon_view_get_spacing" gtk_icon_view_get_spacing ::
Ptr IconView ->
IO Int32
iconViewGetSpacing ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetSpacing iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_spacing iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetSpacingMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetSpacingMethodInfo a signature where
overloadedMethod _ = iconViewGetSpacing
#endif
foreign import ccall "gtk_icon_view_get_text_column" gtk_icon_view_get_text_column ::
Ptr IconView ->
IO Int32
iconViewGetTextColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetTextColumn iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_text_column iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetTextColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetTextColumnMethodInfo a signature where
overloadedMethod _ = iconViewGetTextColumn
#endif
foreign import ccall "gtk_icon_view_get_tooltip_column" gtk_icon_view_get_tooltip_column ::
Ptr IconView ->
IO Int32
iconViewGetTooltipColumn ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m Int32
iconViewGetTooltipColumn iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
result <- gtk_icon_view_get_tooltip_column iconView'
touchManagedPtr iconView
return result
#if ENABLE_OVERLOADING
data IconViewGetTooltipColumnMethodInfo
instance (signature ~ (m Int32), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetTooltipColumnMethodInfo a signature where
overloadedMethod _ = iconViewGetTooltipColumn
#endif
foreign import ccall "gtk_icon_view_get_tooltip_context" gtk_icon_view_get_tooltip_context ::
Ptr IconView ->
Ptr Int32 ->
Ptr Int32 ->
CInt ->
Ptr (Ptr Gtk.TreeModel.TreeModel) ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
Ptr Gtk.TreeIter.TreeIter ->
IO CInt
iconViewGetTooltipContext ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Int32
-> Int32
-> Bool
-> m ((Bool, Int32, Int32, Gtk.TreeModel.TreeModel, Gtk.TreePath.TreePath, Gtk.TreeIter.TreeIter))
iconViewGetTooltipContext iconView x y keyboardTip = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
x' <- allocMem :: IO (Ptr Int32)
poke x' x
y' <- allocMem :: IO (Ptr Int32)
poke y' y
let keyboardTip' = (fromIntegral . fromEnum) keyboardTip
model <- allocMem :: IO (Ptr (Ptr Gtk.TreeModel.TreeModel))
path <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
iter <- callocBoxedBytes 32 :: IO (Ptr Gtk.TreeIter.TreeIter)
result <- gtk_icon_view_get_tooltip_context iconView' x' y' keyboardTip' model path iter
let result' = (/= 0) result
x'' <- peek x'
y'' <- peek y'
model' <- peek model
model'' <- (newObject Gtk.TreeModel.TreeModel) model'
path' <- peek path
path'' <- (wrapBoxed Gtk.TreePath.TreePath) path'
iter' <- (wrapBoxed Gtk.TreeIter.TreeIter) iter
touchManagedPtr iconView
freeMem x'
freeMem y'
freeMem model
freeMem path
return (result', x'', y'', model'', path'', iter')
#if ENABLE_OVERLOADING
data IconViewGetTooltipContextMethodInfo
instance (signature ~ (Int32 -> Int32 -> Bool -> m ((Bool, Int32, Int32, Gtk.TreeModel.TreeModel, Gtk.TreePath.TreePath, Gtk.TreeIter.TreeIter))), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetTooltipContextMethodInfo a signature where
overloadedMethod _ = iconViewGetTooltipContext
#endif
foreign import ccall "gtk_icon_view_get_visible_range" gtk_icon_view_get_visible_range ::
Ptr IconView ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
Ptr (Ptr Gtk.TreePath.TreePath) ->
IO CInt
iconViewGetVisibleRange ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> m ((Bool, Gtk.TreePath.TreePath, Gtk.TreePath.TreePath))
iconViewGetVisibleRange iconView = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
startPath <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
endPath <- allocMem :: IO (Ptr (Ptr Gtk.TreePath.TreePath))
result <- gtk_icon_view_get_visible_range iconView' startPath endPath
let result' = (/= 0) result
startPath' <- peek startPath
startPath'' <- (wrapBoxed Gtk.TreePath.TreePath) startPath'
endPath' <- peek endPath
endPath'' <- (wrapBoxed Gtk.TreePath.TreePath) endPath'
touchManagedPtr iconView
freeMem startPath
freeMem endPath
return (result', startPath'', endPath'')
#if ENABLE_OVERLOADING
data IconViewGetVisibleRangeMethodInfo
instance (signature ~ (m ((Bool, Gtk.TreePath.TreePath, Gtk.TreePath.TreePath))), MonadIO m, IsIconView a) => O.MethodInfo IconViewGetVisibleRangeMethodInfo a signature where
overloadedMethod _ = iconViewGetVisibleRange
#endif
foreign import ccall "gtk_icon_view_item_activated" gtk_icon_view_item_activated ::
Ptr IconView ->
Ptr Gtk.TreePath.TreePath ->
IO ()
iconViewItemActivated ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Gtk.TreePath.TreePath
-> m ()
iconViewItemActivated iconView path = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path' <- unsafeManagedPtrGetPtr path
gtk_icon_view_item_activated iconView' path'
touchManagedPtr iconView
touchManagedPtr path
return ()
#if ENABLE_OVERLOADING
data IconViewItemActivatedMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m ()), MonadIO m, IsIconView a) => O.MethodInfo IconViewItemActivatedMethodInfo a signature where
overloadedMethod _ = iconViewItemActivated
#endif
foreign import ccall "gtk_icon_view_path_is_selected" gtk_icon_view_path_is_selected ::
Ptr IconView ->
Ptr Gtk.TreePath.TreePath ->
IO CInt
iconViewPathIsSelected ::
(B.CallStack.HasCallStack, MonadIO m, IsIconView a) =>
a
-> Gtk.TreePath.TreePath
-> m Bool
iconViewPathIsSelected iconView path = liftIO $ do
iconView' <- unsafeManagedPtrCastPtr iconView
path' <- unsafeManagedPtrGetPtr path
result <- gtk_icon_view_path_is_selected iconView' path'
let result' = (/= 0) result
touchManagedPtr iconView
touchManagedPtr path
return result'
#if ENABLE_OVERLOADING
data IconViewPathIsSelectedMethodInfo
instance (signature ~ (Gtk.TreePath.TreePath -> m Bool), MonadIO m, IsIconView a) => O.MethodInfo IconViewPathIsSelectedMethodInfo a signature where
overloadedMethod _ = iconViewPathIsSelected
#endif
foreign import ccall "gtk_icon_view_scroll_to_path" gtk_icon_view_