List Class Reference

Inheritance diagram for List:

Container List of all members.

Detailed Description

This is a list of widget that can be displayed.

Todo:
is this deprecated or still used on the combo?


Public Member Functions

public this ()
 Creates a new List.
void insertItems (ListG items, gint position)
 Inserts items to this list at a specific position.
void appendItems (ListG items)
 Appends a list of item to the list.
void prependItems (ListG items)
 Preppends a list of item to the list.
void removeItems (ListG items)
 removes a list of item from the list
void removeItemsNoUnref (ListG items)
 removes a list of item from the list but doesn't mark as unreferred
void clearItems (gint start, gint end)
 Clears the item from the star to the end positions.
void selectItem (gint item)
 Select one item by position.
void unselectItem (gint item)
 Unselects one item by position.
void selectChild (Widget child)
 Select a child widget.
void unselectChild (Widget child)
 Unselect a child widget.
gint childPosition (Widget child)
 Gets the child position.
void setSelectionMode (SelectionMode mode)
 Sets the selection mode.
void extendedSelection (ScrollType scroll_type, gfloat position, gboolean auto_start_selection)
 Extended selection ???
void startSelection ()
 Start selection.
void endSelection ()
 End Selection.
void selectAll ()
 Select all.
void scrollHorizontal (ScrollType scroll_type, gfloat position)
 Scroll horizontal.
void scrollVertical (ScrollType scroll_type, gfloat position)
 Scroll Vertical.
void toggleAddMode ()
 Toggle add mode.
void toggleFocusRow ()
 toggle focus row.
void toggleRow (Widget item)
 Toggle row.
void undoSelection ()
 Undo selection.
void endDragSelection ()
 End drag Selection.

Static Public Member Functions

GType getType ()
 Gets this class type.


Member Function Documentation

void List.appendItems ListG  items  ) 
 

Appends a list of item to the list.

Parameters:
items the list of item to append
Bug:
seems this segfaults

gint List.childPosition Widget  child  ) 
 

Gets the child position.

Parameters:
child the child

void List.clearItems gint  start,
gint  end
 

Clears the item from the star to the end positions.

Parameters:
start the start position
end the end position

void List.endDragSelection  ) 
 

End drag Selection.

void List.endSelection  ) 
 

End Selection.

void List.extendedSelection ScrollType  scroll_type,
gfloat  position,
gboolean  auto_start_selection
 

Extended selection ???

Parameters:
scroll_type 
position 
auto_start_selection 

GType List.getType  )  [static]
 

Gets this class type.

Returns:
type

Reimplemented from Widget.

void List.insertItems ListG  items,
gint  position
 

Inserts items to this list at a specific position.

Parameters:
items the new item list
position the postipn where insert the items list

void List.prependItems ListG  items  ) 
 

Preppends a list of item to the list.

Parameters:
items the list of item to prepend

void List.removeItems ListG  items  ) 
 

removes a list of item from the list

Parameters:
items the list of item to remove

void List.removeItemsNoUnref ListG  items  ) 
 

removes a list of item from the list but doesn't mark as unreferred

Parameters:
items the list of item to remove

void List.scrollHorizontal ScrollType  scroll_type,
gfloat  position
 

Scroll horizontal.

Parameters:
scroll_type 
position 

void List.scrollVertical ScrollType  scroll_type,
gfloat  position
 

Scroll Vertical.

Parameters:
scroll_type 
position 

void List.selectAll  ) 
 

Select all.

void List.selectChild Widget  child  ) 
 

Select a child widget.

Parameters:
child the child widget to select

void List.selectItem gint  item  ) 
 

Select one item by position.

Parameters:
item the item position to select

void List.setSelectionMode SelectionMode  mode  ) 
 

Sets the selection mode.

Parameters:
mode the new selection mode

void List.startSelection  ) 
 

Start selection.

public List.this  ) 
 

Creates a new List.

void List.toggleAddMode  ) 
 

Toggle add mode.

void List.toggleFocusRow  ) 
 

toggle focus row.

void List.toggleRow Widget  item  ) 
 

Toggle row.

void List.undoSelection  ) 
 

Undo selection.

void List.unselectChild Widget  child  ) 
 

Unselect a child widget.

Parameters:
child the child widget to unselect

void List.unselectItem gint  item  ) 
 

Unselects one item by position.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo