Main Page | Class Hierarchy | Class List | File List | Class Members

Flu_Int_Input Class Reference

This class simply extends Fl_Int_Input to allow getting/setting the widget value as integers instead of strings. More...

#include <Flu_Int_Input.h>

List of all members.

Public Member Functions

 Flu_Int_Input (int X, int Y, int W, int H, const char *l=0)
 Normal FLTK widget constructor.

 ~Flu_Int_Input ()
 Default destructor.

void format (const char *f)
 Set the format to use when printing the value into the input area. Only the pointer to f is copied. Default is "%d".

const char * format () const
 Get the format to use when printing the value into the input area.

int ivalue () const
 the value of the widget as an integer

void ivalue (int v, const char *format=0)
 Set the value of the widget as an integer using the given printf style format string.


Detailed Description

This class simply extends Fl_Int_Input to allow getting/setting the widget value as integers instead of strings.


The documentation for this class was generated from the following file:
Generated on Fri Nov 5 12:41:32 2004 for FLTK Utility Library and Widget Collection (FLU) by doxygen 1.3.5