comp • gb.gtk • listview

ListView (gb.gtk)

This control implements a list of selectable text items with icons.

ListView items are indexed by a key. They display a string and an icon.

This control has an internal cursor used for accessing its items. Use the MoveFirst, MoveNext, MoveTo... methods to move the internal cursor, and the Item property to get the item it points at.

This class inherits _TreeView.
This class is creatable.
This class acts like a read-only array.


Methods Events
Action   Available  
Returns or sets the background color used by the control.
Border   Children   ClientH   ClientHeight   ClientW   ClientWidth   ClientX   ClientY   Compare   Count   Current  
Use this property for assigning a custom cursor to a control.
Indicates that the control is in design mode.
Returns or sets if a control accepts drops.
Indicates that the control is enabled.
Returns or sets if a control will expand if included in a container that arranges its contents.
Returns or sets the font used to draw text in the control.
Returns or sets the foreground color used by the control.
H   Handle   HasFocus   Height   Hovered   Id   Ignore  
Return the size of tree indentation in pixels.
Item   Key  
Return a list of all items keys
Left   Mode  
Returns or sets the appearence of the cursor when it points inside the control.
Name   Next   NoTabFocus   Parent   PopupMenu   Previous   Proxy   Renaming   ScreenX   ScreenY   ScrollBar   ScrollH   ScrollHeight   ScrollW   ScrollWidth   ScrollX   ScrollY   Selection  
Return or set if selection is indicated by check boxes and radio buttons, or by highlighting the items.
Sorted   Tag   Tooltip   Top   Tracking   Visible   W   Width   Window   X   Y  
Add   Clear   Delete   Drag   Exist   FindAt   FindChild   Grab   Hide   Lower   Move   MoveAbove   MoveBack   MoveBelow   MoveChild   MoveCurrent   MoveFirst   MoveLast   MoveNext   MoveParent   MovePrevious   MoveScaled   MoveTo   Raise   Refresh   Remove   Reparent   Resize   ResizeScaled   Scroll   SelectAll   SetFocus   Show   UnSelectAll   Activate   Arrange   BeforeArrange  
This event is raised before automatically sorting the items
Cancel   Click   Collapse   Compare   DblClick   Drag   DragLeave   DragMove  
This event allows to customize the drawing of a specific item.
Drop   Enter   Expand   GotFocus   KeyPress   KeyRelease   Leave   LostFocus   Menu   MouseDown   MouseDrag   MouseMove   MouseUp   MouseWheel   NewChild   Rename  
This event is raised when the view scrolls.