{-# LINE 2 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}-- -*-haskell-*--- GIMP Toolkit (GTK) Widget IconView---- Author : Duncan Coutts---- Created: 25 March 2005---- Copyright (C) 2005-2007 Duncan Coutts, Axel Simon---- This library is free software; you can redistribute it and/or-- modify it under the terms of the GNU Lesser General Public-- License as published by the Free Software Foundation; either-- version 2.1 of the License, or (at your option) any later version.---- This library is distributed in the hope that it will be useful,-- but WITHOUT ANY WARRANTY; without even the implied warranty of-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU-- Lesser General Public License for more details.---- |-- Maintainer : gtk2hs-users@lists.sourceforge.net-- Stability : provisional-- Portability : portable (depends on GHC)---- A widget which displays a list of icons in a grid---- * Module available since Gtk+ version 2.6--moduleGraphics.UI.Gtk.ModelView.IconView(-- * Detail---- | 'IconView' provides an alternative view on a list model. It displays the-- model as a grid of icons with labels. Like 'TreeView', it allows to select-- one or multiple items (depending on the selection mode, see-- 'iconViewSetSelectionMode'). In addition to selection with the arrow keys,-- 'IconView' supports rubberband selection, which is controlled by dragging-- the pointer.-- * Class Hierarchy---- |-- @-- | 'GObject'-- | +----'Object'-- | +----'Widget'-- | +----'Container'-- | +----IconView-- @-- * TypesIconView,IconViewClass,castToIconView,gTypeIconView,toIconView,-- * ConstructorsiconViewNew,iconViewNewWithModel,-- * MethodsiconViewSetModel,iconViewGetModel,iconViewSetTextColumn,iconViewGetTextColumn,iconViewSetMarkupColumn,iconViewGetMarkupColumn,iconViewSetPixbufColumn,iconViewGetPixbufColumn,iconViewGetPathAtPos,iconViewSelectedForeach,iconViewSetSelectionMode,iconViewGetSelectionMode,iconViewSetOrientation,iconViewGetOrientation,iconViewSetColumns,iconViewGetColumns,iconViewSetItemWidth,iconViewGetItemWidth,iconViewSetSpacing,iconViewGetSpacing,iconViewSetRowSpacing,iconViewGetRowSpacing,iconViewSetColumnSpacing,iconViewGetColumnSpacing,iconViewSetMargin,iconViewGetMargin,iconViewSelectPath,iconViewUnselectPath,iconViewPathIsSelected,iconViewGetSelectedItems,iconViewSelectAll,iconViewUnselectAll,iconViewItemActivated,iconViewGetItemAtPos,iconViewSetCursor,iconViewGetCursor,iconViewScrollToPath,iconViewGetVisibleRange,iconViewEnableModelDragSource,iconViewEnableModelDragDest,iconViewUnsetModelDragSource,iconViewUnsetModelDragDest,iconViewSetReorderable,iconViewGetReorderable,iconViewGetItemRow,iconViewGetItemColumn,-- * AttributesiconViewSelectionMode,iconViewTextColumn,iconViewMarkupColumn,iconViewPixbufColumn,iconViewModel,iconViewColumns,iconViewItemWidth,iconViewSpacing,iconViewRowSpacing,iconViewColumnSpacing,iconViewMargin,iconViewOrientation,iconViewReorderable,iconViewItemOrientation,-- * SignalssetIconViewScrollAdjustments,itemActivated,selectionChanged)whereimportControl.Monad(liftM)importSystem.Glib.FFIimportSystem.Glib.AttributesimportSystem.Glib.PropertiesimportSystem.Glib.GList(fromGList)importSystem.Glib.FlagsimportSystem.Glib.GObject(makeNewGObject,constructNewGObject)importGraphics.UI.Gtk.Abstract.Object(makeNewObject)importGraphics.UI.Gtk.Gdk.Enums(DragAction(..))importGraphics.UI.Gtk.Gdk.Events(Modifier(..))importGraphics.UI.Gtk.Types{-# LINE 155 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}importGraphics.UI.Gtk.Signals{-# LINE 156 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}importGraphics.UI.Gtk.General.Enums(Orientation,SelectionMode)importGraphics.UI.Gtk.ModelView.TreeModel{-# LINE 158 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}importGraphics.UI.Gtk.ModelView.CustomStore{-# LINE 159 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}importGraphics.UI.Gtk.ModelView.Types{-# LINE 160 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}importGraphics.UI.Gtk.General.DNDTypes(TargetList(..))importGraphics.Rendering.Pango.Markup(Markup){-# LINE 164 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}---------------------- Interfaces-- %hash c:4792instanceCellLayoutClassIconView---------------------- Constructors-- | Creates a new 'IconView' widget--iconViewNew::IOIconViewiconViewNew=makeNewObjectmkIconView$liftM(castPtr::PtrWidget->PtrIconView)$gtk_icon_view_new{-# LINE 182 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}-- %hash c:dbf4-- | Creates a new 'IconView' widget with the model @model@ and defines-- how to extract a string and a pixbuf from the model.--iconViewNewWithModel::TreeModelClassmodel=>model-- ^ @model@ - The model.->IOIconViewiconViewNewWithModelmodel=makeNewObjectmkIconView$liftM(castPtr::PtrWidget->PtrIconView)$(\(TreeModelarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_new_with_modelargPtr1){-# LINE 194 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toTreeModelmodel)---------------------- Methods-- %hash c:5ba8 d:c5c8-- | Sets the model for a 'IconView'. If the @iconView@ already has a model-- set, it will remove it before setting the new model. If @model@ is-- @Nothing@, then it will unset the old model.--iconViewSetModel::(IconViewClassself,TreeModelClassmodel)=>self->Maybemodel-- ^ @model@ - The model.->IO()iconViewSetModelselfmodel=(\(IconViewarg1)(TreeModelarg2)->withForeignPtrarg1$\argPtr1->withForeignPtrarg2$\argPtr2->gtk_icon_view_set_modelargPtr1argPtr2){-# LINE 209 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(maybe(TreeModelnullForeignPtr)toTreeModelmodel)-- %hash c:6709 d:c0c5-- | Returns the model the 'IconView' is based on. Returns @Nothing@ if the-- model is unset.--iconViewGetModel::IconViewClassself=>self->IO(MaybeTreeModel)-- ^ returns a 'TreeModel', or @Nothing@ if none is-- currently being used.iconViewGetModelself=maybeNull(makeNewGObjectmkTreeModel)$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_modelargPtr1){-# LINE 222 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:c3fe d:fb7b-- | Sets the column of the text for entries in the 'IconView'. If a markup-- source is set using 'iconViewSetMarkupSource', then the text source is-- ignored.--iconViewSetTextColumn::IconViewClassself=>self->ColumnIdrowString-- ^ @column@ - A column in the currently used model.->IO()iconViewSetTextColumnselfcolumn=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_text_columnargPtr1arg2){-# LINE 234 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)((fromIntegral.columnIdToNumber)column)-- | Returns the column with text for @iconView@.--iconViewGetTextColumn::IconViewClassself=>self->IO(ColumnIdrowString)-- ^ returns the text column, or 'invalidColumnId' if it's unset.iconViewGetTextColumnself=liftM(makeColumnIdString.fromIntegral)$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_text_columnargPtr1){-# LINE 244 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:995f d:801c-- | Sets the column of the text for entries in the 'IconView' as a markup-- string (see 'Graphics.Rendering.Pango.Markup'). A text source that is set-- using 'iconViewSetTextSource' is ignored once a markup source is set.--iconViewSetMarkupColumn::IconViewClassself=>self->ColumnIdrowMarkup-- ^ @column@ - A column in the currently used model.->IO()iconViewSetMarkupColumnselfcolumn=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_markup_columnargPtr1arg2){-# LINE 257 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)((fromIntegral.columnIdToNumber)column)-- | Returns the column with markup text for @iconView@.--iconViewGetMarkupColumn::IconViewClassself=>self->IO(ColumnIdrowMarkup)-- ^ returns the markup column, or 'invalidColumnId' if it's unset.iconViewGetMarkupColumnself=liftM(makeColumnIdString.fromIntegral)$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_markup_columnargPtr1){-# LINE 267 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:4079 d:bf8-- | Sets the column of the 'Graphics.UI.Gtk.Gdk.Pixbuf' for entries in the-- 'IconView'.--iconViewSetPixbufColumn::IconViewClassself=>self->ColumnIdrowPixbuf-- ^ @column@ - A column in the currently used model.->IO()iconViewSetPixbufColumnselfcolumn=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_pixbuf_columnargPtr1arg2){-# LINE 279 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)((fromIntegral.columnIdToNumber)column)-- | Returns the column with pixbufs for @iconView@.--iconViewGetPixbufColumn::IconViewClassself=>self->IO(ColumnIdrowPixbuf)-- ^ returns the pixbuf column, or 'invalidColumnId' if it's unset.iconViewGetPixbufColumnself=liftM(makeColumnIdPixbuf.fromIntegral)$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_pixbuf_columnargPtr1){-# LINE 289 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:2486 d:5e7-- | Finds the path at the point (@x@, @y@), relative to widget coordinates.-- See 'iconViewGetItemAtPos', if you are also interested in the cell at the-- specified position.--iconViewGetPathAtPos::IconViewClassself=>self->Int-- ^ @x@ - The x position to be identified->Int-- ^ @y@ - The y position to be identified->IOTreePath-- ^ returns The 'TreePath' corresponding to the icon or @[]@-- if no icon exists at that position.iconViewGetPathAtPosselfxy=(\(IconViewarg1)arg2arg3->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_path_at_posargPtr1arg2arg3){-# LINE 303 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralx)(fromIntegraly)>>=fromTreePath-- %hash c:dfc5-- | Calls a function for each selected icon. Note that the model or selection-- cannot be modified from within this function.--iconViewSelectedForeach::IconViewClassself=>self->(TreePath->IO())-- ^ @(\path -> ...)@ - The funcion to call for each-- selected icon.->IO()iconViewSelectedForeachselffunc=dofuncPtr<-mkIconViewForeachFunc(\_tpPtr_->dopath<-peekTreePathtpPtrfuncpath)(\(IconViewarg1)arg2arg3->withForeignPtrarg1$\argPtr1->gtk_icon_view_selected_foreachargPtr1arg2arg3){-# LINE 322 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)funcPtrnullPtrfreeHaskellFunPtrfuncPtrtypeIconViewForeachFunc=FunPtr(((PtrIconView)->((PtrNativeTreePath)->((Ptr())->(IO()))))){-# LINE 328 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}foreignimportccall"wrapper"mkIconViewForeachFunc::(PtrIconView->PtrNativeTreePath->Ptr()->IO())->IOIconViewForeachFunc-- | Sets the selection mode of the @iconView@.--iconViewSetSelectionMode::IconViewClassself=>self->SelectionMode-- ^ @mode@ - The selection mode->IO()iconViewSetSelectionModeselfmode=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_selection_modeargPtr1arg2){-# LINE 339 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)((fromIntegral.fromEnum)mode)-- | Gets the selection mode of the @iconView@.--iconViewGetSelectionMode::IconViewClassself=>self->IOSelectionMode-- ^ returns the current selection modeiconViewGetSelectionModeself=liftM(toEnum.fromIntegral)$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_selection_modeargPtr1){-# LINE 349 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- | Sets the ::orientation property which determines whether the labels are-- drawn beside the icons instead of below.--iconViewSetOrientation::IconViewClassself=>self->Orientation-- ^ @orientation@ - the relative position of texts and icons->IO()iconViewSetOrientationselforientation=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_orientationargPtr1arg2){-# LINE 359 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)((fromIntegral.fromEnum)orientation)-- | Returns the value of the ::orientation property which determines whether-- the labels are drawn beside the icons instead of below.--iconViewGetOrientation::IconViewClassself=>self->IOOrientation-- ^ returns the relative position of texts and iconsiconViewGetOrientationself=liftM(toEnum.fromIntegral)$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_orientationargPtr1){-# LINE 370 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:7d23 d:d4e7-- | Sets the ::columns property which determines in how many columns the-- icons are arranged. If @columns@ is -1, the number of columns will be chosen-- automatically to fill the available area.--iconViewSetColumns::IconViewClassself=>self->Int-- ^ @columns@ - the number of columns->IO()iconViewSetColumnsselfcolumns=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_columnsargPtr1arg2){-# LINE 382 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralcolumns)-- %hash c:f0f6 d:fc0e-- | Returns the value of the ::columns property.--iconViewGetColumns::IconViewClassself=>self->IOInt-- ^ returns the number of columns, or -1iconViewGetColumnsself=liftMfromIntegral$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_columnsargPtr1){-# LINE 393 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:643e d:b756-- | Sets the ::item-width property which specifies the width to use for each-- item. If it is set to -1, the icon view will automatically determine a-- suitable item size.--iconViewSetItemWidth::IconViewClassself=>self->Int-- ^ @itemWidth@ - the width for each item->IO()iconViewSetItemWidthselfitemWidth=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_item_widthargPtr1arg2){-# LINE 405 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralitemWidth)-- %hash c:9f27 d:8569-- | Returns the value of the ::item-width property.--iconViewGetItemWidth::IconViewClassself=>self->IOInt-- ^ returns the width of a single item, or -1iconViewGetItemWidthself=liftMfromIntegral$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_item_widthargPtr1){-# LINE 416 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:7e61 d:3186-- | Sets the ::spacing property which specifies the space which is inserted-- between the cells (i.e. the icon and the text) of an item.--iconViewSetSpacing::IconViewClassself=>self->Int-- ^ @spacing@ - the spacing->IO()iconViewSetSpacingselfspacing=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_spacingargPtr1arg2){-# LINE 427 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralspacing)-- %hash c:5bc1 d:a1d2-- | Returns the value of the ::spacing property.--iconViewGetSpacing::IconViewClassself=>self->IOInt-- ^ returns the space between cellsiconViewGetSpacingself=liftMfromIntegral$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_spacingargPtr1){-# LINE 438 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:dd08 d:730c-- | Sets the ::row-spacing property which specifies the space which is-- inserted between the rows of the icon view.--iconViewSetRowSpacing::IconViewClassself=>self->Int-- ^ @rowSpacing@ - the row spacing->IO()iconViewSetRowSpacingselfrowSpacing=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_row_spacingargPtr1arg2){-# LINE 449 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralrowSpacing)-- %hash c:a040 d:bc37-- | Returns the value of the ::row-spacing property.--iconViewGetRowSpacing::IconViewClassself=>self->IOInt-- ^ returns the space between rowsiconViewGetRowSpacingself=liftMfromIntegral$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_row_spacingargPtr1){-# LINE 460 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:3042 d:b4f8-- | Sets the ::column-spacing property which specifies the space which is-- inserted between the columns of the icon view.--iconViewSetColumnSpacing::IconViewClassself=>self->Int-- ^ @columnSpacing@ - the column spacing->IO()iconViewSetColumnSpacingselfcolumnSpacing=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_column_spacingargPtr1arg2){-# LINE 471 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralcolumnSpacing)-- %hash c:3818 d:c1cd-- | Returns the value of the ::column-spacing property.--iconViewGetColumnSpacing::IconViewClassself=>self->IOInt-- ^ returns the space between columnsiconViewGetColumnSpacingself=liftMfromIntegral$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_column_spacingargPtr1){-# LINE 482 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:990 d:d43c-- | Sets the ::margin property which specifies the space which is inserted at-- the top, bottom, left and right of the icon view.--iconViewSetMargin::IconViewClassself=>self->Int-- ^ @margin@ - the margin->IO()iconViewSetMarginselfmargin=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_marginargPtr1arg2){-# LINE 493 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralmargin)-- %hash c:a116 d:6fab-- | Returns the value of the ::margin property.--iconViewGetMargin::IconViewClassself=>self->IOInt-- ^ returns the space at the bordersiconViewGetMarginself=liftMfromIntegral$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_marginargPtr1){-# LINE 504 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:77b3-- | Selects the row at @path@.--iconViewSelectPath::IconViewClassself=>self->TreePath-- ^ @path@ - The 'TreePath' to be selected.->IO()iconViewSelectPathselfpath=withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)->withForeignPtrarg1$\argPtr1->gtk_icon_view_select_pathargPtr1arg2){-# LINE 515 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path-- %hash c:7e5f-- | Unselects the row at @path@.--iconViewUnselectPath::IconViewClassself=>self->TreePath-- ^ @path@ - The 'TreePath' to be unselected.->IO()iconViewUnselectPathselfpath=withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)->withForeignPtrarg1$\argPtr1->gtk_icon_view_unselect_pathargPtr1arg2){-# LINE 527 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path-- %hash c:8ea0-- | Returns @True@ if the icon pointed to by @path@ is currently selected. If-- @icon@ does not point to a valid location, @False@ is returned.--iconViewPathIsSelected::IconViewClassself=>self->TreePath-- ^ @path@ - A 'TreePath' to check selection on.->IOBool-- ^ returns @True@ if @path@ is selected.iconViewPathIsSelectedselfpath=liftMtoBool$withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)->withForeignPtrarg1$\argPtr1->gtk_icon_view_path_is_selectedargPtr1arg2){-# LINE 541 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path-- %hash c:90f8 d:9c43-- | Creates a list of paths of all selected items. Additionally, if you are-- planning on modifying the model after calling this function, you may want-- to convert the returned list into a list of 'TreeRowReference's. To do-- this, you can use 'treeRowReferenceNew'.--iconViewGetSelectedItems::IconViewClassself=>self->IO[TreePath]-- ^ returns a list of 'TreePath's, one for each selected row.iconViewGetSelectedItemsself=(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_selected_itemsargPtr1){-# LINE 554 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)>>=fromGList>>=mapMfromTreePath-- | Selects all the icons. @iconView@ must has its selection mode set to-- 'SelectionMultiple'.--iconViewSelectAll::IconViewClassself=>self->IO()iconViewSelectAllself=(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_select_allargPtr1){-# LINE 564 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- | Unselects all the icons.--iconViewUnselectAll::IconViewClassself=>self->IO()iconViewUnselectAllself=(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_unselect_allargPtr1){-# LINE 571 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:6916-- | Activates the item determined by @path@.--iconViewItemActivated::IconViewClassself=>self->TreePath-- ^ @path@ - The 'TreePath' to be activated->IO()iconViewItemActivatedselfpath=withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)->withForeignPtrarg1$\argPtr1->gtk_icon_view_item_activatedargPtr1arg2){-# LINE 582 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path-- %hash c:3122 d:346e-- | Finds the path at the point (@x@, @y@), relative to widget coordinates.-- In contrast to 'iconViewGetPathAtPos', this function also obtains the cell-- at the specified position.---- * Available since Gtk+ version 2.8--iconViewGetItemAtPos::IconViewClassself=>self->Int-- ^ @x@ - The x position to be identified->Int-- ^ @y@ - The y position to be identified->IO(Maybe(TreePath,CellRenderer))-- specified positioniconViewGetItemAtPosselfxy=alloca$\pathPtrPtr->alloca$\crPtrPtr->dosuccess<-liftMtoBool$(\(IconViewarg1)arg2arg3arg4arg5->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_item_at_posargPtr1arg2arg3arg4arg5){-# LINE 602 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromIntegralx)(fromIntegraly)(castPtrpathPtrPtr)(castPtrcrPtrPtr)ifnotsuccessthenreturnNothingelsedopathPtr<-peekpathPtrPtrcrPtr<-peekcrPtrPtrpath<-fromTreePathpathPtrcr<-makeNewGObjectmkCellRenderer(returncrPtr)return(Just(path,cr))-- %hash c:357b d:32d6-- | Given @Left path@ as argument , sets the current keyboard focus to be at-- @path@, and selects it. This is useful when you want to focus the user's-- attention on a particular item. If @Right cell@ is given, then focus is-- given to the cell specified by it. Additionally, if @startEditing@ is-- @True@, then editing should be started in the specified cell.---- This function is often followed by-- 'Graphics.UI.Gtk.Abstract.Widget.widgetGrabFocus' in order to give keyboard-- focus to the widget. Please note that editing can only happen when the-- widget is realized.---- * Available since Gtk+ version 2.8--iconViewSetCursor::(IconViewClassself,CellRendererClasscell)=>self->(EitherTreePathcell)-- ^ the path or the cell->Bool-- ^ @startEditing@ - @True@ if the specified cell should start-- being edited.->IO()iconViewSetCursorself(Leftpath)startEditing=withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)(CellRendererarg3)arg4->withForeignPtrarg1$\argPtr1->withForeignPtrarg3$\argPtr3->gtk_icon_view_set_cursorargPtr1arg2argPtr3arg4){-# LINE 636 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path(CellRenderernullForeignPtr)(fromBoolstartEditing)iconViewSetCursorself(Rightcell)startEditing=(\(IconViewarg1)(NativeTreePatharg2)(CellRendererarg3)arg4->withForeignPtrarg1$\argPtr1->withForeignPtrarg3$\argPtr3->gtk_icon_view_set_cursorargPtr1arg2argPtr3arg4){-# LINE 642 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(NativeTreePathnullPtr)(toCellRenderercell)(fromBoolstartEditing)-- %hash c:3307 d:9cf8-- | Return a @path@ and a @cell@ with the current cursor path and cell. If the-- cursor isn't currently set, then @[]@ will be returned for the @path@. If no cell currently has focus,-- then @cell@ will be @Nothing@.---- * Available since Gtk+ version 2.8--iconViewGetCursor::IconViewClassself=>self->IO(TreePath,MaybeCellRenderer)-- ^ returns a @path@ to the cursor and a @cell@ if the widget has the input focusiconViewGetCursorself=alloca$\pathPtrPtr->alloca$\crPtrPtr->do(\(IconViewarg1)arg2arg3->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_cursorargPtr1arg2arg3){-# LINE 659 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(castPtrpathPtrPtr)(castPtrcrPtrPtr)pathPtr<-peekpathPtrPtrcrPtr<-peekcrPtrPtrpath<-fromTreePathpathPtrcr<-ifcrPtr==nullPtrthenreturnNothingelseliftMJust$makeNewGObjectmkCellRenderer(returncrPtr)return(path,cr)-- %hash c:1c9e d:20c5-- | Moves the alignments of @iconView@ to the position specified by @path@.-- @rowAlign@ determines where the row is placed, and @colAlign@ determines-- where @column@ is placed. Both are expected to be between 0.0 and 1.0. 0.0-- means left\/top alignment, 1.0 means right\/bottom alignment, 0.5 means-- center.---- If @useAlign@ is @False@, then the alignment arguments are ignored, and the-- tree does the minimum amount of work to scroll the item onto the screen.-- This means that the item will be scrolled to the edge closest to its-- current position. If the item is currently visible on the screen, nothing-- is done.---- This function only works if the model is set, and @path@ is a valid row on-- the model. If the model changes before the @iconView@ is realized, the-- centered path will be modified to reflect this change.---- * Available since Gtk+ version 2.8--iconViewScrollToPath::IconViewClassself=>self->TreePath-- ^ @path@ - The path of the item to move to.->Bool-- ^ @useAlign@ - whether to use alignment arguments, or @False@.->Float-- ^ @rowAlign@ - The vertical alignment of the item specified by-- @path@.->Float-- ^ @colAlign@ - The horizontal alignment of the item specified-- by @path@.->IO()iconViewScrollToPathselfpathuseAlignrowAligncolAlign=withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)arg3arg4arg5->withForeignPtrarg1$\argPtr1->gtk_icon_view_scroll_to_pathargPtr1arg2arg3arg4arg5){-# LINE 699 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path(fromBooluseAlign)(realToFracrowAlign)(realToFraccolAlign)-- %hash c:8354 d:f7f3-- | Retrieve the first and last visible path.-- Note that there may be invisible paths inbetween.---- * Available since Gtk+ version 2.8--iconViewGetVisibleRange::IconViewClassself=>self->IO(Maybe(TreePath,TreePath))-- ^ returns the first and last visible path, the return value-- @Nothing@ if every element is visibleiconViewGetVisibleRangeself=alloca$\fPtrPtr->alloca$\lPtrPtr->dosuccess<-liftMtoBool$(\(IconViewarg1)arg2arg3->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_visible_rangeargPtr1arg2arg3){-# LINE 717 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(castPtrfPtrPtr)(castPtrlPtrPtr)ifnotsuccessthenreturnNothingelsedofPtr<-peekfPtrPtrlPtr<-peeklPtrPtrf<-fromTreePathfPtrl<-fromTreePathlPtrreturn(Just(f,l))-- %hash c:bd16 d:3f4f-- | Turns @iconView@ into a drag source for automatic DND.---- * Available since Gtk+ version 2.10--iconViewEnableModelDragSource::IconViewClassself=>self->[Modifier]-- ^ @startButtonMask@ - Mask of allowed buttons-- to start drag->TargetList-- ^ @targets@ - the list of targets that the-- the view will support->[DragAction]-- ^ @actions@ - flags denoting the possible actions-- for a drag from this widget->IO()iconViewEnableModelDragSourceselfstartButtonMasktargetsactions=alloca$\nTargetsPtr->dotlPtr<-(\(TargetListarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_target_table_new_from_listargPtr1arg2)targetsnTargetsPtrnTargets<-peeknTargetsPtr(\(IconViewarg1)arg2arg3arg4arg5->withForeignPtrarg1$\argPtr1->gtk_icon_view_enable_model_drag_sourceargPtr1arg2arg3arg4arg5){-# LINE 746 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)((fromIntegral.fromFlags)startButtonMask)tlPtrnTargets((fromIntegral.fromFlags)actions)gtk_target_table_freetlPtrnTargets-- %hash c:b14d d:23d7-- | Turns @iconView@ into a drop destination for automatic DND.---- * Available since Gtk+ version 2.10--iconViewEnableModelDragDest::IconViewClassself=>self->TargetList-- ^ @targets@ - the list of targets that the-- the view will support->[DragAction]-- ^ @actions@ - flags denoting the possible actions-- for a drop into this widget->IO()iconViewEnableModelDragDestselftargetsactions=alloca$\nTargetsPtr->dotlPtr<-(\(TargetListarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_target_table_new_from_listargPtr1arg2)targetsnTargetsPtrnTargets<-peeknTargetsPtr(\(IconViewarg1)arg2arg3arg4->withForeignPtrarg1$\argPtr1->gtk_icon_view_enable_model_drag_destargPtr1arg2arg3arg4){-# LINE 769 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)tlPtrnTargets((fromIntegral.fromFlags)actions)-- %hash c:25b0 d:5a6b-- | Undoes the effect of 'iconViewEnableModelDragSource'.---- * Available since Gtk+ version 2.10--iconViewUnsetModelDragSource::IconViewClassself=>self->IO()iconViewUnsetModelDragSourceself=(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_unset_model_drag_sourceargPtr1){-# LINE 782 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:d76d d:f18a-- | Undoes the effect of 'iconViewEnableModelDragDest'.---- * Available since Gtk+ version 2.10--iconViewUnsetModelDragDest::IconViewClassself=>self->IO()iconViewUnsetModelDragDestself=(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_unset_model_drag_destargPtr1){-# LINE 792 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- %hash c:c270 d:b94d-- | Check if icons can be moved around.---- * Set whether the user can use drag and drop (DND) to reorder the rows in-- the store. This works on both 'TreeStore' and 'ListStore' models. If @ro@-- is @True@, then the user can reorder the model by dragging and dropping-- rows. The developer can listen to these changes by connecting to the-- model's signals. If you need to control which rows may be dragged or-- where rows may be dropped, you can override the-- 'Graphics.UI.Gtk.ModelView.CustomStore.treeDragSourceRowDraggable'-- function in the default DND implementation of the model.---- * Available since Gtk+ version 2.8--iconViewSetReorderable::IconViewClassself=>self->Bool-- ^ @reorderable@ - @True@, if the list of items can be reordered.->IO()iconViewSetReorderableselfreorderable=(\(IconViewarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_icon_view_set_reorderableargPtr1arg2){-# LINE 814 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)(fromBoolreorderable)-- %hash c:532 d:1d07-- | Retrieves whether the user can reorder the list via drag-and-drop. See-- 'iconViewSetReorderable'.---- * Available since Gtk+ version 2.8--iconViewGetReorderable::IconViewClassself=>self->IOBool-- ^ returns @True@ if the list can be reordered.iconViewGetReorderableself=liftMtoBool$(\(IconViewarg1)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_reorderableargPtr1){-# LINE 828 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)-- | Gets the row in which the item path is currently displayed. Row numbers start at 0.---- * Available since Gtk+ version 2.22--iconViewGetItemRow::IconViewClassself=>self->TreePath-- ^ @path@ the 'TreePath' of the item->IOInt-- ^ returns The row in which the item is displayediconViewGetItemRowselfpath=liftMfromIntegral$withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_item_rowargPtr1arg2){-# LINE 844 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path-- | Gets the column in which the item path is currently displayed. Column numbers start at 0.---- * Available since Gtk+ version 2.22--iconViewGetItemColumn::IconViewClassself=>self->TreePath-- ^ @path@ the 'TreePath' of the item->IOInt-- ^ returns The column in which the item is displayediconViewGetItemColumnselfpath=liftMfromIntegral$withTreePathpath$\path->(\(IconViewarg1)(NativeTreePatharg2)->withForeignPtrarg1$\argPtr1->gtk_icon_view_get_item_columnargPtr1arg2){-# LINE 858 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}(toIconViewself)path---------------------- Attributes-- | The ::selection-mode property specifies the selection mode of icon view.-- If the mode is 'SelectionMultiple', rubberband selection is enabled, for the-- other modes, only keyboard selection is possible.---- Default value: 'SelectionSingle'--iconViewSelectionMode::IconViewClassself=>AttrselfSelectionModeiconViewSelectionMode=newAttriconViewGetSelectionModeiconViewSetSelectionMode-- %hash c:4ce5 d:c77a-- | The 'iconViewPixbufColumn' property contains the number of the model column-- containing the pixbufs which are displayed. Setting this property to-- 'invalidColumnId' turns off the display of pixbufs.---- Default value: 'invalidColumnId'--iconViewPixbufColumn::IconViewClassself=>Attrself(ColumnIdrowPixbuf)iconViewPixbufColumn=newAttriconViewGetPixbufColumniconViewSetPixbufColumn-- %hash c:702a d:f7ed-- | The 'iconViewTextColumn' property contains the number of the model column-- containing the texts which are displayed. If this property and the-- 'iconViewMarkupColumn' property are both set to 'invalidColumnId', no texts-- are displayed.---- Default value: 'invalidColumnId'--iconViewTextColumn::IconViewClassself=>Attrself(ColumnIdrowString)iconViewTextColumn=newAttriconViewGetTextColumniconViewSetTextColumn-- %hash c:37cb d:ee83-- | The 'iconViewMarkupColumn' property contains the number of the model column-- containing markup information to be displayed. If this property and the-- 'iconViewTextColumn' property are both set to column numbers, it overrides the text-- column. If both are set to 'invalidColumnId', no texts are displayed.---- Default value: 'invalidColumnId'--iconViewMarkupColumn::IconViewClassself=>Attrself(ColumnIdrowMarkup)iconViewMarkupColumn=newAttriconViewGetMarkupColumniconViewSetMarkupColumn-- %hash c:723d-- | The model for the icon view.--iconViewModel::(IconViewClassself,TreeModelClassmodel)=>ReadWriteAttrself(MaybeTreeModel)(Maybemodel)iconViewModel=newAttriconViewGetModeliconViewSetModel-- %hash c:6347-- | The columns property contains the number of the columns in which the-- items should be displayed. If it is -1, the number of columns will be chosen-- automatically to fill the available area.---- Allowed values: >= -1---- Default value: -1--iconViewColumns::IconViewClassself=>AttrselfInticonViewColumns=newAttrFromIntProperty"columns"-- %hash c:d0fe d:42c5-- | The item-width property specifies the width to use for each item. If it-- is set to -1, the icon view will automatically determine a suitable item-- size.---- Allowed values: >= -1---- Default value: -1--iconViewItemWidth::IconViewClassself=>AttrselfInticonViewItemWidth=newAttrFromIntProperty"item-width"-- %hash c:3813 d:23f9-- | The spacing property specifies the space which is inserted between the-- cells (i.e. the icon and the text) of an item.---- Allowed values: >= 0---- Default value: 0--iconViewSpacing::IconViewClassself=>AttrselfInticonViewSpacing=newAttrFromIntProperty"spacing"-- %hash c:6a28 d:8e65-- | The row-spacing property specifies the space which is inserted between-- the rows of the icon view.---- Allowed values: >= 0---- Default value: 6--iconViewRowSpacing::IconViewClassself=>AttrselfInticonViewRowSpacing=newAttrFromIntProperty"row-spacing"-- %hash c:56a d:2971-- | The column-spacing property specifies the space which is inserted between-- the columns of the icon view.---- Allowed values: >= 0---- Default value: 6--iconViewColumnSpacing::IconViewClassself=>AttrselfInticonViewColumnSpacing=newAttrFromIntProperty"column-spacing"-- %hash c:89de d:8e41-- | The margin property specifies the space which is inserted at the edges of-- the icon view.---- Allowed values: >= 0---- Default value: 6--iconViewMargin::IconViewClassself=>AttrselfInticonViewMargin=newAttrFromIntProperty"margin"-- %hash c:b606 d:31c3-- | The orientation property specifies how the cells (i.e. the icon and the-- text) of the item are positioned relative to each other.---- Default value: 'OrientationVertical'--iconViewOrientation::IconViewClassself=>AttrselfOrientationiconViewOrientation=newAttrFromEnumProperty"orientation"gtk_orientation_get_type{-# LINE 1001 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}-- %hash c:f17b d:54d0-- | The reorderable property specifies if the items can be reordered by DND.---- Default value: @False@---- * Available since Gtk+ version 2.8--iconViewReorderable::IconViewClassself=>AttrselfBooliconViewReorderable=newAttrFromBoolProperty"reorderable"-- | The item-orientation property specifies how the cells (i.e. the icon and the text) of the item are-- positioned relative to each other.---- Default value: 'OrientationVertical'---- * Available since Gtk+ version 2.22--iconViewItemOrientation::IconViewClassself=>AttrselfOrientationiconViewItemOrientation=newAttrFromEnumProperty"item-orientation"gtk_orientation_get_type{-# LINE 1025 "./Graphics/UI/Gtk/ModelView/IconView.chs" #-}---------------------- Signals-- %hash c:4671 d:af3f-- | New scroll adjustment have been set for this widget.--setIconViewScrollAdjustments::IconViewClassself=>Signalself(Adjustment->Adjustment->IO())setIconViewScrollAdjustments=Signal(connect_OBJECT_OBJECT__NONE"set-scroll-adjustments")-- %hash c:4090 d:af3f-- | A specific element has been activated (by pressing enter or double clicking).--itemActivated::IconViewClassself=>Signalself(TreePath->IO())itemActivated=Signal(connect_BOXED__NONE"item-activated"(peekTreePath.castPtr))-- %hash c:6098 d:af3f-- | The selected item changed.--selectionChanged::IconViewClassself=>Signalself(IO())selectionChanged=Signal(connect_NONE__NONE"selection-changed")foreignimportccallsafe"gtk_icon_view_new"gtk_icon_view_new::(IO(PtrWidget))foreignimportccallsafe"gtk_icon_view_new_with_model"gtk_icon_view_new_with_model::((PtrTreeModel)->(IO(PtrWidget)))foreignimportccallsafe"gtk_icon_view_set_model"gtk_icon_view_set_model::((PtrIconView)->((PtrTreeModel)->(IO())))foreignimportccallunsafe"gtk_icon_view_get_model"gtk_icon_view_get_model::((PtrIconView)->(IO(PtrTreeModel)))foreignimportccallsafe"gtk_icon_view_set_text_column"gtk_icon_view_set_text_column::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_text_column"gtk_icon_view_get_text_column::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_markup_column"gtk_icon_view_set_markup_column::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_markup_column"gtk_icon_view_get_markup_column::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_pixbuf_column"gtk_icon_view_set_pixbuf_column::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_pixbuf_column"gtk_icon_view_get_pixbuf_column::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_get_path_at_pos"gtk_icon_view_get_path_at_pos::((PtrIconView)->(CInt->(CInt->(IO(PtrNativeTreePath)))))foreignimportccallsafe"gtk_icon_view_selected_foreach"gtk_icon_view_selected_foreach::((PtrIconView)->((FunPtr((PtrIconView)->((PtrNativeTreePath)->((Ptr())->(IO())))))->((Ptr())->(IO()))))foreignimportccallsafe"gtk_icon_view_set_selection_mode"gtk_icon_view_set_selection_mode::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_selection_mode"gtk_icon_view_get_selection_mode::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_orientation"gtk_icon_view_set_orientation::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_orientation"gtk_icon_view_get_orientation::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_columns"gtk_icon_view_set_columns::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_columns"gtk_icon_view_get_columns::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_item_width"gtk_icon_view_set_item_width::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_item_width"gtk_icon_view_get_item_width::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_spacing"gtk_icon_view_set_spacing::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_spacing"gtk_icon_view_get_spacing::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_row_spacing"gtk_icon_view_set_row_spacing::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_row_spacing"gtk_icon_view_get_row_spacing::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_column_spacing"gtk_icon_view_set_column_spacing::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_column_spacing"gtk_icon_view_get_column_spacing::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_set_margin"gtk_icon_view_set_margin::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_margin"gtk_icon_view_get_margin::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_select_path"gtk_icon_view_select_path::((PtrIconView)->((PtrNativeTreePath)->(IO())))foreignimportccallsafe"gtk_icon_view_unselect_path"gtk_icon_view_unselect_path::((PtrIconView)->((PtrNativeTreePath)->(IO())))foreignimportccallsafe"gtk_icon_view_path_is_selected"gtk_icon_view_path_is_selected::((PtrIconView)->((PtrNativeTreePath)->(IOCInt)))foreignimportccallsafe"gtk_icon_view_get_selected_items"gtk_icon_view_get_selected_items::((PtrIconView)->(IO(Ptr())))foreignimportccallsafe"gtk_icon_view_select_all"gtk_icon_view_select_all::((PtrIconView)->(IO()))foreignimportccallsafe"gtk_icon_view_unselect_all"gtk_icon_view_unselect_all::((PtrIconView)->(IO()))foreignimportccallsafe"gtk_icon_view_item_activated"gtk_icon_view_item_activated::((PtrIconView)->((PtrNativeTreePath)->(IO())))foreignimportccallsafe"gtk_icon_view_get_item_at_pos"gtk_icon_view_get_item_at_pos::((PtrIconView)->(CInt->(CInt->((PtrNativeTreePath)->((PtrCellRenderer)->(IOCInt))))))foreignimportccallsafe"gtk_icon_view_set_cursor"gtk_icon_view_set_cursor::((PtrIconView)->((PtrNativeTreePath)->((PtrCellRenderer)->(CInt->(IO())))))foreignimportccallsafe"gtk_icon_view_get_cursor"gtk_icon_view_get_cursor::((PtrIconView)->((PtrNativeTreePath)->((PtrCellRenderer)->(IOCInt))))foreignimportccallsafe"gtk_icon_view_scroll_to_path"gtk_icon_view_scroll_to_path::((PtrIconView)->((PtrNativeTreePath)->(CInt->(CFloat->(CFloat->(IO()))))))foreignimportccallsafe"gtk_icon_view_get_visible_range"gtk_icon_view_get_visible_range::((PtrIconView)->((PtrNativeTreePath)->((PtrNativeTreePath)->(IOCInt))))foreignimportccallunsafe"gtk_target_table_new_from_list"gtk_target_table_new_from_list::((PtrTargetList)->((PtrCInt)->(IO(Ptr()))))foreignimportccallsafe"gtk_icon_view_enable_model_drag_source"gtk_icon_view_enable_model_drag_source::((PtrIconView)->(CInt->((Ptr())->(CInt->(CInt->(IO()))))))foreignimportccallunsafe"gtk_target_table_free"gtk_target_table_free::((Ptr())->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_enable_model_drag_dest"gtk_icon_view_enable_model_drag_dest::((PtrIconView)->((Ptr())->(CInt->(CInt->(IO())))))foreignimportccallsafe"gtk_icon_view_unset_model_drag_source"gtk_icon_view_unset_model_drag_source::((PtrIconView)->(IO()))foreignimportccallsafe"gtk_icon_view_unset_model_drag_dest"gtk_icon_view_unset_model_drag_dest::((PtrIconView)->(IO()))foreignimportccallsafe"gtk_icon_view_set_reorderable"gtk_icon_view_set_reorderable::((PtrIconView)->(CInt->(IO())))foreignimportccallsafe"gtk_icon_view_get_reorderable"gtk_icon_view_get_reorderable::((PtrIconView)->(IOCInt))foreignimportccallsafe"gtk_icon_view_get_item_row"gtk_icon_view_get_item_row::((PtrIconView)->((PtrNativeTreePath)->(IOCInt)))foreignimportccallsafe"gtk_icon_view_get_item_column"gtk_icon_view_get_item_column::((PtrIconView)->((PtrNativeTreePath)->(IOCInt)))foreignimportccallunsafe"gtk_orientation_get_type"gtk_orientation_get_type::CUInt