Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.ListItem

Class ListItem

Implemented interfaces:

Item
public class

ListItem



This is an item that can be part of a list.

Constructor Summary
(GtkWidget *gtkWidget)
          Creates a new List item from a GtkWidget
()
          Creates a new ListItem
(char label)
          Creates a new list item with a label

Methods Summary
public static GType getType()
          Gets this class type
void select()
          Selects this item
void deselect()
          Deselect this item
void select(bit selectStat)
          Sets the selection state of this item


getType

public static GType getType()
Gets this class type

Returns:
type



ctor(ListItem)(GtkWidget *gtkWidget)
Creates a new List item from a GtkWidget

Parameters:
gtkWidget - the gtk widget



ctor(ListItem)()
Creates a new ListItem



ctor(ListItem)(char label)
Creates a new list item with a label

Parameters:
label - the label text

select

void select()
Selects this item

deselect

void deselect()
Deselect this item

select

void select(bit selectStat)
Sets the selection state of this item

Parameters:
selectStat - the bew selected state