Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.SListG

Class SListG

Implemented interfaces:


public class

SListG



A single linked list.
This is not intended to be used outside the GTK context.

Constructor Summary
(GSList* gsList)
          
public ()
          Creates a new SListG
(OGTK[] gtks)
          Creates a list from an array of OGTK

Methods Summary
GSList* obj()
          Gets the GObject
void append(char str)
          Appends an entry to this list
void prepend(char str)
          Preppends an entry to this list
guint length()
          Getst the length of this list
gpointer nthData(guint n)
          Gets the nth element of this list




ctor(SListG)(GSList* gsList)



public ctor(SListG)()
Creates a new SListG



ctor(SListG)(OGTK[] gtks)
Creates a list from an array of OGTK

Parameters:
gtks - the array of OGTK

obj

GSList* obj()
Gets the GObject

Returns:
the GSList

append

void append(char str)
Appends an entry to this list

Parameters:
str - the text to append

prepend

void prepend(char str)
Preppends an entry to this list

Parameters:
str - the text to append

length

guint length()
Getst the length of this list

Returns:
the length of this list

nthData

gpointer nthData(guint n)
Gets the nth element of this list

Returns:
a pointer the the nth element of this list