FLTK 1.3.2
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
Fl_Menu_Button.H
1
//
2
// "$Id: Fl_Menu_Button.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
3
//
4
// Menu button 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_Menu_Button widget . */
21
22
#ifndef Fl_Menu_Button_H
23
#define Fl_Menu_Button_H
24
25
#include "Fl_Menu_.H"
26
50
class
FL_EXPORT
Fl_Menu_Button
:
public
Fl_Menu_
{
51
protected
:
52
void
draw
();
53
public
:
60
enum
popup_buttons
{POPUP1 = 1,
61
POPUP2
,
62
POPUP12
,
63
POPUP3
,
64
POPUP13
,
65
POPUP23
,
66
POPUP123
67
};
68
int
handle
(
int
);
69
const
Fl_Menu_Item
* popup();
70
Fl_Menu_Button
(
int
,
int
,
int
,
int
,
const
char
* =0);
71
};
72
73
#endif
74
75
//
76
// End of "$Id: Fl_Menu_Button.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
77
//
Fl_Menu_Button::POPUP13
pops up with the mouse 1st or 3rd buttons.
Definition:
Fl_Menu_Button.H:64
Fl_Widget::handle
virtual int handle(int event)
Handles the specified event.
Definition:
Fl_Widget.cxx:97
Fl_Menu_Button
This is a button that when pushed pops up a menu (or hierarchy of menus) defined by an array of Fl_Me...
Definition:
Fl_Menu_Button.H:50
Fl_Widget::draw
virtual void draw()=0
Draws the widget.
Fl_Menu_Button::popup_buttons
popup_buttons
indicate what mouse buttons pop up the menu.
Definition:
Fl_Menu_Button.H:60
Fl_Menu_Button::POPUP12
pops up with the mouse 1st or 2nd buttons.
Definition:
Fl_Menu_Button.H:62
Fl_Menu_Button::POPUP23
pops up with the mouse 2nd or 3rd buttons.
Definition:
Fl_Menu_Button.H:65
Fl_Menu_Button::POPUP3
pops up with the mouse 3rd button.
Definition:
Fl_Menu_Button.H:63
Fl_Menu_Item
The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class...
Definition:
Fl_Menu_Item.H:109
Fl_Menu_Button::POPUP2
pops up with the mouse 2nd button.
Definition:
Fl_Menu_Button.H:61
Fl_Menu_
Base class of all widgets that have a menu in FLTK.
Definition:
Fl_Menu_.H:39
© 1998-2012 by Bill Spitzak and others.