{-# LINE 2 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}-- -*-haskell-*--- GIMP Toolkit (GTK) TreeViewColumn TreeView---- Author : Axel Simon---- Created: 9 May 2001---- Copyright (C) 2001-2005 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 visible column in a 'TreeView' widget--moduleGraphics.UI.Gtk.ModelView.TreeViewColumn(-- * Detail---- | The 'TreeViewColumn' object represents a visible column in a 'TreeView'-- widget. It allows to set properties of the column header, and functions as a-- holding pen for the cell renderers which determine how the data in the-- column is displayed.---- * Class Hierarchy-- |-- @-- | 'GObject'-- | +----'Object'-- | +----TreeViewColumn-- @-- * TypesTreeViewColumn,TreeViewColumnClass,castToTreeViewColumn,gTypeTreeViewColumn,toTreeViewColumn,-- * ConstructorstreeViewColumnNew,-- * MethodstreeViewColumnPackStart,treeViewColumnPackEnd,treeViewColumnClear,treeViewColumnGetCellRenderers,treeViewColumnSetSpacing,treeViewColumnGetSpacing,treeViewColumnSetVisible,treeViewColumnGetVisible,treeViewColumnSetResizable,treeViewColumnGetResizable,TreeViewColumnSizing(..),treeViewColumnSetSizing,treeViewColumnGetSizing,treeViewColumnGetWidth,treeViewColumnSetFixedWidth,treeViewColumnGetFixedWidth,treeViewColumnSetMinWidth,treeViewColumnGetMinWidth,treeViewColumnSetMaxWidth,treeViewColumnGetMaxWidth,treeViewColumnClicked,treeViewColumnSetTitle,treeViewColumnGetTitle,treeViewColumnSetClickable,treeViewColumnGetClickable,treeViewColumnSetWidget,treeViewColumnGetWidget,treeViewColumnSetAlignment,treeViewColumnGetAlignment,treeViewColumnSetReorderable,treeViewColumnGetReorderable,treeViewColumnSetSortColumnId,treeViewColumnGetSortColumnId,treeViewColumnSetSortIndicator,treeViewColumnGetSortIndicator,treeViewColumnSetSortOrder,treeViewColumnGetSortOrder,SortType(..),treeViewColumnSetExpand,treeViewColumnGetExpand,treeViewColumnCellIsVisible,treeViewColumnFocusCell,treeViewColumnQueueResize,-- * AttributestreeViewColumnVisible,treeViewColumnResizable,treeViewColumnWidth,treeViewColumnSpacing,treeViewColumnSizing,treeViewColumnFixedWidth,treeViewColumnMinWidth,treeViewColumnMaxWidth,treeViewColumnTitle,treeViewColumnExpand,treeViewColumnClickable,treeViewColumnWidget,treeViewColumnAlignment,treeViewColumnReorderable,treeViewColumnSortIndicator,treeViewColumnSortOrder,treeViewColumnSortColumnId,-- * SignalsonColClicked,afterColClicked)whereimportControl.Monad(liftM)importSystem.Glib.FFIimportSystem.Glib.UTFStringimportSystem.Glib.GList(fromGList)importSystem.Glib.AttributesimportSystem.Glib.PropertiesimportGraphics.UI.Gtk.Abstract.Object(makeNewObject)importGraphics.UI.Gtk.Types{-# LINE 138 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}importGraphics.UI.Gtk.Signals{-# LINE 139 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}importGraphics.UI.Gtk.General.Enums(TreeViewColumnSizing(..),SortType(..))importGraphics.UI.Gtk.General.Structs(SortColumnId)importGraphics.UI.Gtk.ModelView.TreeModel(){-# LINE 145 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}---------------------- Constructors-- | Generate a new TreeViewColumn widget.--treeViewColumnNew::IOTreeViewColumntreeViewColumnNew=makeNewObjectmkTreeViewColumngtk_tree_view_column_new{-# LINE 154 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}---------------------- Methods-- | Add a cell renderer at the beginning of a column.---- * Excess space is divided equally among all renderers which have-- @expand@ set to True.--treeViewColumnPackStart::CellRendererClasscell=>TreeViewColumn->cell->Bool->IO()treeViewColumnPackStartselfcellexpand=(\(TreeViewColumnarg1)(CellRendererarg2)arg3->withForeignPtrarg1$\argPtr1->withForeignPtrarg2$\argPtr2->gtk_tree_view_column_pack_startargPtr1argPtr2arg3){-# LINE 170 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(toCellRenderercell)(fromBoolexpand)-- | Add a cell renderer at the end of a column.---- * Excess space is divided equally among all renderers which have-- @expand@ set to True.--treeViewColumnPackEnd::CellRendererClasscell=>TreeViewColumn->cell->Bool->IO()treeViewColumnPackEndselfcellexpand=(\(TreeViewColumnarg1)(CellRendererarg2)arg3->withForeignPtrarg1$\argPtr1->withForeignPtrarg2$\argPtr2->gtk_tree_view_column_pack_endargPtr1argPtr2arg3){-# LINE 185 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(toCellRenderercell)(fromBoolexpand)-- | Remove the associations of attributes to a store for all 'CellRenderer's.--treeViewColumnClear::TreeViewColumn->IO()treeViewColumnClearself=(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_clearargPtr1){-# LINE 194 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Retrieve all 'CellRenderer's that are contained in this column.--treeViewColumnGetCellRenderers::TreeViewColumn->IO[CellRenderer]treeViewColumnGetCellRenderersself=(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_cell_renderersargPtr1){-# LINE 201 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self>>=fromGList>>=mapM(makeNewObjectmkCellRenderer.return)-- | Set the number of pixels between two cell renderers.--treeViewColumnSetSpacing::TreeViewColumn->Int->IO()treeViewColumnSetSpacingselfspacing=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_spacingargPtr1arg2){-# LINE 210 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromIntegralspacing)-- | Get the number of pixels between two cell renderers.--treeViewColumnGetSpacing::TreeViewColumn->IOInttreeViewColumnGetSpacingself=liftMfromIntegral$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_spacingargPtr1){-# LINE 220 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set the visibility of a given column.--treeViewColumnSetVisible::TreeViewColumn->Bool->IO()treeViewColumnSetVisibleselfvisible=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_visibleargPtr1arg2){-# LINE 227 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromBoolvisible)-- | Get the visibility of a given column.--treeViewColumnGetVisible::TreeViewColumn->IOBooltreeViewColumnGetVisibleself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_visibleargPtr1){-# LINE 236 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set if a given column is resizable by the user.--treeViewColumnSetResizable::TreeViewColumn->Bool->IO()treeViewColumnSetResizableselfresizable=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_resizableargPtr1arg2){-# LINE 243 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromBoolresizable)-- | Get if a given column is resizable by the user.--treeViewColumnGetResizable::TreeViewColumn->IOBooltreeViewColumnGetResizableself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_resizableargPtr1){-# LINE 252 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set wether the column can be resized.--treeViewColumnSetSizing::TreeViewColumn->TreeViewColumnSizing->IO()treeViewColumnSetSizingselftype_=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_sizingargPtr1arg2){-# LINE 261 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self((fromIntegral.fromEnum)type_)-- | Return the resizing type of the column.--treeViewColumnGetSizing::TreeViewColumn->IOTreeViewColumnSizingtreeViewColumnGetSizingself=liftM(toEnum.fromIntegral)$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_sizingargPtr1){-# LINE 271 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Query the current width of the column.--treeViewColumnGetWidth::TreeViewColumn->IOInttreeViewColumnGetWidthself=liftMfromIntegral$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_widthargPtr1){-# LINE 279 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set the width of the column.---- * This is meaningful only if the sizing type is 'TreeViewColumnFixed'.--treeViewColumnSetFixedWidth::TreeViewColumn->Int->IO()treeViewColumnSetFixedWidthselffixedWidth=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_fixed_widthargPtr1arg2){-# LINE 288 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromIntegralfixedWidth)-- | Gets the fixed width of the column.---- * This is meaningful only if the sizing type is 'TreeViewColumnFixed'.---- * This value is only meaning may not be the actual width of the column on the-- screen, just what is requested.--treeViewColumnGetFixedWidth::TreeViewColumn->IOInttreeViewColumnGetFixedWidthself=liftMfromIntegral$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_fixed_widthargPtr1){-# LINE 302 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set minimum width of the column.--treeViewColumnSetMinWidth::TreeViewColumn->Int->IO()treeViewColumnSetMinWidthselfminWidth=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_min_widthargPtr1arg2){-# LINE 309 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromIntegralminWidth)-- | Get the minimum width of a column. Returns -1 if this width was not set.--treeViewColumnGetMinWidth::TreeViewColumn->IOInttreeViewColumnGetMinWidthself=liftMfromIntegral$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_min_widthargPtr1){-# LINE 318 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set maximum width of the column.--treeViewColumnSetMaxWidth::TreeViewColumn->Int->IO()treeViewColumnSetMaxWidthselfmaxWidth=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_max_widthargPtr1arg2){-# LINE 325 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromIntegralmaxWidth)-- | Get the maximum width of a column. Returns -1 if this width was not set.--treeViewColumnGetMaxWidth::TreeViewColumn->IOInttreeViewColumnGetMaxWidthself=liftMfromIntegral$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_max_widthargPtr1){-# LINE 334 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Emit the @clicked@ signal on the column.--treeViewColumnClicked::TreeViewColumn->IO()treeViewColumnClickedself=(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_clickedargPtr1){-# LINE 341 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set the widget's title if a custom widget has not been set.--treeViewColumnSetTitle::TreeViewColumn->String->IO()treeViewColumnSetTitleselftitle=withUTFStringtitle$\titlePtr->(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_titleargPtr1arg2){-# LINE 349 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}selftitlePtr-- | Get the widget's title.--treeViewColumnGetTitle::TreeViewColumn->IO(MaybeString)treeViewColumnGetTitleself=(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_titleargPtr1){-# LINE 357 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self>>=maybePeekpeekUTFString-- | Set if the column should be sensitive to mouse clicks.--treeViewColumnSetClickable::TreeViewColumn->Bool->IO()treeViewColumnSetClickableselfclickable=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_clickableargPtr1arg2){-# LINE 365 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromBoolclickable)-- | Returns True if the user can click on the header for the column.--treeViewColumnGetClickable::TreeViewColumn->IOBooltreeViewColumnGetClickableself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_clickableargPtr1){-# LINE 374 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set the column's title to this widget.--treeViewColumnSetWidget::WidgetClasswidget=>TreeViewColumn->Maybewidget->IO()treeViewColumnSetWidgetselfwidget=(\(TreeViewColumnarg1)(Widgetarg2)->withForeignPtrarg1$\argPtr1->withForeignPtrarg2$\argPtr2->gtk_tree_view_column_set_widgetargPtr1argPtr2){-# LINE 383 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(maybe(WidgetnullForeignPtr)toWidgetwidget)-- | Retrieve the widget responsible for-- showing the column title. In case only a text title was set this will be a-- 'Alignment' widget with a 'Label' inside.--treeViewColumnGetWidget::TreeViewColumn->IO(MaybeWidget)-- ^ returns the 'Widget' in the column header, or 'Nothing'treeViewColumnGetWidgetself=dowidgetPtr<-(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_widgetargPtr1)selfifwidgetPtr==nullPtrthenreturnNothingelseliftMJust$makeNewObjectmkWidget(returnwidgetPtr)-- | Sets the alignment of the title or custom widget inside the column-- header. The alignment determines its location inside the button -- 0.0 for-- left, 0.5 for center, 1.0 for right.--treeViewColumnSetAlignment::TreeViewColumn->Float-- ^ @xalign@ - The alignment, which is between [0.0 and-- 1.0] inclusive.->IO()treeViewColumnSetAlignmentselfxalign=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_alignmentargPtr1arg2){-# LINE 408 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(realToFracxalign)-- | Returns the current x alignment of the tree column. This value can range-- between 0.0 and 1.0.--treeViewColumnGetAlignment::TreeViewColumn->IOFloattreeViewColumnGetAlignmentself=liftMrealToFrac$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_alignmentargPtr1){-# LINE 418 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set if the column can be reordered by the end user dragging the header.--treeViewColumnSetReorderable::TreeViewColumn->Bool->IO()treeViewColumnSetReorderableselfreorderable=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_reorderableargPtr1arg2){-# LINE 425 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromBoolreorderable)-- | Returns whether the column can be reordered by the user.--treeViewColumnGetReorderable::TreeViewColumn->IOBooltreeViewColumnGetReorderableself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_reorderableargPtr1){-# LINE 434 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set the column by which to sort.---- * Sets the logical @columnId@ that this column sorts on when-- this column is selected for sorting. The selected column's header-- will be clickable after this call. Logical refers to the-- 'Graphics.UI.Gtk.ModelView.TreeSortable.SortColumnId' for which-- a comparison function was set.--treeViewColumnSetSortColumnId::TreeViewColumn->SortColumnId->IO()treeViewColumnSetSortColumnIdselfsortColumnId=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_sort_column_idargPtr1arg2){-# LINE 447 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromIntegralsortColumnId)-- | Get the column by which to sort.---- * Retrieves the logical @columnId@ that the model sorts on when this column-- is selected for sorting.---- * Returns-- 'Graphics.UI.Gtk.ModelView.TreeSortable.treeSortableDefaultSortColumnId'-- if this tree view column has no-- 'Graphics.UI.Gtk.ModelView.TreeSortable.SortColumnId' associated with it.--treeViewColumnGetSortColumnId::TreeViewColumn->IOSortColumnIdtreeViewColumnGetSortColumnIdself=liftMfromIntegral$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_sort_column_idargPtr1){-# LINE 464 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set if a given column has sorting arrows in its heading.--treeViewColumnSetSortIndicator::TreeViewColumn->Bool->IO()treeViewColumnSetSortIndicatorselfsetting=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_sort_indicatorargPtr1arg2){-# LINE 472 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromBoolsetting)-- | Query if a given column has sorting arrows in its heading.--treeViewColumnGetSortIndicator::TreeViewColumn->IOBooltreeViewColumnGetSortIndicatorself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_sort_indicatorargPtr1){-# LINE 481 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- | Set if a given column is sorted in ascending or descending order.---- * In order for sorting to work, it is necessary to either use automatic-- sorting via 'treeViewColumnSetSortColumnId' or to use a-- user defined sorting on the elements in a 'TreeModel'.--treeViewColumnSetSortOrder::TreeViewColumn->SortType->IO()treeViewColumnSetSortOrderselforder=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_sort_orderargPtr1arg2){-# LINE 493 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self((fromIntegral.fromEnum)order)-- | Query if a given column is sorted in ascending or descending order.--treeViewColumnGetSortOrder::TreeViewColumn->IOSortTypetreeViewColumnGetSortOrderself=liftM(toEnum.fromIntegral)$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_sort_orderargPtr1){-# LINE 502 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- %hash c:7808 d:942b-- | Sets the column to take available extra space. This space is shared-- equally amongst all columns that have the expand set to @True@. If no column-- has this option set, then the last column gets all extra space. By default,-- every column is created with this @False@.---- * Available since Gtk+ version 2.4--treeViewColumnSetExpand::TreeViewColumn->Bool-- ^ @expand@ - @True@ if the column should take available extra-- space, @False@ if not->IO()treeViewColumnSetExpandselfexpand=(\(TreeViewColumnarg1)arg2->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_set_expandargPtr1arg2){-# LINE 519 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(fromBoolexpand)-- %hash c:ee41 d:f16b-- | Return @True@ if the column expands to take any available space.---- * Available since Gtk+ version 2.4--treeViewColumnGetExpand::TreeViewColumn->IOBool-- ^ returns @True@, if the column expandstreeViewColumnGetExpandself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_get_expandargPtr1){-# LINE 532 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- %hash c:77e0 d:e1c7-- | Returns @True@ if any of the cells packed into the @treeColumn@ are-- visible. For this to be meaningful, you must first initialize the cells with-- 'treeViewColumnCellSetCellData'--treeViewColumnCellIsVisible::TreeViewColumn->IOBool-- ^ returns @True@, if any of the cells packed into the-- @treeColumn@ are currently visibletreeViewColumnCellIsVisibleself=liftMtoBool$(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_cell_is_visibleargPtr1){-# LINE 546 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self-- %hash c:a202 d:1401-- | Sets the current keyboard focus to be at @cell@, if the column contains 2-- or more editable and activatable cells.---- * Available since Gtk+ version 2.2--treeViewColumnFocusCell::CellRendererClasscell=>TreeViewColumn->cell-- ^ @cell@ - A 'CellRenderer'->IO()treeViewColumnFocusCellselfcell=(\(TreeViewColumnarg1)(CellRendererarg2)->withForeignPtrarg1$\argPtr1->withForeignPtrarg2$\argPtr2->gtk_tree_view_column_focus_cellargPtr1argPtr2){-# LINE 560 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self(toCellRenderercell)-- %hash c:4420 d:bfde-- | Flags the column, and the cell renderers added to this column, to have-- their sizes renegotiated.---- * Available since Gtk+ version 2.8--treeViewColumnQueueResize::TreeViewColumn->IO()treeViewColumnQueueResizeself=(\(TreeViewColumnarg1)->withForeignPtrarg1$\argPtr1->gtk_tree_view_column_queue_resizeargPtr1){-# LINE 573 "./Graphics/UI/Gtk/ModelView/TreeViewColumn.chs" #-}self---------------------- Attributes-- | Whether to display the column.---- Default value: @True@--treeViewColumnVisible::AttrTreeViewColumnBooltreeViewColumnVisible=newAttrtreeViewColumnGetVisibletreeViewColumnSetVisible-- | Column is user-resizable.---- Default value: @False@--treeViewColumnResizable::AttrTreeViewColumnBooltreeViewColumnResizable=newAttrtreeViewColumnGetResizabletreeViewColumnSetResizable-- | Current width of the column.---- Allowed values: >= 0---- Default value: 0--treeViewColumnWidth::ReadAttrTreeViewColumnInttreeViewColumnWidth=readAttrFromIntProperty"width"-- | Space which is inserted between cells.---- Allowed values: >= 0---- Default value: 0--treeViewColumnSpacing::AttrTreeViewColumnInttreeViewColumnSpacing=newAttrtreeViewColumnGetSpacingtreeViewColumnSetSpacing-- | Resize mode of the column.---- Default value: 'TreeViewColumnGrowOnly'--treeViewColumnSizing::AttrTreeViewColumnTreeViewColumnSizingtreeViewColumnSizing=newAttrtreeViewColumnGetSizingtreeViewColumnSetSizing-- | Current fixed width of the column.---- Allowed values: >= 1---- Default value: 1--treeViewColumnFixedWidth::AttrTreeViewColumnInttreeViewColumnFixedWidth=newAttrtreeViewColumnGetFixedWidthtreeViewColumnSetFixedWidth-- | Minimum allowed width of the column.---- Allowed values: >= -1---- Default value: -1--treeViewColumnMinWidth::AttrTreeViewColumnInttreeViewColumnMinWidth=newAttrtreeViewColumnGetMinWidthtreeViewColumnSetMinWidth-- | Maximum allowed width of the column.---- Allowed values: >= -1---- Default value: -1--treeViewColumnMaxWidth::AttrTreeViewColumnInttreeViewColumnMaxWidth=newAttrtreeViewColumnGetMaxWidthtreeViewColumnSetMaxWidth-- | Title to appear in column header.---- Default value: \"\"--treeViewColumnTitle::ReadWriteAttrTreeViewColumn(MaybeString)StringtreeViewColumnTitle=newAttrtreeViewColumnGetTitletreeViewColumnSetTitle-- %hash c:800 d:eb1a-- | Column gets share of extra width allocated to the widget.---- Default value: @False@--treeViewColumnExpand::AttrTreeViewColumnBooltreeViewColumnExpand=newAttrFromBoolProperty"expand"-- | Whether the header can be clicked.---- Default value: @False@--treeViewColumnClickable::AttrTreeViewColumnBooltreeViewColumnClickable=newAttrtreeViewColumnGetClickabletreeViewColumnSetClickable-- | Widget to put in column header button instead of column title.--treeViewColumnWidget::WidgetClasswidget=>ReadWriteAttrTreeViewColumn(MaybeWidget)(Maybewidget)treeViewColumnWidget=newAttrtreeViewColumnGetWidgettreeViewColumnSetWidget-- | X Alignment of the column header text or widget.---- Allowed values: [0,1]---- Default value: 0--treeViewColumnAlignment::AttrTreeViewColumnFloattreeViewColumnAlignment=newAttrtreeViewColumnGetAlignmenttreeViewColumnSetAlignment-- | Whether the column can be reordered around the headers.---- Default value: @False@--treeViewColumnReorderable::AttrTreeViewColumnBooltreeViewColumnReorderable=newAttrtreeViewColumnGetReorderabletreeViewColumnSetReorderable-- | Whether to show a sort indicator.---- Default value: @False@--treeViewColumnSortIndicator::AttrTreeViewColumnBooltreeViewColumnSortIndicator=newAttrtreeViewColumnGetSortIndicatortreeViewColumnSetSortIndicator-- | Sort direction the sort indicator should indicate.---- Default value: 'SortAscending'--treeViewColumnSortOrder::AttrTreeViewColumnSortTypetreeViewColumnSortOrder=newAttrtreeViewColumnGetSortOrdertreeViewColumnSetSortOrder-- | \'sortColumnId\' property. See 'treeViewColumnGetSortColumnId' and-- 'treeViewColumnSetSortColumnId'--treeViewColumnSortColumnId::AttrTreeViewColumnSortColumnIdtreeViewColumnSortColumnId=newAttrtreeViewColumnGetSortColumnIdtreeViewColumnSetSortColumnId---------------------- Signals-- | Emitted when the header of this column has been clicked on.--onColClicked,afterColClicked::TreeViewColumnClassself=>self->IO()->IO(ConnectIdself)onColClicked=connect_NONE__NONE"clicked"FalseafterColClicked=connect_NONE__NONE"clicked"Trueforeignimportccallsafe"gtk_tree_view_column_new"gtk_tree_view_column_new::(IO(PtrTreeViewColumn))foreignimportccallunsafe"gtk_tree_view_column_pack_start"gtk_tree_view_column_pack_start::((PtrTreeViewColumn)->((PtrCellRenderer)->(CInt->(IO()))))foreignimportccallunsafe"gtk_tree_view_column_pack_end"gtk_tree_view_column_pack_end::((PtrTreeViewColumn)->((PtrCellRenderer)->(CInt->(IO()))))foreignimportccallsafe"gtk_tree_view_column_clear"gtk_tree_view_column_clear::((PtrTreeViewColumn)->(IO()))foreignimportccallunsafe"gtk_tree_view_column_get_cell_renderers"gtk_tree_view_column_get_cell_renderers::((PtrTreeViewColumn)->(IO(Ptr())))foreignimportccallsafe"gtk_tree_view_column_set_spacing"gtk_tree_view_column_set_spacing::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_spacing"gtk_tree_view_column_get_spacing::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_visible"gtk_tree_view_column_set_visible::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_visible"gtk_tree_view_column_get_visible::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_resizable"gtk_tree_view_column_set_resizable::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_resizable"gtk_tree_view_column_get_resizable::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_sizing"gtk_tree_view_column_set_sizing::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_sizing"gtk_tree_view_column_get_sizing::((PtrTreeViewColumn)->(IOCInt))foreignimportccallunsafe"gtk_tree_view_column_get_width"gtk_tree_view_column_get_width::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_fixed_width"gtk_tree_view_column_set_fixed_width::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_fixed_width"gtk_tree_view_column_get_fixed_width::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_min_width"gtk_tree_view_column_set_min_width::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_min_width"gtk_tree_view_column_get_min_width::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_max_width"gtk_tree_view_column_set_max_width::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_max_width"gtk_tree_view_column_get_max_width::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_clicked"gtk_tree_view_column_clicked::((PtrTreeViewColumn)->(IO()))foreignimportccallsafe"gtk_tree_view_column_set_title"gtk_tree_view_column_set_title::((PtrTreeViewColumn)->((PtrCChar)->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_title"gtk_tree_view_column_get_title::((PtrTreeViewColumn)->(IO(PtrCChar)))foreignimportccallsafe"gtk_tree_view_column_set_clickable"gtk_tree_view_column_set_clickable::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallsafe"gtk_tree_view_column_get_clickable"gtk_tree_view_column_get_clickable::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_widget"gtk_tree_view_column_set_widget::((PtrTreeViewColumn)->((PtrWidget)->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_widget"gtk_tree_view_column_get_widget::((PtrTreeViewColumn)->(IO(PtrWidget)))foreignimportccallsafe"gtk_tree_view_column_set_alignment"gtk_tree_view_column_set_alignment::((PtrTreeViewColumn)->(CFloat->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_alignment"gtk_tree_view_column_get_alignment::((PtrTreeViewColumn)->(IOCFloat))foreignimportccallsafe"gtk_tree_view_column_set_reorderable"gtk_tree_view_column_set_reorderable::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_reorderable"gtk_tree_view_column_get_reorderable::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_sort_column_id"gtk_tree_view_column_set_sort_column_id::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_sort_column_id"gtk_tree_view_column_get_sort_column_id::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_sort_indicator"gtk_tree_view_column_set_sort_indicator::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_sort_indicator"gtk_tree_view_column_get_sort_indicator::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_sort_order"gtk_tree_view_column_set_sort_order::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallunsafe"gtk_tree_view_column_get_sort_order"gtk_tree_view_column_get_sort_order::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_set_expand"gtk_tree_view_column_set_expand::((PtrTreeViewColumn)->(CInt->(IO())))foreignimportccallsafe"gtk_tree_view_column_get_expand"gtk_tree_view_column_get_expand::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_cell_is_visible"gtk_tree_view_column_cell_is_visible::((PtrTreeViewColumn)->(IOCInt))foreignimportccallsafe"gtk_tree_view_column_focus_cell"gtk_tree_view_column_focus_cell::((PtrTreeViewColumn)->((PtrCellRenderer)->(IO())))foreignimportccallsafe"gtk_tree_view_column_queue_resize"gtk_tree_view_column_queue_resize::((PtrTreeViewColumn)->(IO()))