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

GInput Class Reference

#include <GInput.h>

Inheritance diagram for GInput:

GDialog GWindow GLgiRes GView List of all members.

Public Member Functions

 GInput (GViewI *parent, char *InitStr="", char *Msg="Enter String", char *Title="Input", bool Password=false)
 Constructs the dialog.
int OnNotify (GViewI *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. Once constructed, use the GDialog::DoModal() call to run the input window, it returns TRUE if 'Ok' is clicked.


Constructor & Destructor Documentation

GInput::GInput GViewI *  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 GViewI *  Ctrl,
int  Flags
 

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 Tue May 2 10:24:50 2006 for Lgi by  doxygen 1.4.1