GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

GlistBox Class Reference

#include <GlistBox.h>

Inheritance diagram for GlistBox:

Gwidget Gobject List of all members.

Public Methods

 GlistBox ()
 ~GlistBox ()
void Append (Gstring s)
void Remove (Gstring s)
void Append (const char *item)
void Remove (const char *s)
virtual void OnAction (Gwidget *w, GdkEvent *e)
GlistItemGetItem ()

Detailed Description

A list item selection control.
Author(s):
Thiabut Nicolas
Version:
0.1.0


Constructor & Destructor Documentation

GlistBox::GlistBox ( )
 

Construct an empty listbox


Member Function Documentation

void GlistBox::Append ( const char * item )
 

Append an item to the list

void GlistBox::Append ( Gstring s )
 

Append an item to the list

GlistItem * GlistBox::GetItem ( )
 

Return the item actually selected in the box

Returns:
the item selected (can be NULL)

virtual void GlistBox::OnAction ( Gwidget * w,
GdkEvent * e ) [virtual]
 

Action performed when a child widget sent an event

Reimplemented from Gwidget.

void GlistBox::Remove ( const char * s )
 

Remove an item from the list

void GlistBox::Remove ( Gstring s )
 

Remove an item from the list


The documentation for this class was generated from the following file:

Copyright © 2002 Thibaut Nicolas
Last modified  lun sep 23 23:41:26 EDT 2002