Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Fl_Input Class Reference

Fl_Input. More...

#include <Fl_Input.h>

Inheritance diagram for Fl_Input:

Fl_Widget Fl_FileInput Fl_Masked_Input Fl_Multiline_Input Fl_Numeric_Input Fl_Output Fl_Secret_Input Fl_Wordwrap_Input Fl_Float_Input Fl_Multiline_Output Fl_Wordwrap_Output Fl_Int_Input List of all members.

Public Types

enum  {

Public Methods

 Fl_Input (int, int, int, int, const char *=0)
 Creates new input widget using the given position, size, and label string.

 Fl_Input (const char *l=0, int layout_size=30, Fl_Align layout_al=FL_ALIGN_TOP, int label_w=100)
 Creates new input widget using the label, size, alignment, and label width.

virtual ~Fl_Input ()

int input_type () const
void input_type (int t)
int text_align () const
void text_align (int v)
int readonly () const
void readonly (int b)
int wordwrap () const
void wordwrap (int b)
virtual void preferred_size (int &w, int &h) const
virtual void reset ()
virtual void draw ()
virtual void draw (int x, int y, int w, int h)
virtual int handle (int)
virtual int handle (int event, int x, int y, int w, int h)
bool value (const char *)
bool value (const char *, int)
bool static_value (const char *)
bool static_value (const char *, int)
const char * value () const
char index (int i) const
int size () const
int maximum_size () const
void maximum_size (int m)
virtual bool load_data (Fl_Data_Source *ds)
virtual bool save_data (Fl_Data_Source *ds)
int position () const
int mark () const
void position (int p, int m)
void position (int p)
void up_down_position (int position, bool extend)
void mark (int m)
virtual bool replace (int, int, const char *, int)
bool cut ()
bool cut (int n)
bool cut (int a, int b)
bool insert (const char *t, int l=0)
bool replace (int a, int b, char c)
bool copy (bool clipboard=true)
bool undo ()
void maybe_do_callback ()
int word_start (int i) const
int word_end (int i) const
int line_start (int i) const
int line_end (int i) const
int mouse_position (int, int, int, int) const
int xscroll () const
int yscroll () const
 DEFSLOT_O (Fl_Widget, Fl_Input, slot_value, char *)
void slot_value (char *s)

Static Public Attributes


Detailed Description


Definition at line 29 of file Fl_Input.h.

The documentation for this class was generated from the following file:
Generated on Thu Jul 31 15:33:48 2003 for eFLTK by doxygen1.2.15