GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

GentryText Class Reference

#include <GentryText.h>

Inheritance diagram for GentryText:

Gwidget Gobject List of all members.

Public Methods

 GentryText (const char *text)
 GentryText ()
 GentryText (Gstring text)
 ~GentryText ()
Gstring GetText ()
void SetText (Gstring text)
virtual void OnEvent (GdkEvent *e, void *user_data)

Detailed Description

The GentryText provide a single line of text for enter data. Send an event to its parent when Enter key is pressed.
Author(s):
Thibaut Nicolas
Version:
0.1.0
Examples:

entry.cpp.


Constructor & Destructor Documentation

GentryText::GentryText ( const char * text )
 

Construct a GentryText

Parameters:
text   the initial text of the widget

GentryText::GentryText ( )
 

Construct an empty GentryText

GentryText::GentryText ( Gstring text )
 

Construct a GentryText

Parameters:
text   the initial text of the widget


Member Function Documentation

Gstring GentryText::GetText ( )
 

Return a copy of the text contained in the entry

Examples:
entry.cpp.

virtual void GentryText::OnEvent ( GdkEvent * e,
void * user_data ) [virtual]
 

Action performed when an event occur

Reimplemented from Gwidget.

void GentryText::SetText ( Gstring text )
 

Set the text of the entry

Examples:
entry.cpp.


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