Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
GI.Gtk.Objects.IconView
Contents
- Exported types
- Methods
- convertWidgetToBinWindowCoords
- createDragIcon
- enableModelDragDest
- enableModelDragSource
- getActivateOnSingleClick
- getCellRect
- getColumnSpacing
- getColumns
- getCursor
- getDestItemAtPos
- getDragDestItem
- getItemAtPos
- getItemColumn
- getItemOrientation
- getItemPadding
- getItemRow
- getItemWidth
- getMargin
- getMarkupColumn
- getModel
- getPathAtPos
- getPixbufColumn
- getReorderable
- getRowSpacing
- getSelectedItems
- getSelectionMode
- getSpacing
- getTextColumn
- getTooltipColumn
- getTooltipContext
- getVisibleRange
- itemActivated
- new
- newWithArea
- newWithModel
- pathIsSelected
- scrollToPath
- selectAll
- selectPath
- selectedForeach
- setActivateOnSingleClick
- setColumnSpacing
- setColumns
- setCursor
- setDragDestItem
- setItemOrientation
- setItemPadding
- setItemWidth
- setMargin
- setMarkupColumn
- setModel
- setPixbufColumn
- setReorderable
- setRowSpacing
- setSelectionMode
- setSpacing
- setTextColumn
- setTooltipCell
- setTooltipColumn
- setTooltipItem
- unselectAll
- unselectPath
- unsetModelDragDest
- unsetModelDragSource
- Properties
- Signals
Description
IconView
provides an alternative view on a TreeModel
.
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.
Note that if the tree model is backed by an actual tree store (as
opposed to a flat list where the mapping to icons is obvious),
IconView
will only display the first level of the tree and
ignore the tree’s branches.
CSS nodes
plain code
iconview.view ╰── [rubberband]
GtkIconView has a single CSS node with name iconview and style class .view. For rubberband selection, a subnode with name rubberband is used.
- newtype IconView = IconView (ManagedPtr IconView)
- class GObject o => IsIconView o
- toIconView :: (MonadIO m, IsIconView o) => o -> m IconView
- noIconView :: Maybe IconView
- iconViewConvertWidgetToBinWindowCoords :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> Int32 -> m (Int32, Int32)
- iconViewCreateDragIcon :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m Surface
- iconViewEnableModelDragDest :: (HasCallStack, MonadIO m, IsIconView a) => a -> [TargetEntry] -> [DragAction] -> m ()
- iconViewEnableModelDragSource :: (HasCallStack, MonadIO m, IsIconView a) => a -> [ModifierType] -> [TargetEntry] -> [DragAction] -> m ()
- iconViewGetActivateOnSingleClick :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Bool
- iconViewGetCellRect :: (HasCallStack, MonadIO m, IsIconView a, IsCellRenderer b) => a -> TreePath -> Maybe b -> m (Bool, Rectangle)
- iconViewGetColumnSpacing :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetColumns :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetCursor :: (HasCallStack, MonadIO m, IsIconView a) => a -> m (Bool, TreePath, CellRenderer)
- iconViewGetDestItemAtPos :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> Int32 -> m (Bool, TreePath, IconViewDropPosition)
- iconViewGetDragDestItem :: (HasCallStack, MonadIO m, IsIconView a) => a -> m (TreePath, IconViewDropPosition)
- iconViewGetItemAtPos :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> Int32 -> m (Bool, TreePath, CellRenderer)
- iconViewGetItemColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m Int32
- iconViewGetItemOrientation :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Orientation
- iconViewGetItemPadding :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetItemRow :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m Int32
- iconViewGetItemWidth :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetMargin :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetMarkupColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetModel :: (HasCallStack, MonadIO m, IsIconView a) => a -> m (Maybe TreeModel)
- iconViewGetPathAtPos :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> Int32 -> m (Maybe TreePath)
- iconViewGetPixbufColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetReorderable :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Bool
- iconViewGetRowSpacing :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetSelectedItems :: (HasCallStack, MonadIO m, IsIconView a) => a -> m [TreePath]
- iconViewGetSelectionMode :: (HasCallStack, MonadIO m, IsIconView a) => a -> m SelectionMode
- iconViewGetSpacing :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetTextColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetTooltipColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> m Int32
- iconViewGetTooltipContext :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> Int32 -> Bool -> m (Bool, Int32, Int32, TreeModel, TreePath, TreeIter)
- iconViewGetVisibleRange :: (HasCallStack, MonadIO m, IsIconView a) => a -> m (Bool, TreePath, TreePath)
- iconViewItemActivated :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m ()
- iconViewNew :: (HasCallStack, MonadIO m) => m IconView
- iconViewNewWithArea :: (HasCallStack, MonadIO m, IsCellArea a) => a -> m IconView
- iconViewNewWithModel :: (HasCallStack, MonadIO m, IsTreeModel a) => a -> m IconView
- iconViewPathIsSelected :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m Bool
- iconViewScrollToPath :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> Bool -> Float -> Float -> m ()
- iconViewSelectAll :: (HasCallStack, MonadIO m, IsIconView a) => a -> m ()
- iconViewSelectPath :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m ()
- iconViewSelectedForeach :: (HasCallStack, MonadIO m, IsIconView a) => a -> IconViewForeachFunc -> m ()
- iconViewSetActivateOnSingleClick :: (HasCallStack, MonadIO m, IsIconView a) => a -> Bool -> m ()
- iconViewSetColumnSpacing :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetColumns :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetCursor :: (HasCallStack, MonadIO m, IsIconView a, IsCellRenderer b) => a -> TreePath -> Maybe b -> Bool -> m ()
- iconViewSetDragDestItem :: (HasCallStack, MonadIO m, IsIconView a) => a -> Maybe TreePath -> IconViewDropPosition -> m ()
- iconViewSetItemOrientation :: (HasCallStack, MonadIO m, IsIconView a) => a -> Orientation -> m ()
- iconViewSetItemPadding :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetItemWidth :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetMargin :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetMarkupColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetModel :: (HasCallStack, MonadIO m, IsIconView a, IsTreeModel b) => a -> Maybe b -> m ()
- iconViewSetPixbufColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetReorderable :: (HasCallStack, MonadIO m, IsIconView a) => a -> Bool -> m ()
- iconViewSetRowSpacing :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetSelectionMode :: (HasCallStack, MonadIO m, IsIconView a) => a -> SelectionMode -> m ()
- iconViewSetSpacing :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetTextColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetTooltipCell :: (HasCallStack, MonadIO m, IsIconView a, IsTooltip b, IsCellRenderer c) => a -> b -> TreePath -> Maybe c -> m ()
- iconViewSetTooltipColumn :: (HasCallStack, MonadIO m, IsIconView a) => a -> Int32 -> m ()
- iconViewSetTooltipItem :: (HasCallStack, MonadIO m, IsIconView a, IsTooltip b) => a -> b -> TreePath -> m ()
- iconViewUnselectAll :: (HasCallStack, MonadIO m, IsIconView a) => a -> m ()
- iconViewUnselectPath :: (HasCallStack, MonadIO m, IsIconView a) => a -> TreePath -> m ()
- iconViewUnsetModelDragDest :: (HasCallStack, MonadIO m, IsIconView a) => a -> m ()
- iconViewUnsetModelDragSource :: (HasCallStack, MonadIO m, IsIconView a) => a -> m ()
- constructIconViewActivateOnSingleClick :: IsIconView o => Bool -> IO (GValueConstruct o)
- getIconViewActivateOnSingleClick :: (MonadIO m, IsIconView o) => o -> m Bool
- setIconViewActivateOnSingleClick :: (MonadIO m, IsIconView o) => o -> Bool -> m ()
- constructIconViewCellArea :: (IsIconView o, IsCellArea a) => a -> IO (GValueConstruct o)
- getIconViewCellArea :: (MonadIO m, IsIconView o) => o -> m (Maybe CellArea)
- constructIconViewColumnSpacing :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewColumnSpacing :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewColumnSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewColumns :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewColumns :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewColumns :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewItemOrientation :: IsIconView o => Orientation -> IO (GValueConstruct o)
- getIconViewItemOrientation :: (MonadIO m, IsIconView o) => o -> m Orientation
- setIconViewItemOrientation :: (MonadIO m, IsIconView o) => o -> Orientation -> m ()
- constructIconViewItemPadding :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewItemPadding :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewItemPadding :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewItemWidth :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewItemWidth :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewItemWidth :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewMargin :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewMargin :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewMargin :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewMarkupColumn :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewMarkupColumn :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewMarkupColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- clearIconViewModel :: (MonadIO m, IsIconView o) => o -> m ()
- constructIconViewModel :: (IsIconView o, IsTreeModel a) => a -> IO (GValueConstruct o)
- getIconViewModel :: (MonadIO m, IsIconView o) => o -> m (Maybe TreeModel)
- setIconViewModel :: (MonadIO m, IsIconView o, IsTreeModel a) => o -> a -> m ()
- constructIconViewPixbufColumn :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewPixbufColumn :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewPixbufColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewReorderable :: IsIconView o => Bool -> IO (GValueConstruct o)
- getIconViewReorderable :: (MonadIO m, IsIconView o) => o -> m Bool
- setIconViewReorderable :: (MonadIO m, IsIconView o) => o -> Bool -> m ()
- constructIconViewRowSpacing :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewRowSpacing :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewRowSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewSelectionMode :: IsIconView o => SelectionMode -> IO (GValueConstruct o)
- getIconViewSelectionMode :: (MonadIO m, IsIconView o) => o -> m SelectionMode
- setIconViewSelectionMode :: (MonadIO m, IsIconView o) => o -> SelectionMode -> m ()
- constructIconViewSpacing :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewSpacing :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewTextColumn :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewTextColumn :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewTextColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- constructIconViewTooltipColumn :: IsIconView o => Int32 -> IO (GValueConstruct o)
- getIconViewTooltipColumn :: (MonadIO m, IsIconView o) => o -> m Int32
- setIconViewTooltipColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m ()
- type C_IconViewActivateCursorItemCallback = Ptr () -> Ptr () -> IO CInt
- type IconViewActivateCursorItemCallback = IO Bool
- afterIconViewActivateCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewActivateCursorItemCallback -> m SignalHandlerId
- genClosure_IconViewActivateCursorItem :: IconViewActivateCursorItemCallback -> IO Closure
- mk_IconViewActivateCursorItemCallback :: C_IconViewActivateCursorItemCallback -> IO (FunPtr C_IconViewActivateCursorItemCallback)
- noIconViewActivateCursorItemCallback :: Maybe IconViewActivateCursorItemCallback
- onIconViewActivateCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewActivateCursorItemCallback -> m SignalHandlerId
- wrap_IconViewActivateCursorItemCallback :: IconViewActivateCursorItemCallback -> Ptr () -> Ptr () -> IO CInt
- type C_IconViewItemActivatedCallback = Ptr () -> Ptr TreePath -> Ptr () -> IO ()
- type IconViewItemActivatedCallback = TreePath -> IO ()
- afterIconViewItemActivated :: (IsIconView a, MonadIO m) => a -> IconViewItemActivatedCallback -> m SignalHandlerId
- genClosure_IconViewItemActivated :: IconViewItemActivatedCallback -> IO Closure
- mk_IconViewItemActivatedCallback :: C_IconViewItemActivatedCallback -> IO (FunPtr C_IconViewItemActivatedCallback)
- noIconViewItemActivatedCallback :: Maybe IconViewItemActivatedCallback
- onIconViewItemActivated :: (IsIconView a, MonadIO m) => a -> IconViewItemActivatedCallback -> m SignalHandlerId
- wrap_IconViewItemActivatedCallback :: IconViewItemActivatedCallback -> Ptr () -> Ptr TreePath -> Ptr () -> IO ()
- type C_IconViewMoveCursorCallback = Ptr () -> CUInt -> Int32 -> Ptr () -> IO CInt
- type IconViewMoveCursorCallback = MovementStep -> Int32 -> IO Bool
- afterIconViewMoveCursor :: (IsIconView a, MonadIO m) => a -> IconViewMoveCursorCallback -> m SignalHandlerId
- genClosure_IconViewMoveCursor :: IconViewMoveCursorCallback -> IO Closure
- mk_IconViewMoveCursorCallback :: C_IconViewMoveCursorCallback -> IO (FunPtr C_IconViewMoveCursorCallback)
- noIconViewMoveCursorCallback :: Maybe IconViewMoveCursorCallback
- onIconViewMoveCursor :: (IsIconView a, MonadIO m) => a -> IconViewMoveCursorCallback -> m SignalHandlerId
- wrap_IconViewMoveCursorCallback :: IconViewMoveCursorCallback -> Ptr () -> CUInt -> Int32 -> Ptr () -> IO CInt
- type C_IconViewSelectAllCallback = Ptr () -> Ptr () -> IO ()
- type IconViewSelectAllCallback = IO ()
- afterIconViewSelectAll :: (IsIconView a, MonadIO m) => a -> IconViewSelectAllCallback -> m SignalHandlerId
- genClosure_IconViewSelectAll :: IconViewSelectAllCallback -> IO Closure
- mk_IconViewSelectAllCallback :: C_IconViewSelectAllCallback -> IO (FunPtr C_IconViewSelectAllCallback)
- noIconViewSelectAllCallback :: Maybe IconViewSelectAllCallback
- onIconViewSelectAll :: (IsIconView a, MonadIO m) => a -> IconViewSelectAllCallback -> m SignalHandlerId
- wrap_IconViewSelectAllCallback :: IconViewSelectAllCallback -> Ptr () -> Ptr () -> IO ()
- type C_IconViewSelectCursorItemCallback = Ptr () -> Ptr () -> IO ()
- type IconViewSelectCursorItemCallback = IO ()
- afterIconViewSelectCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewSelectCursorItemCallback -> m SignalHandlerId
- genClosure_IconViewSelectCursorItem :: IconViewSelectCursorItemCallback -> IO Closure
- mk_IconViewSelectCursorItemCallback :: C_IconViewSelectCursorItemCallback -> IO (FunPtr C_IconViewSelectCursorItemCallback)
- noIconViewSelectCursorItemCallback :: Maybe IconViewSelectCursorItemCallback
- onIconViewSelectCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewSelectCursorItemCallback -> m SignalHandlerId
- wrap_IconViewSelectCursorItemCallback :: IconViewSelectCursorItemCallback -> Ptr () -> Ptr () -> IO ()
- type C_IconViewSelectionChangedCallback = Ptr () -> Ptr () -> IO ()
- type IconViewSelectionChangedCallback = IO ()
- afterIconViewSelectionChanged :: (IsIconView a, MonadIO m) => a -> IconViewSelectionChangedCallback -> m SignalHandlerId
- genClosure_IconViewSelectionChanged :: IconViewSelectionChangedCallback -> IO Closure
- mk_IconViewSelectionChangedCallback :: C_IconViewSelectionChangedCallback -> IO (FunPtr C_IconViewSelectionChangedCallback)
- noIconViewSelectionChangedCallback :: Maybe IconViewSelectionChangedCallback
- onIconViewSelectionChanged :: (IsIconView a, MonadIO m) => a -> IconViewSelectionChangedCallback -> m SignalHandlerId
- wrap_IconViewSelectionChangedCallback :: IconViewSelectionChangedCallback -> Ptr () -> Ptr () -> IO ()
- type C_IconViewToggleCursorItemCallback = Ptr () -> Ptr () -> IO ()
- type IconViewToggleCursorItemCallback = IO ()
- afterIconViewToggleCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewToggleCursorItemCallback -> m SignalHandlerId
- genClosure_IconViewToggleCursorItem :: IconViewToggleCursorItemCallback -> IO Closure
- mk_IconViewToggleCursorItemCallback :: C_IconViewToggleCursorItemCallback -> IO (FunPtr C_IconViewToggleCursorItemCallback)
- noIconViewToggleCursorItemCallback :: Maybe IconViewToggleCursorItemCallback
- onIconViewToggleCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewToggleCursorItemCallback -> m SignalHandlerId
- wrap_IconViewToggleCursorItemCallback :: IconViewToggleCursorItemCallback -> Ptr () -> Ptr () -> IO ()
- type C_IconViewUnselectAllCallback = Ptr () -> Ptr () -> IO ()
- type IconViewUnselectAllCallback = IO ()
- afterIconViewUnselectAll :: (IsIconView a, MonadIO m) => a -> IconViewUnselectAllCallback -> m SignalHandlerId
- genClosure_IconViewUnselectAll :: IconViewUnselectAllCallback -> IO Closure
- mk_IconViewUnselectAllCallback :: C_IconViewUnselectAllCallback -> IO (FunPtr C_IconViewUnselectAllCallback)
- noIconViewUnselectAllCallback :: Maybe IconViewUnselectAllCallback
- onIconViewUnselectAll :: (IsIconView a, MonadIO m) => a -> IconViewUnselectAllCallback -> m SignalHandlerId
- wrap_IconViewUnselectAllCallback :: IconViewUnselectAllCallback -> Ptr () -> Ptr () -> IO ()
Exported types
Constructors
IconView (ManagedPtr IconView) |
class GObject o => IsIconView o Source #
Instances
(GObject a, UnknownAncestorError Constraint IconView a) => IsIconView a Source # | |
IsIconView IconView Source # | |
toIconView :: (MonadIO m, IsIconView o) => o -> m IconView Source #
Methods
convertWidgetToBinWindowCoords
iconViewConvertWidgetToBinWindowCoords Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m (Int32, Int32) |
Converts widget coordinates to coordinates for the bin_window,
as expected by e.g. iconViewGetPathAtPos
.
Since: 2.12
createDragIcon
iconViewCreateDragIcon Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m Surface | Returns: a newly-allocated surface of the drag icon. |
Creates a Surface
representation of the item at path
.
This image is used for a drag icon.
Since: 2.8
enableModelDragDest
iconViewEnableModelDragDest Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> [TargetEntry] |
|
-> [DragAction] |
|
-> m () |
enableModelDragSource
iconViewEnableModelDragSource Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> [ModifierType] |
|
-> [TargetEntry] |
|
-> [DragAction] |
|
-> m () |
getActivateOnSingleClick
iconViewGetActivateOnSingleClick Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Bool | Returns: |
Gets the setting set by iconViewSetActivateOnSingleClick
.
Since: 3.8
getCellRect
Arguments
:: (HasCallStack, MonadIO m, IsIconView a, IsCellRenderer b) | |
=> a |
|
-> TreePath |
|
-> Maybe b |
|
-> m (Bool, Rectangle) |
Fills the bounding rectangle in widget coordinates for the cell specified by
path
and cell
. If cell
is Nothing
the main cell area is used.
This function is only valid if iconView
is realized.
Since: 3.6
getColumnSpacing
iconViewGetColumnSpacing Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the space between columns |
Returns the value of the ::column-spacing property.
Since: 2.6
getColumns
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the number of columns, or -1 |
Returns the value of the ::columns property.
Since: 2.6
getCursor
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m (Bool, TreePath, CellRenderer) | Returns: |
Fills in path
and cell
with the current cursor path and cell.
If the cursor isn’t currently set, then *path
will be Nothing
.
If no cell currently has focus, then *cell
will be Nothing
.
The returned TreePath
must be freed with treePathFree
.
Since: 2.8
getDestItemAtPos
iconViewGetDestItemAtPos Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m (Bool, TreePath, IconViewDropPosition) | Returns: whether there is an item at the given position. |
Determines the destination item for a given position.
Since: 2.8
getDragDestItem
iconViewGetDragDestItem Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m (TreePath, IconViewDropPosition) |
Gets information about the item that is highlighted for feedback.
Since: 2.8
getItemAtPos
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m (Bool, TreePath, CellRenderer) | Returns: |
Finds the path at the point (x
, y
), relative to bin_window coordinates.
In contrast to iconViewGetPathAtPos
, this function also
obtains the cell at the specified position. The returned path should
be freed with treePathFree
.
See iconViewConvertWidgetToBinWindowCoords
for converting
widget coordinates to bin_window coordinates.
Since: 2.8
getItemColumn
iconViewGetItemColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m Int32 | Returns: The column in which the item is displayed |
Gets the column in which the item path
is currently
displayed. Column numbers start at 0.
Since: 2.22
getItemOrientation
iconViewGetItemOrientation Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Orientation | Returns: the relative position of texts and icons |
Returns the value of the ::item-orientation property which determines whether the labels are drawn beside the icons instead of below.
Since: 2.6
getItemPadding
iconViewGetItemPadding Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the padding around items |
Returns the value of the ::item-padding property.
Since: 2.18
getItemRow
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m Int32 | Returns: The row in which the item is displayed |
Gets the row in which the item path
is currently
displayed. Row numbers start at 0.
Since: 2.22
getItemWidth
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the width of a single item, or -1 |
Returns the value of the ::item-width property.
Since: 2.6
getMargin
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the space at the borders |
Returns the value of the ::margin property.
Since: 2.6
getMarkupColumn
iconViewGetMarkupColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the markup column, or -1 if it’s unset. |
Returns the column with markup text for iconView
.
Since: 2.6
getModel
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m (Maybe TreeModel) | Returns: A |
getPathAtPos
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> m (Maybe TreePath) | Returns: The |
Finds the path at the point (x
, y
), relative to bin_window coordinates.
See iconViewGetItemAtPos
, if you are also interested in
the cell at the specified position.
See iconViewConvertWidgetToBinWindowCoords
for converting
widget coordinates to bin_window coordinates.
Since: 2.6
getPixbufColumn
iconViewGetPixbufColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the pixbuf column, or -1 if it’s unset. |
Returns the column with pixbufs for iconView
.
Since: 2.6
getReorderable
iconViewGetReorderable Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Bool | Returns: |
Retrieves whether the user can reorder the list via drag-and-drop.
See iconViewSetReorderable
.
Since: 2.8
getRowSpacing
iconViewGetRowSpacing Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the space between rows |
Returns the value of the ::row-spacing property.
Since: 2.6
getSelectedItems
iconViewGetSelectedItems Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m [TreePath] | Returns: A |
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 GtkTreeRowReferences
.
To do this, you can use treeRowReferenceNew
.
To free the return value, use:
C code
g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
Since: 2.6
getSelectionMode
iconViewGetSelectionMode Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m SelectionMode | Returns: the current selection mode |
Gets the selection mode of the iconView
.
Since: 2.6
getSpacing
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the space between cells |
Returns the value of the ::spacing property.
Since: 2.6
getTextColumn
iconViewGetTextColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the text column, or -1 if it’s unset. |
Returns the column with text for iconView
.
Since: 2.6
getTooltipColumn
iconViewGetTooltipColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m Int32 | Returns: the index of the tooltip column that is currently being used, or -1 if this is disabled. |
Returns the column of iconView
’s model which is being used for
displaying tooltips on iconView
’s rows.
Since: 2.12
getTooltipContext
iconViewGetTooltipContext Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> Int32 |
|
-> Bool |
|
-> m (Bool, Int32, Int32, TreeModel, TreePath, TreeIter) | Returns: whether or not the given tooltip context points to a item |
This function is supposed to be used in a Widget
::query-tooltip
signal handler for IconView
. The x
, y
and keyboardTip
values
which are received in the signal handler, should be passed to this
function without modification.
The return value indicates whether there is an icon view item at the given
coordinates (True
) or not (False
) for mouse tooltips. For keyboard
tooltips the item returned will be the cursor item. When True
, then any of
model
, path
and iter
which have been provided will be set to point to
that row and the corresponding model. x
and y
will always be converted
to be relative to iconView
’s bin_window if keyboardTooltip
is False
.
Since: 2.12
getVisibleRange
iconViewGetVisibleRange Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m (Bool, TreePath, TreePath) | Returns: |
Sets startPath
and endPath
to be the first and last visible path.
Note that there may be invisible paths in between.
Both paths should be freed with treePathFree
after use.
Since: 2.8
itemActivated
iconViewItemActivated Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m () |
Activates the item determined by path
.
Since: 2.6
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m IconView | Returns: A newly created |
Creates a new IconView
widget
Since: 2.6
newWithArea
Arguments
:: (HasCallStack, MonadIO m, IsCellArea a) | |
=> a |
|
-> m IconView | Returns: A newly created |
Creates a new IconView
widget using the
specified area
to layout cells inside the icons.
Since: 3.0
newWithModel
Arguments
:: (HasCallStack, MonadIO m, IsTreeModel a) | |
=> a |
|
-> m IconView | Returns: A newly created |
Creates a new IconView
widget with the model model
.
Since: 2.6
pathIsSelected
iconViewPathIsSelected Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m Bool | Returns: |
scrollToPath
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> Bool |
|
-> Float |
|
-> Float |
|
-> m () |
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.
Since: 2.8
selectAll
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m () |
Selects all the icons. iconView
must has its selection mode set
to GTK_SELECTION_MULTIPLE
.
Since: 2.6
selectPath
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m () |
Selects the row at path
.
Since: 2.6
selectedForeach
iconViewSelectedForeach Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> IconViewForeachFunc |
|
-> m () |
Calls a function for each selected icon. Note that the model or selection cannot be modified from within this function.
Since: 2.6
setActivateOnSingleClick
iconViewSetActivateOnSingleClick Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Bool |
|
-> m () |
Causes the IconView
::item-activated
signal to be emitted on
a single click instead of a double click.
Since: 3.8
setColumnSpacing
iconViewSetColumnSpacing Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the ::column-spacing property which specifies the space which is inserted between the columns of the icon view.
Since: 2.6
setColumns
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
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.
Since: 2.6
setCursor
Arguments
:: (HasCallStack, MonadIO m, IsIconView a, IsCellRenderer b) | |
=> a |
|
-> TreePath |
|
-> Maybe b |
|
-> Bool |
|
-> m () |
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 cell
is not Nothing
, 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 gtk_widget_grab_focus
(icon_view)
in order to give keyboard focus to the widget.
Please note that editing can only happen when the widget is realized.
Since: 2.8
setDragDestItem
iconViewSetDragDestItem Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Maybe TreePath |
|
-> IconViewDropPosition |
|
-> m () |
Sets the item that is highlighted for feedback.
Since: 2.8
setItemOrientation
iconViewSetItemOrientation Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Orientation |
|
-> m () |
Sets the ::item-orientation property which determines whether the labels are drawn beside the icons instead of below.
Since: 2.6
setItemPadding
iconViewSetItemPadding Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the IconView
:item-padding
property which specifies the padding
around each of the icon view’s items.
Since: 2.18
setItemWidth
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
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.
Since: 2.6
setMargin
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the ::margin property which specifies the space which is inserted at the top, bottom, left and right of the icon view.
Since: 2.6
setMarkupColumn
iconViewSetMarkupColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the column with markup information for iconView
to be
column
. The markup column must be of type G_TYPE_STRING
.
If the markup column is set to something, it overrides
the text column set by iconViewSetTextColumn
.
Since: 2.6
setModel
Arguments
:: (HasCallStack, MonadIO m, IsIconView a, IsTreeModel b) | |
=> a |
|
-> Maybe b |
|
-> m () |
setPixbufColumn
iconViewSetPixbufColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the column with pixbufs for iconView
to be column
. The pixbuf
column must be of type GDK_TYPE_PIXBUF
Since: 2.6
setReorderable
iconViewSetReorderable Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Bool |
|
-> m () |
This function is a convenience function to allow you to reorder models that
support the TreeDragSourceIface
and the TreeDragDestIface
. Both
TreeStore
and ListStore
support these. If reorderable
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
row_inserted and row_deleted signals. The reordering is implemented by setting up
the icon view as a drag source and destination. Therefore, drag and
drop can not be used in a reorderable view for any other purpose.
This function does not give you any degree of control over the order -- any reordering is allowed. If more control is needed, you should probably handle drag and drop manually.
Since: 2.8
setRowSpacing
iconViewSetRowSpacing Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the ::row-spacing property which specifies the space which is inserted between the rows of the icon view.
Since: 2.6
setSelectionMode
iconViewSetSelectionMode Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> SelectionMode |
|
-> m () |
Sets the selection mode of the iconView
.
Since: 2.6
setSpacing
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the ::spacing property which specifies the space which is inserted between the cells (i.e. the icon and the text) of an item.
Since: 2.6
setTextColumn
iconViewSetTextColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the column with text for iconView
to be column
. The text
column must be of type G_TYPE_STRING
.
Since: 2.6
setTooltipCell
iconViewSetTooltipCell Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a, IsTooltip b, IsCellRenderer c) | |
=> a |
|
-> b |
|
-> TreePath |
|
-> Maybe c |
|
-> m () |
Sets the tip area of tooltip
to the area which cell
occupies in
the item pointed to by path
. See also tooltipSetTipArea
.
See also iconViewSetTooltipColumn
for a simpler alternative.
Since: 2.12
setTooltipColumn
iconViewSetTooltipColumn Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> Int32 |
|
-> m () |
If you only plan to have simple (text-only) tooltips on full items, you
can use this function to have IconView
handle these automatically
for you. column
should be set to the column in iconView
’s model
containing the tooltip texts, or -1 to disable this feature.
When enabled, Widget
:has-tooltip
will be set to True
and
iconView
will connect a Widget
::query-tooltip
signal handler.
Note that the signal handler sets the text with tooltipSetMarkup
,
so &, <, etc have to be escaped in the text.
Since: 2.12
setTooltipItem
iconViewSetTooltipItem Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a, IsTooltip b) | |
=> a |
|
-> b |
|
-> TreePath |
|
-> m () |
Sets the tip area of tooltip
to be the area covered by the item at path
.
See also iconViewSetTooltipColumn
for a simpler alternative.
See also tooltipSetTipArea
.
Since: 2.12
unselectAll
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m () |
Unselects all the icons.
Since: 2.6
unselectPath
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> TreePath |
|
-> m () |
Unselects the row at path
.
Since: 2.6
unsetModelDragDest
iconViewUnsetModelDragDest Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m () |
Undoes the effect of iconViewEnableModelDragDest
. Calling this
method sets IconView
:reorderable
to False
.
Since: 2.8
unsetModelDragSource
iconViewUnsetModelDragSource Source #
Arguments
:: (HasCallStack, MonadIO m, IsIconView a) | |
=> a |
|
-> m () |
Undoes the effect of iconViewEnableModelDragSource
. Calling this
method sets IconView
:reorderable
to False
.
Since: 2.8
Properties
activateOnSingleClick
constructIconViewActivateOnSingleClick :: IsIconView o => Bool -> IO (GValueConstruct o) Source #
getIconViewActivateOnSingleClick :: (MonadIO m, IsIconView o) => o -> m Bool Source #
setIconViewActivateOnSingleClick :: (MonadIO m, IsIconView o) => o -> Bool -> m () Source #
cellArea
constructIconViewCellArea :: (IsIconView o, IsCellArea a) => a -> IO (GValueConstruct o) Source #
getIconViewCellArea :: (MonadIO m, IsIconView o) => o -> m (Maybe CellArea) Source #
columnSpacing
constructIconViewColumnSpacing :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewColumnSpacing :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewColumnSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
columns
constructIconViewColumns :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewColumns :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewColumns :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
itemOrientation
constructIconViewItemOrientation :: IsIconView o => Orientation -> IO (GValueConstruct o) Source #
getIconViewItemOrientation :: (MonadIO m, IsIconView o) => o -> m Orientation Source #
setIconViewItemOrientation :: (MonadIO m, IsIconView o) => o -> Orientation -> m () Source #
itemPadding
constructIconViewItemPadding :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewItemPadding :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewItemPadding :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
itemWidth
constructIconViewItemWidth :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewItemWidth :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewItemWidth :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
margin
constructIconViewMargin :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewMargin :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewMargin :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
markupColumn
constructIconViewMarkupColumn :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewMarkupColumn :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewMarkupColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
model
clearIconViewModel :: (MonadIO m, IsIconView o) => o -> m () Source #
constructIconViewModel :: (IsIconView o, IsTreeModel a) => a -> IO (GValueConstruct o) Source #
getIconViewModel :: (MonadIO m, IsIconView o) => o -> m (Maybe TreeModel) Source #
setIconViewModel :: (MonadIO m, IsIconView o, IsTreeModel a) => o -> a -> m () Source #
pixbufColumn
constructIconViewPixbufColumn :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewPixbufColumn :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewPixbufColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
reorderable
constructIconViewReorderable :: IsIconView o => Bool -> IO (GValueConstruct o) Source #
getIconViewReorderable :: (MonadIO m, IsIconView o) => o -> m Bool Source #
setIconViewReorderable :: (MonadIO m, IsIconView o) => o -> Bool -> m () Source #
rowSpacing
constructIconViewRowSpacing :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewRowSpacing :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewRowSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
selectionMode
constructIconViewSelectionMode :: IsIconView o => SelectionMode -> IO (GValueConstruct o) Source #
getIconViewSelectionMode :: (MonadIO m, IsIconView o) => o -> m SelectionMode Source #
setIconViewSelectionMode :: (MonadIO m, IsIconView o) => o -> SelectionMode -> m () Source #
spacing
constructIconViewSpacing :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewSpacing :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewSpacing :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
textColumn
constructIconViewTextColumn :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewTextColumn :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewTextColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
tooltipColumn
constructIconViewTooltipColumn :: IsIconView o => Int32 -> IO (GValueConstruct o) Source #
getIconViewTooltipColumn :: (MonadIO m, IsIconView o) => o -> m Int32 Source #
setIconViewTooltipColumn :: (MonadIO m, IsIconView o) => o -> Int32 -> m () Source #
Signals
activateCursorItem
afterIconViewActivateCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewActivateCursorItemCallback -> m SignalHandlerId Source #
mk_IconViewActivateCursorItemCallback :: C_IconViewActivateCursorItemCallback -> IO (FunPtr C_IconViewActivateCursorItemCallback) Source #
onIconViewActivateCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewActivateCursorItemCallback -> m SignalHandlerId Source #
wrap_IconViewActivateCursorItemCallback :: IconViewActivateCursorItemCallback -> Ptr () -> Ptr () -> IO CInt Source #
itemActivated
type IconViewItemActivatedCallback = TreePath -> IO () Source #
afterIconViewItemActivated :: (IsIconView a, MonadIO m) => a -> IconViewItemActivatedCallback -> m SignalHandlerId Source #
mk_IconViewItemActivatedCallback :: C_IconViewItemActivatedCallback -> IO (FunPtr C_IconViewItemActivatedCallback) Source #
onIconViewItemActivated :: (IsIconView a, MonadIO m) => a -> IconViewItemActivatedCallback -> m SignalHandlerId Source #
wrap_IconViewItemActivatedCallback :: IconViewItemActivatedCallback -> Ptr () -> Ptr TreePath -> Ptr () -> IO () Source #
moveCursor
type IconViewMoveCursorCallback = MovementStep -> Int32 -> IO Bool Source #
afterIconViewMoveCursor :: (IsIconView a, MonadIO m) => a -> IconViewMoveCursorCallback -> m SignalHandlerId Source #
mk_IconViewMoveCursorCallback :: C_IconViewMoveCursorCallback -> IO (FunPtr C_IconViewMoveCursorCallback) Source #
onIconViewMoveCursor :: (IsIconView a, MonadIO m) => a -> IconViewMoveCursorCallback -> m SignalHandlerId Source #
wrap_IconViewMoveCursorCallback :: IconViewMoveCursorCallback -> Ptr () -> CUInt -> Int32 -> Ptr () -> IO CInt Source #
selectAll
type IconViewSelectAllCallback = IO () Source #
afterIconViewSelectAll :: (IsIconView a, MonadIO m) => a -> IconViewSelectAllCallback -> m SignalHandlerId Source #
mk_IconViewSelectAllCallback :: C_IconViewSelectAllCallback -> IO (FunPtr C_IconViewSelectAllCallback) Source #
onIconViewSelectAll :: (IsIconView a, MonadIO m) => a -> IconViewSelectAllCallback -> m SignalHandlerId Source #
wrap_IconViewSelectAllCallback :: IconViewSelectAllCallback -> Ptr () -> Ptr () -> IO () Source #
selectCursorItem
type IconViewSelectCursorItemCallback = IO () Source #
afterIconViewSelectCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewSelectCursorItemCallback -> m SignalHandlerId Source #
mk_IconViewSelectCursorItemCallback :: C_IconViewSelectCursorItemCallback -> IO (FunPtr C_IconViewSelectCursorItemCallback) Source #
onIconViewSelectCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewSelectCursorItemCallback -> m SignalHandlerId Source #
wrap_IconViewSelectCursorItemCallback :: IconViewSelectCursorItemCallback -> Ptr () -> Ptr () -> IO () Source #
selectionChanged
type IconViewSelectionChangedCallback = IO () Source #
afterIconViewSelectionChanged :: (IsIconView a, MonadIO m) => a -> IconViewSelectionChangedCallback -> m SignalHandlerId Source #
mk_IconViewSelectionChangedCallback :: C_IconViewSelectionChangedCallback -> IO (FunPtr C_IconViewSelectionChangedCallback) Source #
onIconViewSelectionChanged :: (IsIconView a, MonadIO m) => a -> IconViewSelectionChangedCallback -> m SignalHandlerId Source #
wrap_IconViewSelectionChangedCallback :: IconViewSelectionChangedCallback -> Ptr () -> Ptr () -> IO () Source #
toggleCursorItem
type IconViewToggleCursorItemCallback = IO () Source #
afterIconViewToggleCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewToggleCursorItemCallback -> m SignalHandlerId Source #
mk_IconViewToggleCursorItemCallback :: C_IconViewToggleCursorItemCallback -> IO (FunPtr C_IconViewToggleCursorItemCallback) Source #
onIconViewToggleCursorItem :: (IsIconView a, MonadIO m) => a -> IconViewToggleCursorItemCallback -> m SignalHandlerId Source #
wrap_IconViewToggleCursorItemCallback :: IconViewToggleCursorItemCallback -> Ptr () -> Ptr () -> IO () Source #
unselectAll
type IconViewUnselectAllCallback = IO () Source #
afterIconViewUnselectAll :: (IsIconView a, MonadIO m) => a -> IconViewUnselectAllCallback -> m SignalHandlerId Source #
mk_IconViewUnselectAllCallback :: C_IconViewUnselectAllCallback -> IO (FunPtr C_IconViewUnselectAllCallback) Source #
onIconViewUnselectAll :: (IsIconView a, MonadIO m) => a -> IconViewUnselectAllCallback -> m SignalHandlerId Source #
wrap_IconViewUnselectAllCallback :: IconViewUnselectAllCallback -> Ptr () -> Ptr () -> IO () Source #