wxListCtrl
Creation Parameters
- atom parent
- integer id [= -1]
- integer x [= -1]
- integer y [= -1]
- integer cx [= -1]
- integer cy [= -1]
- integer style [= wxLC_REPORT]
- wxLC_VRULES
- wxLC_HRULES
- wxLC_ICON
- wxLC_SMALL_ICON
- wxLC_LIST
- wxLC_REPORT
- wxLC_ALIGN_TOP
- wxLC_ALIGN_LEFT
- wxLC_AUTOARRANGE
- wxLC_VIRTUAL
- wxLC_EDIT_LABELS
- wxLC_NO_HEADER
- wxLC_NO_SORT_HEADER
- wxLC_SINGLE_SEL
- wxLC_SORT_ASCENDING
- wxLC_SORT_DESCENDING
- wxLC_MASK_TYPE
- wxLC_MASK_ALIGN
- wxLC_MASK_SORT
Functions/Procedures
- func get_list_event_column( atom event )
- func insert_listctrl_item( atom list, atom index, sequence text, integer image )
- func insert_list_column( atom list, atom col, sequence text, integer format, integer width )
- func list_hit_test( atom list, atom x, atom y, atom flags )
- proc list_imagelist( atom list, atom il, integer which )
- proc set_column_label( atom list, integer column, sequence text )
- proc set_list_item( atom list, atom index, atom col, object label_val, atom image )
- proc set_list_item_back_color( atom list, atom item, atom color )
- proc set_list_item_image( atom list, integer item, integer image )
Supertopics
wxListCtrl
Category:
wxListCtrl
The column position: it is only used with COL events. For the column dragging events, it
is the column to the left of the divider being dragged, for the column click events
it may be -1 if the user clicked in the list control header outside any column.
wxListCtrl
[func]
insert_listctrl_item ( atom list, atom index, sequence text, integer image )
Category:
wxListCtrl
Inserts an item, returning the index of the new item if successful, -1 otherwise.
wxListCtrl
[func]
insert_list_column ( atom list, atom col, sequence text, integer format, integer width )
Category:
wxListCtrl
For report view mode (only), inserts a column.
wxListCtrl
[func]
list_hit_test ( atom list, atom x, atom y, atom flags )
Category:
wxListCtrl
Determines which item (if any) is at the specified point, giving details in flags. Returns index of the item or wxNOT_FOUND
if no item is at the specified point. flags will be a combination of the following flags:
- wxLIST_HITTEST_ABOVE Above the client area.
- wxLIST_HITTEST_BELOW Below the client area.
- wxLIST_HITTEST_NOWHERE In the client area but below the last item.
- wxLIST_HITTEST_ONITEMICON On the bitmap associated with an item.
- wxLIST_HITTEST_ONITEMLABEL On the label (string) associated with an item.
- wxLIST_HITTEST_ONITEMRIGHT In the area to the right of an item.
- wxLIST_HITTEST_ONITEMSTATEICON On the state icon for a tree view item that is in a user-defined state.
- wxLIST_HITTEST_TOLEFT To the right of the client area.
- wxLIST_HITTEST_TORIGHT To the left of the client area.
- wxLIST_HITTEST_ONITEM Combination of wxLIST_HITTEST_ONITEMICON, wxLIST_HITTEST_ONITEMLABEL, wxLIST_HITTEST_ONITEMSTATEICON.
wxListCtrl
Category:
wxListCtrl
- list the wxListCtrl
- il the wxImageList
- which
- wxIMAGE_LIST_NORMAL (used in wxLC_ICON mode)
- wxIMAGE_LIST_SMALL (used in wxLC_REPORT, wxLC_LIST modes)
wxListCtrl
[proc]
set_column_label ( atom list, integer column, sequence text )
Category:
wxListCtrl
Changes the label of the specified column (0-based).
wxListCtrl
[proc]
set_list_item ( atom list, atom index, atom col, object label_val, atom image )
Category:
wxListCtrl
Sets a list item's information. Use this to set sub-column labels.
wxListCtrl
Category:
wxListCtrl
Sets the background color of a wxListCtrl item.
wxListCtrl
Category:
wxListCtrl
Changes the image displayed for the item. You must have previously
assigned a wxImageList to the list using list_imagelist().