FLTK: Fl_Menu_Item.H File Reference

FLTK

Classes | Typedefs | Enumerations | Functions
Fl_Menu_Item.H File Reference
`#include "Fl_Widget.H"`
`#include "Fl_Image.H"`

Go to the source code of this file.

## Classes
struct | Fl_Menu_Item
| The Fl_Menu_Item structure defines a single menu item that is used by the Fl_Menu_ class. More...

## Typedefs
typedef Fl_Menu_Item | Fl_Menu

## Enumerations
enum | { FL_READ = 1, FL_WRITE = 4, FL_EXCEPT = 8, FL_SOLID = 0, FL_DASH = 1, FL_DOT = 2, FL_DASHDOT = 3, FL_DASHDOTDOT = 4, FL_CAP_FLAT = 0x100, FL_CAP_ROUND = 0x200, FL_CAP_SQUARE = 0x300, FL_JOIN_MITER = 0x1000, FL_JOIN_ROUND = 0x2000, FL_JOIN_BEVEL = 0x3000, FL_MENU_INACTIVE = 1, FL_MENU_TOGGLE = 2, FL_MENU_VALUE = 4, FL_MENU_RADIO = 8, FL_MENU_INVISIBLE = 0x10, FL_SUBMENU_POINTER = 0x20, FL_SUBMENU = 0x40, FL_MENU_DIVIDER = 0x80, FL_MENU_HORIZONTAL = 0x100, FL_PLACE_FREE = 0, FL_PLACE_MOUSE = 1, FL_PLACE_CENTER = 2, FL_PLACE_POSITION = 4, FL_PLACE_SIZE = 8, FL_PLACE_GEOMETRY =16, FL_PLACE_ASPECT = 32, FL_PLACE_FULLSCREEN =64, FL_PLACE_HOTSPOT = 128, FL_PLACE_ICONIC = 256, FL_FREE_SIZE =(1<<14), FL_FIX_SIZE =(1<<15), GLUT_NORMAL, GLUT_OVERLAY, M_RGB, M_BYTE, M_HEX, M_HSV, UPPER_LEFT, LOWER_RIGHT, CLOSED, FILL, UPPER_LEFT, LOWER_RIGHT, CLOSED, FILL, LEFT, RIGHT, SELECTED }
enum | { FL_PUP_NONE = 0, FL_PUP_GREY = FL_MENU_INACTIVE, FL_PUP_GRAY = FL_MENU_INACTIVE, FL_MENU_BOX = FL_MENU_TOGGLE, FL_PUP_BOX = FL_MENU_TOGGLE, FL_MENU_CHECK = FL_MENU_VALUE, FL_PUP_CHECK = FL_MENU_VALUE, FL_PUP_RADIO = FL_MENU_RADIO, FL_PUP_INVISIBLE = FL_MENU_INVISIBLE, FL_PUP_SUBMENU = FL_SUBMENU_POINTER, FL_NOBORDER = 0, FL_FULLBORDER, FL_TRANSIENT, GLUT_LEFT, GLUT_ENTERED }

## Functions
FL_EXPORT Fl_Shortcut | fl_old_shortcut (const char *)
| Emulation of XForms named shortcuts. More...

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
FL_READ | Call the callback when there is data to be read.
FL_WRITE | Call the callback when data can be written without blocking.
FL_EXCEPT | Call the callback if an exception occurs on the file.
FL_SOLID | line style: `___________`
FL_DASH | line style: `_ _ _ _ _ _`
FL_DOT | line style: `. . . . . .`
FL_DASHDOT | line style: `_ . _ . _ .`
FL_DASHDOTDOT | line style: `_ . . _ . .`
FL_CAP_FLAT | cap style: end is flat
FL_CAP_ROUND | cap style: end is round
FL_CAP_SQUARE | cap style: end wraps end point
FL_JOIN_MITER | join style: line join extends to a point
FL_JOIN_ROUND | join style: line join is rounded
FL_JOIN_BEVEL | join style: line join is tidied
FL_MENU_INACTIVE | Deactivate menu item (gray out)
FL_MENU_TOGGLE | Item is a checkbox toggle (shows checkbox for on/off state)
FL_MENU_VALUE | The on/off state for checkbox/radio buttons (if set, state is 'on')
FL_MENU_RADIO | Item is a radio button (one checkbox of many can be on)
FL_MENU_INVISIBLE | Item will not show up (shortcut will work)
FL_SUBMENU_POINTER | Indicates user_data() is a pointer to another menu array.
FL_SUBMENU | This item is a submenu to other items.
FL_MENU_DIVIDER | Creates divider line below this item. Also ends a group of radio buttons.
FL_MENU_HORIZONTAL | ??? – reserved
M_RGB | mode() of Fl_Color_Chooser showing RGB values
M_BYTE | mode() of Fl_Color_Chooser showing byte values
M_HEX | mode() of Fl_Color_Chooser showing hex values
M_HSV | mode() of Fl_Color_Chooser showing HSV values

- © 1998-2016 by Bill Spitzak and others.