fltk  1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
  Fossies Dox: fltk-1.3.5-source.tar.bz2  ("inofficial" and yet experimental doxygen-generated source code documentation)  

Fl_Choice.H
Go to the documentation of this file.
1 //
2 // "$Id$"
3 //
4 // Choice header file for the Fast Light Tool Kit (FLTK).
5 //
6 // Copyright 1998-2010 by Bill Spitzak and others.
7 //
8 // This library is free software. Distribution and use rights are outlined in
9 // the file "COPYING" which should have been included with this file. If this
10 // file is missing or damaged, see the license at:
11 //
12 // http://www.fltk.org/COPYING.php
13 //
14 // Please report all bugs and problems on the following page:
15 //
16 // http://www.fltk.org/str.php
17 //
18 
19 /* \file
20  Fl_Choice widget . */
21 
22 #ifndef Fl_Choice_H
23 #define Fl_Choice_H
24 
25 #include "Fl_Menu_.H"
26 
83 class FL_EXPORT Fl_Choice : public Fl_Menu_ {
84 protected:
85  void draw();
86 public:
87  int handle(int);
88 
89  Fl_Choice(int X, int Y, int W, int H, const char *L = 0);
90 
95  int value() const {return Fl_Menu_::value();}
96 
97  int value(int v);
98 
99  int value(const Fl_Menu_Item* v);
100 };
101 
102 #endif
103 
104 //
105 // End of "$Id$".
106 //
Fl_Choice
A button that is used to pop up a menu.
Definition: Fl_Choice.H:83
H
static int H
Definition: Fl_Tooltip.cxx:76
FL_EXPORT
#define FL_EXPORT
Definition: Fl_Export.H:35
Fl_Choice::value
int value() const
Definition: Fl_Choice.H:95
Fl_Menu_.H
Fl_Menu_
Definition: Fl_Menu_.H:51
Fl_Menu_::value
int value() const
Definition: Fl_Menu_.H:140
Fl_Widget::handle
virtual int handle(int event)
Definition: Fl_Widget.cxx:112
Fl_Menu_Item
Definition: Fl_Menu_Item.H:112
Fl_Widget::draw
virtual void draw()=0
Y
static int Y
Definition: Fl_Tooltip.cxx:76