Name

TreeViewColumn —

Synopsis

treeViewColumnNew:: IO TreeViewColumn
treeViewColumnAddAttribute:: (TreeViewColumnClass tvc, CellRendererClass cr) => tvc -> cr -> String -> Int -> IO ()
treeViewColumnAddAttributes:: (TreeViewColumnClass tvc, CellRendererClass cr) => tvc -> cr -> [(String,Int)] -> IO ()
treeViewColumnClear:: TreeViewColumnClass tvc => tvc -> IO ()
treeViewColumnClearAttributes:: (TreeViewColumnClass tvc, CellRendererClass cr) => tvc -> cr -> IO ()
treeViewColumnClicked:: TreeViewColumnClass tvc => tvc -> IO ()
treeViewColumnGetAlignment:: TreeViewColumnClass tvc => tvc -> IO Float
treeViewColumnGetCellRenderers:: TreeViewColumnClass tvc => tvc -> IO [CellRenderer]
treeViewColumnGetMaxWidth:: TreeViewColumnClass tvc => tvc -> IO Int
treeViewColumnGetMinWidth:: TreeViewColumnClass tvc => tvc -> IO Int
treeViewColumnGetReorderable:: TreeViewColumnClass tvc => tvc -> IO Bool
treeViewColumnGetResizable:: TreeViewColumnClass tvc => tvc -> IO Bool
treeViewColumnGetSizing:: TreeViewColumnClass tvc => tvc -> IO TreeViewColumnSizing
treeViewColumnGetSortColumnId:: TreeViewColumnClass tvc => tvc -> IO Int
treeViewColumnGetSortIndicator:: TreeViewColumnClass tvc => tvc -> IO Bool
treeViewColumnGetSortOrder:: TreeViewColumnClass tvc => tvc -> IO SortType
treeViewColumnGetSpacing:: TreeViewColumnClass tvc => tvc -> IO Int
treeViewColumnGetTitle:: TreeViewColumnClass tvc => tvc -> IO (Maybe String)
treeViewColumnGetVisible:: TreeViewColumnClass tvc => tvc -> IO Bool
treeViewColumnGetWidget:: TreeViewColumnClass tvc => tvc -> IO Widget
treeViewColumnGetWidth:: TreeViewColumnClass tvc => tvc -> IO Int
treeViewColumnNewWithAttributes:: CellRendererClass cr => String -> cr -> [(String,Int)] -> IO TreeViewColumn
treeViewColumnPackEnd:: (TreeViewColumnClass tvc, CellRendererClass cr) => tvc -> cr -> Bool -> IO ()
treeViewColumnPackStart:: (TreeViewColumnClass tvc, CellRendererClass cr) => tvc -> cr -> Bool -> IO ()
treeViewColumnSetAlignment:: TreeViewColumnClass tvc => tvc -> Float -> IO ()
treeViewColumnSetAttributes:: (TreeViewColumnClass tvc, CellRendererClass cr) => tvc -> cr -> [(String,Int)] -> IO ()
treeViewColumnSetClickable:: TreeViewColumnClass tvc => tvc -> Bool -> IO ()
treeViewColumnSetFixedWidth:: TreeViewColumnClass tvc => Int -> tvc -> IO ()
treeViewColumnSetMaxWidth:: TreeViewColumnClass tvc => tvc -> Int -> IO ()
treeViewColumnSetMinWidth:: TreeViewColumnClass tvc => tvc -> Int -> IO ()
treeViewColumnSetReorderable:: TreeViewColumnClass tvc => tvc -> Bool -> IO ()
treeViewColumnSetResizable:: TreeViewColumnClass tvc => tvc -> Bool -> IO ()
treeViewColumnSetSizing:: TreeViewColumnClass tvc => tvc -> TreeViewColumnSizing -> IO ()
treeViewColumnSetSortColumnId:: TreeViewColumnClass tvc => tvc -> Int -> IO ()
treeViewColumnSetSortIndicator:: TreeViewColumnClass tvc => tvc -> Bool -> IO ()
treeViewColumnSetSortOrder:: TreeViewColumnClass tvc => tvc -> SortType -> IO ()
treeViewColumnSetSpacing:: TreeViewColumnClass tvc => tvc -> Int -> IO ()
treeViewColumnSetTitle:: TreeViewColumnClass tvc => tvc -> String -> IO ()
treeViewColumnSetVisible:: TreeViewColumnClass tvc => tvc -> Bool -> IO ()
treeViewColumnSetWidget:: (TreeViewColumnClass tvc, WidgetClass w) => tvc -> w -> IO ()

colClicked <no type information>

Introduction

tree_view_column_new_with_attributes and tree_view_column_set_attributes are variadic and the funcitonality can be achieved through other functions.

tree_view_column_set_cell_data and tree_view_column_cell_get_size are not bound because I am not sure what they do and when they are useful

Todo

treeViewColumnSetCellData is not bound. With this function the user has control over how data in the store is mapped to the attributes of a cell renderer. This functin should be bound in the future to allow the user to insert Haskell data types into the store and convert these values to attributes of cell renderers.

Constructors

treeViewColumnNew

Generate a new TreeViewColumn widget.

treeViewColumnNew

Methods

treeViewColumnAddAttribute

Insert an attribute to change the behaviour of the column's cell renderer.

treeViewColumnAddAttribute:: tvc:: cr:: String:: Int:: IO ()
tvccrattrcol

The CellRenderer cr must already be in TreeViewColumn.

treeViewColumnAddAttributes

Insert attributes attribs to change the behaviour of column tvc's cell renderer cr.

treeViewColumnAddAttributes:: tvc:: cr:: [(String,Int)]:: IO ()
tvccrattribs

treeViewColumnClear

Remove the associations of attributes to a store for all CellRenderers.

treeViewColumnClear:: tvc:: IO ()
tvc

treeViewColumnClearAttributes

Clears all existing attributes of the column tvc.

treeViewColumnClearAttributes:: tvc:: cr:: IO ()
tvccr

treeViewColumnClicked

Emit the clicked signal on the column.

treeViewColumnClicked:: tvc:: IO ()
tvc

treeViewColumnGetAlignment

Get the alignment of the titlte.

treeViewColumnGetAlignment:: tvc:: IO Float
tvc

treeViewColumnGetCellRenderers

Retrieve all CellRenderers that are contained in this column.

treeViewColumnGetCellRenderers:: tvc:: IO [CellRenderer]
tvc

treeViewColumnGetMaxWidth

Get the maximum width of a column. Returns -1 if this width was not set.

treeViewColumnGetMaxWidth:: tvc:: IO Int
tvc

treeViewColumnGetMinWidth

Get the minimum width of a column. Returns -1 if this width was not set.

treeViewColumnGetMinWidth:: tvc:: IO Int
tvc

treeViewColumnGetReorderable

Get if a given column is reorderable by the user.

treeViewColumnGetReorderable:: tvc:: IO Bool
tvc

treeViewColumnGetResizable

Get if a given column is resizable by the user.

treeViewColumnGetResizable:: tvc:: IO Bool
tvc

treeViewColumnGetSizing

Return the resizing type of the column.

treeViewColumnGetSizing:: tvc:: IO TreeViewColumnSizing
tvc

treeViewColumnGetSortColumnId

Get the column by which to sort.

treeViewColumnGetSortColumnId:: tvc:: IO Int
tvc

Retrieves the logical columnId that the model sorts on when this column is selected for sorting.

Returns -1 if this column can't be used for sorting.

treeViewColumnGetSortIndicator

Query if a given column has sorting arrows in its heading.

treeViewColumnGetSortIndicator:: tvc:: IO Bool
tvc

treeViewColumnGetSortOrder

Query if a given column is sorted in ascending or descending order.

treeViewColumnGetSortOrder:: tvc:: IO SortType
tvc

treeViewColumnGetSpacing

Get the number of pixels between two cell renderers.

treeViewColumnGetSpacing:: tvc:: IO Int
tvc

treeViewColumnGetTitle

Get the widget's title.

treeViewColumnGetTitle:: tvc:: IO (Maybe String)
tvc

treeViewColumnGetVisible

Get the visibility of a given column.

treeViewColumnGetVisible:: tvc:: IO Bool
tvc

treeViewColumnGetWidget

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:: tvc:: IO Widget
tvc

treeViewColumnGetWidth

Query the current width of the column.

treeViewColumnGetWidth:: tvc:: IO Int
tvc

treeViewColumnNewWithAttributes

Returns a new TreeViewColumn with title title, cell renderer cr, and attributes attribs.

treeViewColumnNewWithAttributes:: String:: cr:: [(String,Int)]:: IO TreeViewColumn
titlecrattribs

treeViewColumnPackEnd

Add a cell renderer at the end of a column.

treeViewColumnPackEnd:: tvc:: cr:: Bool:: IO ()
tvccrexpand

Excess space is divided equally among all renderers which have expand set to True.

treeViewColumnPackStart

Add a cell renderer at the beginning of a column.

treeViewColumnPackStart:: tvc:: cr:: Bool:: IO ()
tvccrexpand

Excess space is divided equally among all renderers which have expand set to True.

treeViewColumnSetAlignment

Set the alignment of the title.

treeViewColumnSetAlignment:: tvc:: Float:: IO ()
tvcalign

treeViewColumnSetAttributes

Set the attributes of the cell renderer cr in the tree column tvc be attribs. The attributes are given as a list of attribute/column pairs. All existing attributes are removed, and replaced with the new attributes.

treeViewColumnSetAttributes:: tvc:: cr:: [(String,Int)]:: IO ()
tvccrattribs

treeViewColumnSetClickable

Set if the column should be sensitive to mouse clicks.

treeViewColumnSetClickable:: tvc:: Bool:: IO ()
tvcclick

treeViewColumnSetFixedWidth

Set the width of the column.

treeViewColumnSetFixedWidth:: Int:: tvc:: IO ()
widthtvc

This is meaningful only if the sizing type is TreeViewColumnFixed.

treeViewColumnSetMaxWidth

Set maximum width of the column.

treeViewColumnSetMaxWidth:: tvc:: Int:: IO ()
tvcwidth

treeViewColumnSetMinWidth

Set minimum width of the column.

treeViewColumnSetMinWidth:: tvc:: Int:: IO ()
tvcwidth

treeViewColumnSetReorderable

Set if a given column is reorderable by the user.

treeViewColumnSetReorderable:: tvc:: Bool:: IO ()
tvcvis

treeViewColumnSetResizable

Set if a given column is resizable by the user.

treeViewColumnSetResizable:: tvc:: Bool:: IO ()
tvcvis

treeViewColumnSetSizing

Set wether the column can be resized.

treeViewColumnSetSizing:: tvc:: TreeViewColumnSizing:: IO ()
tvcsize

treeViewColumnSetSortColumnId

Set the column by which to sort.

treeViewColumnSetSortColumnId:: tvc:: Int:: IO ()
tvccolumnId

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 column in the TreeModel.

treeViewColumnSetSortIndicator

Set if a given column has sorting arrows in its heading.

treeViewColumnSetSortIndicator:: tvc:: Bool:: IO ()
tvcsort

treeViewColumnSetSortOrder

Set if a given column is sorted in ascending or descending order.

treeViewColumnSetSortOrder:: tvc:: SortType:: IO ()
tvcsort

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.

treeViewColumnSetSpacing

Set the number of pixels between two cell renderers.

treeViewColumnSetSpacing:: tvc:: Int:: IO ()
tvcvis

treeViewColumnSetTitle

Set the widget's title if a custom widget has not been set.

treeViewColumnSetTitle:: tvc:: String:: IO ()
tvctitle

treeViewColumnSetVisible

Set the visibility of a given column.

treeViewColumnSetVisible:: tvc:: Bool:: IO ()
tvcvis

treeViewColumnSetWidget

Set the column's title to this widget.

treeViewColumnSetWidget:: tvc:: w:: IO ()
tvcw

Signals

no type info on symbol colClicked