Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.List

Class List

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.List.List

Implemented interfaces:


public class

List



This is a list of widget that can be displayed.
\todo is this deprecated or still used on the combo?

Constructor Summary
public (GtkWidget *gtkWidget)
          
public ()
          Creates a new List

Methods Summary
public static GType getType()
          Gets this class type
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.
endSelection ()
          End Selection.
void selectAll()
          Select all.
void unselectAll()
          
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




public ctor(List)(GtkWidget *gtkWidget)

getType

public static GType getType()
Gets this class type

Returns:
type



public ctor(List)()
Creates a new List

insertItems

void 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

appendItems

void appendItems(ListG items)
Appends a list of item to the list

Parameters:
items - the list of item to append \bug seems this segfaults

prependItems

void prependItems(ListG items)
Preppends a list of item to the list

Parameters:
items - the list of item to prepend

removeItems

void removeItems(ListG items)
removes a list of item from the list

Parameters:
items - the list of item to remove

removeItemsNoUnref

void 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

clearItems

void clearItems(gint start, gint end)
Clears the item from the star to the end positions

Parameters:
start - the start position
end - the end position

selectItem

void selectItem(gint item)
Select one item by position

Parameters:
item - the item position to select

unselectItem

void unselectItem(gint item)
Unselects one item by position

selectChild

void selectChild(Widget child)
Select a child widget

Parameters:
child - the child widget to select

unselectChild

void unselectChild(Widget child)
Unselect a child widget

Parameters:
child - the child widget to unselect

childPosition

gint childPosition(Widget child)
Gets the child position

Parameters:
child - the child

setSelectionMode

void setSelectionMode(SelectionMode mode)
Sets the selection mode

Parameters:
mode - the new selection mode

extendedSelection

void extendedSelection(ScrollType scroll_type, gfloat position, gboolean auto_start_selection)
Extended selection ???

Parameters:
scroll_type -
position -
auto_start_selection -

startSelection

void startSelection()
Start selection.



endSelection ()
End Selection.

selectAll

void selectAll()
Select all.

unselectAll

void unselectAll()

scrollHorizontal

void scrollHorizontal(ScrollType scroll_type, gfloat position)
Scroll horizontal

Parameters:
scroll_type -
position -

scrollVertical

void scrollVertical(ScrollType scroll_type, gfloat position)
Scroll Vertical

Parameters:
scroll_type -
position -

toggleAddMode

void toggleAddMode()
Toggle add mode

toggleFocusRow

void toggleFocusRow()
toggle focus row.

toggleRow

void toggleRow(Widget item)
Toggle row

undoSelection

void undoSelection()
Undo selection

endDragSelection

void endDragSelection()
End drag Selection