SListG Class Reference

List of all members.

Detailed Description

A single linked list.

This is not intended to be used outside the GTK context.


Public Member Functions

 this ()
 Creates a new SListG.
 this (OGTK[] gtks)
 Creates a list from an array of OGTK.
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.


Member Function Documentation

void SListG.append char[]  str  ) 
 

Appends an entry to this list.

Parameters:
str the text to append

guint SListG.length  ) 
 

Getst the length of this list.

Returns:
the length of this list

gpointer SListG.nthData guint  n  ) 
 

Gets the nth element of this list.

Returns:
a pointer the the nth element of this list

GSList* SListG.obj  ) 
 

Gets the GObject.

Returns:
the GSList

void SListG.prepend char[]  str  ) 
 

Preppends an entry to this list.

Parameters:
str the text to append

SListG.this OGTK[]  gtks  ) 
 

Creates a list from an array of OGTK.

Parameters:
gtks the array of OGTK

SListG.this  ) 
 

Creates a new SListG.


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