IconView

class IconView(iconViewPointer: GtkIconView_autoptr) : Widget, CellLayout, Scrollable

26 / 12 / 2021

See also

Constructors

IconView
Link copied to clipboard
fun IconView()
IconView
Link copied to clipboard
fun IconView(area: CellArea)
IconView
Link copied to clipboard
fun IconView(model: TreeModel)
IconView
Link copied to clipboard
fun IconView(iconViewPointer: GtkIconView_autoptr)

Types

Companion
Link copied to clipboard
object Companion
DropPosition
Link copied to clipboard
enum DropPosition : Enum<IconView.DropPosition>
IconViewCursor
Link copied to clipboard
data class IconViewCursor(path: TreePath?, cell: CellRenderer?)
IconViewDestinationItem
Link copied to clipboard
data class IconViewDestinationItem(path: TreePath?, pos: IconView.DropPosition)
IconViewItem
Link copied to clipboard
data class IconViewItem(path: TreePath?, cell: CellRenderer?)
TipContext
Link copied to clipboard
data class TipContext(model: TreeModel, path: TreePath, iter: TreeIter)
VisibleRange
Link copied to clipboard
data class VisibleRange(startPath: TreePath, endPath: TreePath)

Functions

actionSetEnabled
Link copied to clipboard
fun actionSetEnabled(action: String, enabled: Boolean)
activate
Link copied to clipboard
fun activate(): Boolean
activateAction
Link copied to clipboard
fun activateAction(name: String, formatString: String?): Boolean
activateActionVariant
Link copied to clipboard
fun activateActionVariant(name: String, vararg args: Variant): Boolean
activateDefault
Link copied to clipboard
fun activateDefault()
addAttribute
Link copied to clipboard
open fun addAttribute(cell: CellRenderer, attribute: String, column: Int)
addController
Link copied to clipboard
fun addController(controller: EventController)
addCSSClass
Link copied to clipboard
fun addCSSClass(cssClass: String)
addMnemonicLabel
Link copied to clipboard
fun addMnemonicLabel(label: Widget)
addOnActivateCursorItemCallback
Link copied to clipboard
addOnDestroyCallback
Link copied to clipboard
fun addOnDestroyCallback(action: Widget.() -> Unit): SignalManager
addOnDirectionChangedCallback
Link copied to clipboard
fun addOnDirectionChangedCallback(action: Widget.(TextDirection) -> Unit): SignalManager
addOnHideCallback
Link copied to clipboard
fun addOnHideCallback(action: Widget.() -> Unit): SignalManager
addOnItemActivatedCallback
Link copied to clipboard
fun addOnItemActivatedCallback(action: IconViewItemActivatedFunc): SignalManager
addOnKeynavFailedCallback
Link copied to clipboard
fun addOnKeynavFailedCallback(action: KeynavFailedFunction): SignalManager
addOnMapCallback
Link copied to clipboard
fun addOnMapCallback(action: MapFunction): SignalManager
addOnMnemonicActivateCallback
Link copied to clipboard
addOnMoveCursorCallback
Link copied to clipboard
fun addOnMoveCursorCallback(action: IconViewMoveCursorFunc): SignalManager
addOnMoveFocusCallback
Link copied to clipboard
fun addOnMoveFocusCallback(action: WidgetMoveFocusFunction): SignalManager
addOnRealizeCallback
Link copied to clipboard
fun addOnRealizeCallback(action: Widget.() -> Unit): SignalManager
addOnSelectAllCallback
Link copied to clipboard
fun addOnSelectAllCallback(action: TypedNoArgFunc<IconView>): SignalManager
addOnSelectCursorItemCallback
Link copied to clipboard
fun addOnSelectCursorItemCallback(action: TypedNoArgFunc<IconView>): SignalManager
addOnSelectionChangedCallback
Link copied to clipboard
fun addOnSelectionChangedCallback(action: TypedNoArgFunc<IconView>): SignalManager
addOnShowCallback
Link copied to clipboard
fun addOnShowCallback(action: Widget.() -> Unit): SignalManager
addOnStateFlagsChangedCallback
Link copied to clipboard
fun addOnStateFlagsChangedCallback(action: Widget.(GtkStateFlags) -> Unit): SignalManager
addOnToggleCursorItemCallback
Link copied to clipboard
fun addOnToggleCursorItemCallback(action: TypedNoArgFunc<IconView>): SignalManager
addOnUnmapCallback
Link copied to clipboard
fun addOnUnmapCallback(action: Widget.() -> Unit): SignalManager
addOnUnrealizeCallback
Link copied to clipboard
fun addOnUnrealizeCallback(action: Widget.() -> Unit): SignalManager
addOnUnselectAllCallback
Link copied to clipboard
fun addOnUnselectAllCallback(action: TypedNoArgFunc<IconView>): SignalManager
addTickCallback
Link copied to clipboard
fun addTickCallback(callback: TickCallback): UInt
addWeakPointer
Link copied to clipboard
fun addWeakPointer(weakPointerLocation: CValuesRef<COpaquePointerVar>)
allocate
Link copied to clipboard
fun allocate(width: Int, height: Int, baseline: Int = -1, transform: Transform? = null)
bindProperty
Link copied to clipboard
fun bindProperty(property: String, target: KGObject, targetProperty: String, flags: Binding.Flags): Binding
childFocus
Link copied to clipboard
fun childFocus(direction: DirectionType)
clear
Link copied to clipboard
open fun clear()
clearAttributes
Link copied to clipboard
open fun clearAttributes(cell: CellRenderer)
computeBounds
Link copied to clipboard
fun computeBounds(target: Widget): Rect?
computeExpand
Link copied to clipboard
fun computeExpand(orientation: Orientation): Boolean
computePoint
Link copied to clipboard
fun computePoint(target: Widget, point: Point): Point?
computeTransform
Link copied to clipboard
fun computeTransform(target: Widget): Matrix?
contains
Link copied to clipboard
fun contains(x: Double, y: Double): Boolean
createDragIcon
Link copied to clipboard
fun createDragIcon(path: TreePath): Paintable
createPangoContext
Link copied to clipboard
fun createPangoContext(): Context
createPangoLayout
Link copied to clipboard
fun createPangoLayout(text: String? = null): Layout
dragCheckThreshold
Link copied to clipboard
fun dragCheckThreshold(startX: Int, startY: Int, currentX: Int, currentY: Int): Boolean
enableModelDragDest
Link copied to clipboard
fun enableModelDragDest(formats: ContentFormats, actions: GdkDragAction)
enableModelDragSource
Link copied to clipboard
fun enableModelDragSource(startButtonMask: GdkModifierType, formats: ContentFormats, actions: GdkDragAction)
errorBell
Link copied to clipboard
fun errorBell()
getAncestor
Link copied to clipboard
fun getAncestor(type: GType): Widget?
getCellRect
Link copied to clipboard
fun getCellRect(path: TreePath, cell: CellRenderer): Rectangle
getDestItemAtPos
Link copied to clipboard
fun getDestItemAtPos(dragX: Int, dragY: Int): IconView.IconViewDestinationItem
getItemAtPos
Link copied to clipboard
fun getItemAtPos(x: Int, y: Int): IconView.IconViewItem?
getItemColumn
Link copied to clipboard
fun getItemColumn(path: TreePath): Int
getItemRow
Link copied to clipboard
fun getItemRow(path: TreePath): Int
getPathAtPos
Link copied to clipboard
fun getPathAtPos(x: Int, y: Int): TreePath?
getSize
Link copied to clipboard
fun getSize(orientation: Orientation): Int
getString
Link copied to clipboard
fun getString(propertyName: String): String
getTemplateChild
Link copied to clipboard
fun getTemplateChild(widget: KGType, name: String): KGObject
getTooltipContext
Link copied to clipboard
fun getTooltipContext(x: Int, y: Int, keyboardTip: Boolean): IconView.TipContext?
grabFocus
Link copied to clipboard
fun grabFocus(): Boolean
hasCssClass
Link copied to clipboard
fun hasCssClass(cssClass: String): Boolean
hide
Link copied to clipboard
fun hide()
initTemplate
Link copied to clipboard
fun initTemplate()
insertActionGroup
Link copied to clipboard
fun insertActionGroup(name: String, group: ActionGroup)
insertAfter
Link copied to clipboard
fun insertAfter(widget: Widget, previousSibling: Widget)
insertBefore
Link copied to clipboard
fun insertBefore(widget: Widget, nextSibling: Widget)
isAncestor
Link copied to clipboard
fun isAncestor(widget: Widget): Boolean
isInAncestor
Link copied to clipboard
fun isInAncestor(ancestor: Widget): Boolean
isPathSelected
Link copied to clipboard
fun isPathSelected(path: TreePath): Boolean
itemActivated
Link copied to clipboard
fun itemActivated(path: TreePath)
keynavFailed
Link copied to clipboard
fun keynavFailed(direction: DirectionType): Boolean
map
Link copied to clipboard
fun map()
measure
Link copied to clipboard
fun measure(orientation: Orientation, forSize: Int): LayoutManager.MeasureResult
mnemonicActivate
Link copied to clipboard
fun mnemonicActivate(groupCycling: Boolean): Boolean
packEnd
Link copied to clipboard
open fun packEnd(cell: CellRenderer, expand: Boolean)
packStart
Link copied to clipboard
open fun packStart(cell: CellRenderer, expand: Boolean)
pick
Link copied to clipboard
fun pick(x: Double, y: Double, pickFlags: UInt): Widget?
queueAllocate
Link copied to clipboard
fun queueAllocate()
queueDraw
Link copied to clipboard
fun queueDraw()
queueResize
Link copied to clipboard
fun queueResize()
realize
Link copied to clipboard
fun realize()
ref
Link copied to clipboard
open fun ref(): KGObject
removeController
Link copied to clipboard
fun removeController(controller: EventController)
removeCssClass
Link copied to clipboard
fun removeCssClass(cssClass: String)
removeMnemonicLabel
Link copied to clipboard
fun removeMnemonicLabel(label: Widget)
removeTickCallback
Link copied to clipboard
fun removeTickCallback(id: UInt)
reorder
Link copied to clipboard
open fun reorder(cell: CellRenderer, position: Int)
scrollToPath
Link copied to clipboard
fun scrollToPath(path: TreePath, useAlign: Boolean, rowAlign: Float, colAlign: Float)
selectAll
Link copied to clipboard
fun selectAll()
selectedForeach
Link copied to clipboard
fun selectedForeach(func: IconViewForEachFunc)
selectPath
Link copied to clipboard
fun selectPath(path: TreePath)
set
Link copied to clipboard
fun set(propertyName: String, boolean: Boolean)
fun set(propertyName: String, string: String)
setCellDataFunc
Link copied to clipboard
open fun setCellDataFunc(renderer: CellRenderer, function: CellLayoutDataFunc?)
setCursor
Link copied to clipboard
fun setCursor(path: TreePath, cell: CellRenderer?, startEditing: Boolean)
setCursorFromName
Link copied to clipboard
fun setCursorFromName(name: String)
setDragDestItem
Link copied to clipboard
fun setDragDestItem(path: TreePath?, pos: IconView.DropPosition)
setQueryTooltipCallback
Link copied to clipboard
fun setQueryTooltipCallback(action: QueryTooltipFunction): SignalManager
setStateFlags
Link copied to clipboard
fun setStateFlags(flags: GtkStateFlags, clear: Boolean)
setTooltipItem
Link copied to clipboard
fun setTooltipItem(tooltip: Tooltip, path: TreePath)
show
Link copied to clipboard
fun show()
sizeAllocate
Link copied to clipboard
fun sizeAllocate(allocation: Allocation, baseline: Int)
snapshotChild
Link copied to clipboard
fun snapshotChild(child: Widget, snapshot: Snapshot)
translateCoordinates
Link copied to clipboard
fun translateCoordinates(destination: Widget, srcX: Double, srcY: Double): Pair<Double, Double>?
triggerTooltipQuery
Link copied to clipboard
fun triggerTooltipQuery()
unmap
Link copied to clipboard
fun unmap()
unparent
Link copied to clipboard
fun unparent()
unrealize
Link copied to clipboard
fun unrealize()
unref
Link copied to clipboard
open override fun unref()
unselectAll
Link copied to clipboard
fun unselectAll()
unselectPath
Link copied to clipboard
fun unselectPath(path: TreePath)
unsetModelDragDest
Link copied to clipboard
fun unsetModelDragDest()
unsetModelDragSource
Link copied to clipboard
fun unsetModelDragSource()
unsetStateFlags
Link copied to clipboard
fun unsetStateFlags(flags: GtkStateFlags)

Properties

accessiblePointer
Link copied to clipboard
open override val accessiblePointer: CPointer<GtkAccessible>
activateOnSingleClick
Link copied to clipboard
var activateOnSingleClick: Boolean
allocatedBaseline
Link copied to clipboard
val allocatedBaseline: Int
allocatedHeight
Link copied to clipboard
val allocatedHeight: Int
allocatedWidth
Link copied to clipboard
val allocatedWidth: Int
allocation
Link copied to clipboard
val allocation: Allocation
area
Link copied to clipboard
open val area: CellArea?
border
Link copied to clipboard
open val border: Border
buildablePointer
Link copied to clipboard
open override val buildablePointer: GtkBuildable_autoptr
canFocus
Link copied to clipboard
var canFocus: Boolean
canTarget
Link copied to clipboard
var canTarget: Boolean
cellLayoutHolder
Link copied to clipboard
open override val cellLayoutHolder: CPointer<GtkCellLayout>
cells
Link copied to clipboard
open val cells: WrappedKList<CellRenderer>
clipboard
Link copied to clipboard
val clipboard: Clipboard
columns
Link copied to clipboard
var columns: Int
columnSpacing
Link copied to clipboard
var columnSpacing: Int
constraintTargetPointer
Link copied to clipboard
open override val constraintTargetPointer: CPointer<GtkConstraintTarget>
cssClasses
Link copied to clipboard
var cssClasses: Array<String>
cssName
Link copied to clipboard
val cssName: String
cursor
Link copied to clipboard
var cursor: Cursor?
direction
Link copied to clipboard
var direction: TextDirection
display
Link copied to clipboard
val display: Display
dragDestItem
Link copied to clipboard
val dragDestItem: IconView.IconViewDestinationItem
firstChild
Link copied to clipboard
val firstChild: Widget?
focusable
Link copied to clipboard
var focusable: Boolean
focusChild
Link copied to clipboard
var focusChild: Widget?
focusOnClick
Link copied to clipboard
var focusOnClick: Boolean
fontMap
Link copied to clipboard
var fontMap: FontMap?
fontOptions
Link copied to clipboard
var fontOptions: FontOptions?
frameClock
Link copied to clipboard
val frameClock: FrameClock?
gClass
Link copied to clipboard
open val gClass: TypeClass
hasDefault
Link copied to clipboard
val hasDefault: Boolean
hasFocus
Link copied to clipboard
val hasFocus: Boolean
hasTooltip
Link copied to clipboard
var hasTooltip: Boolean
hasVisibleFocus
Link copied to clipboard
val hasVisibleFocus: Boolean
height
Link copied to clipboard
val height: Int
horizontalAlign
Link copied to clipboard
var horizontalAlign: Align
horizontalExpand
Link copied to clipboard
var horizontalExpand: Boolean
horizontalExpandSet
Link copied to clipboard
var horizontalExpandSet: Boolean
horizontalScrollPolicy
Link copied to clipboard
open var horizontalScrollPolicy: Scrollable.Policy
iconViewCursor
Link copied to clipboard
val iconViewCursor: IconView.IconViewCursor
iconViewPointer
Link copied to clipboard
val iconViewPointer: GtkIconView_autoptr
isChildVisible
Link copied to clipboard
var isChildVisible: Boolean
isDrawable
Link copied to clipboard
val isDrawable: Boolean
isFocus
Link copied to clipboard
val isFocus: Boolean
isInDestruction
Link copied to clipboard
val isInDestruction: Boolean
isSensitive
Link copied to clipboard
val isSensitive: Boolean
isVisible
Link copied to clipboard
val isVisible: Boolean
itemOrientation
Link copied to clipboard
var itemOrientation: Orientation
itemPadding
Link copied to clipboard
var itemPadding: Int
itemWidth
Link copied to clipboard
var itemWidth: Int
lastChild
Link copied to clipboard
val lastChild: Widget?
layoutManager
Link copied to clipboard
var layoutManager: LayoutManager?
mapped
Link copied to clipboard
val mapped: Boolean
margin
Link copied to clipboard
var margin: Int
marginBottom
Link copied to clipboard
var marginBottom: Int
marginEnd
Link copied to clipboard
var marginEnd: Int
marginStart
Link copied to clipboard
var marginStart: Int
marginTop
Link copied to clipboard
var marginTop: Int
markupColumn
Link copied to clipboard
var markupColumn: Int
mnemonicLabels
Link copied to clipboard
val mnemonicLabels: WrappedKList<Widget>
model
Link copied to clipboard
var model: TreeModel?
name
Link copied to clipboard
var name: String?
native
Link copied to clipboard
val native: Native?
nextSibling
Link copied to clipboard
val nextSibling: Widget?
opacity
Link copied to clipboard
var opacity: Double
overflow
Link copied to clipboard
var overflow: Overflow
pangoContext
Link copied to clipboard
val pangoContext: Context
parent
Link copied to clipboard
var parent: Widget?
pixbufColumn
Link copied to clipboard
var pixbufColumn: Int
pointer
Link copied to clipboard
val pointer: CPointer<GObject>
preferredSize
Link copied to clipboard
val preferredSize: PreferredSize
prevSibling
Link copied to clipboard
val prevSibling: Widget?
primaryClipboard
Link copied to clipboard
val primaryClipboard: Clipboard
realized
Link copied to clipboard
val realized: Boolean
receivesDefault
Link copied to clipboard
var receivesDefault: Boolean
reorderable
Link copied to clipboard
var reorderable: Boolean
requestMode
Link copied to clipboard
val requestMode: SizeRequestMode
root
Link copied to clipboard
val root: Root?
scaleFactor
Link copied to clipboard
val scaleFactor: Int
scrollableHorizontalAdjustment
Link copied to clipboard
open var scrollableHorizontalAdjustment: Adjustment
scrollablePointer
Link copied to clipboard
open override val scrollablePointer: CPointer<GtkScrollable>
scrollableVerticalAdjustment
Link copied to clipboard
open var scrollableVerticalAdjustment: Adjustment
selectedItems
Link copied to clipboard
val selectedItems: WrappedKList<TreePath>
selectionMode
Link copied to clipboard
var selectionMode: SelectionMode
sensitive
Link copied to clipboard
var sensitive: Boolean
settings
Link copied to clipboard
val settings: Settings
shouldLayout
Link copied to clipboard
val shouldLayout: Boolean
sizeRequest
Link copied to clipboard
var sizeRequest: Pair<Int, Int>
spacing
Link copied to clipboard
var spacing: Int
stateFlags
Link copied to clipboard
val stateFlags: GtkStateFlags
styleContext
Link copied to clipboard
val styleContext: StyleContext
textColumn
Link copied to clipboard
var textColumn: Int
tooltipColumn
Link copied to clipboard
var tooltipColumn: Int
tooltipMarkup
Link copied to clipboard
var tooltipMarkup: String?
tooltipText
Link copied to clipboard
var tooltipText: String?
typeInstancePointer
Link copied to clipboard
open override val typeInstancePointer: CPointer<GTypeInstance>
verticalAlign
Link copied to clipboard
var verticalAlign: Align
verticalExpand
Link copied to clipboard
var verticalExpand: Boolean
verticalExpandSet
Link copied to clipboard
var verticalExpandSet: Boolean
verticalScrollPolicy
Link copied to clipboard
open var verticalScrollPolicy: Scrollable.Policy
visible
Link copied to clipboard
var visible: Boolean
visibleRange
Link copied to clipboard
val visibleRange: IconView.VisibleRange?
widgetPointer
Link copied to clipboard
val widgetPointer: WidgetPointer
width
Link copied to clipboard
val width: Int