GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

Gtext Class Reference

#include <Gtext.h>

Inheritance diagram for Gtext:

Gwidget Gobject List of all members.

Public Methods

 Gtext (const char *text)
 Gtext (Gstring text)
 ~Gtext ()
Gstring GetText ()
void SetText (Gstring text)
void SetEditable (bool editable)
int Length ()
void Clear ()
void SetBackgroundColor (Gcolor col)
void SetForegroundColor (Gcolor col)
void SetFont (Gfont f)
void Insert (Gstring text)

Detailed Description

The Gtext provide a scrollable text area designed to enter multi lined text.
Author(s):
Thibaut Nicolas
Version:
0.1.0


Member Function Documentation

void Gtext::Clear ( )
 

Clear the text in the area

Gstring Gtext::GetText ( )
 

Get the text of the control

void Gtext::Insert ( Gstring text )
 

Insert a text in the text area

int Gtext::Length ( )
 

Return the length of the text contained in the text area

void Gtext::SetBackgroundColor ( Gcolor col )
 

Set the background color of the text

void Gtext::SetEditable ( bool editable )
 

Set if the the text area is editable

void Gtext::SetFont ( Gfont f )
 

Set the Font of the text

void Gtext::SetForegroundColor ( Gcolor col )
 

Set the foreground color of the text

void Gtext::SetText ( Gstring text )
 

Set the text of the control


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