Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GInput Class Reference

This class displays a window with a message and an edit box to enter a string. More...

#include <GInput.h>

Inheritance diagram for GInput:

GDialog GWindow GLgiRes GView GTarget GEvent GFlags List of all members.

Public Member Functions

 GInput (GView *parent, char *InitStr="", char *Msg="Enter String", char *Title="Input", bool Password=false)
 Constructs the dialog.
int OnNotify (GView *Ctrl, int Flags)
 Called when a child view or view with it's SetNotify() set to this window changes.

Detailed Description

This class displays a window with a message and an edit box to enter a string.


Constructor & Destructor Documentation

GInput::GInput GView parent,
char *  InitStr = "",
char *  Msg = "Enter String",
char *  Title = "Input",
bool  Password = false
 

Constructs the dialog.

Parameters:
parent  The parent view
InitStr  The initial value in the edit box
Msg  The message to display in the text box
Title  The title of the window
Password  True if you want the edit box characters hashed out for a password


Member Function Documentation

int GInput::OnNotify GView Ctrl,
int  Flags
[virtual]
 

Called when a child view or view with it's SetNotify() set to this window changes.

The event by default will bubble up to the GWindow at the top of the window heirarchy visiting each GView on the way. If it reaches a GView that processes it then the event stops propergating up the heirarchy.

Reimplemented from GView.


The documentation for this class was generated from the following files:
Generated on Wed Oct 26 14:46:59 2005 for Lgi by  doxygen 1.4.1