|
static void | Fl::add_handler (Fl_Event_Handler h) |
| Install a function to parse unrecognized events. More...
|
|
static void | Fl::add_system_handler (Fl_System_Handler h, void *data) |
| Install a function to intercept system events. More...
|
|
static Fl_Widget * | Fl::belowmouse () |
| Gets the widget that is below the mouse. More...
|
|
static void | Fl::belowmouse (Fl_Widget *) |
| Sets the widget that is below the mouse. More...
|
|
static int | Fl::compose (int &del) |
| Any text editing widget should call this for each FL_KEYBOARD event. More...
|
|
static void | Fl::compose_reset () |
| If the user moves the cursor, be sure to call Fl::compose_reset(). More...
|
|
static void | Fl::disable_im () |
| Disables the system input methods facilities. More...
|
|
static void | Fl::enable_im () |
| Enables the system input methods facilities. More...
|
|
static int | Fl::event () |
| Returns the last event that was processed. More...
|
|
static int | Fl::event_alt () |
| Returns non-zero if the Alt key is pressed.
|
|
static int | Fl::event_button () |
| Gets which particular mouse button caused the current event. More...
|
|
static int | Fl::event_button1 () |
| Returns non-zero if mouse button 1 is currently held down. More...
|
|
static int | Fl::event_button2 () |
| Returns non-zero if button 2 is currently held down. More...
|
|
static int | Fl::event_button3 () |
| Returns non-zero if button 3 is currently held down. More...
|
|
static int | Fl::event_buttons () |
| Returns the mouse buttons state bits; if non-zero, then at least one button is pressed now. More...
|
|
static int | Fl::event_clicks () |
| Returns non zero if we had a double click event. More...
|
|
static void | Fl::event_clicks (int i) |
| Manually sets the number returned by Fl::event_clicks(). More...
|
|
static void * | Fl::event_clipboard () |
| During an FL_PASTE event of non-textual data, returns a pointer to the pasted data. More...
|
|
static const char * | Fl::event_clipboard_type () |
| Returns the type of the pasted data during an FL_PASTE event. More...
|
|
static int | Fl::event_command () |
| Returns non-zero if the FL_COMMAND key is pressed, either FL_CTRL or on OSX FL_META.
|
|
static int | Fl::event_ctrl () |
| Returns non-zero if the Control key is pressed.
|
|
static Fl_Event_Dispatch | Fl::event_dispatch () |
| Return the current event dispatch function.
|
|
static void | Fl::event_dispatch (Fl_Event_Dispatch d) |
| Set a new event dispatch function. More...
|
|
static int | Fl::event_dx () |
| Returns the current horizontal mouse scrolling associated with the FL_MOUSEWHEEL event. More...
|
|
static int | Fl::event_dy () |
| Returns the current vertical mouse scrolling associated with the FL_MOUSEWHEEL event. More...
|
|
static int | Fl::event_inside (const Fl_Widget *) |
| Returns whether or not the mouse event is inside a given child widget. More...
|
|
static int | Fl::event_inside (int, int, int, int) |
| Returns whether or not the mouse event is inside the given rectangle. More...
|
|
static int | Fl::event_is_click () |
| Returns non-zero if the mouse has not moved far enough and not enough time has passed since the last FL_PUSH or FL_KEYBOARD event for it to be considered a "drag" rather than a "click". More...
|
|
static void | Fl::event_is_click (int i) |
| Clears the value returned by Fl::event_is_click(). More...
|
|
static int | Fl::event_key () |
| Gets which key on the keyboard was last pushed. More...
|
|
static int | Fl::event_key (int key) |
| Returns true if the given key was held down (or pressed) during the last event. More...
|
|
static int | Fl::event_length () |
| Returns the length of the text in Fl::event_text(). More...
|
|
static int | Fl::event_original_key () |
| Returns the keycode of the last key event, regardless of the NumLock state. More...
|
|
static int | Fl::event_shift () |
| Returns non-zero if the Shift key is pressed.
|
|
static int | Fl::event_state () |
| Returns the keyboard and mouse button states of the last event. More...
|
|
static int | Fl::event_state (int mask) |
| Returns non-zero if any of the passed event state bits are turned on. More...
|
|
static const char * | Fl::event_text () |
| Returns the text associated with the current event, including FL_PASTE or FL_DND_RELEASE events. More...
|
|
static int | Fl::event_x () |
| Returns the mouse position of the event relative to the Fl_Window it was passed to.
|
|
static int | Fl::event_x_root () |
| Returns the mouse position on the screen of the event. More...
|
|
static int | Fl::event_y () |
| Returns the mouse position of the event relative to the Fl_Window it was passed to.
|
|
static int | Fl::event_y_root () |
| Returns the mouse position on the screen of the event. More...
|
|
static Fl_Widget * | Fl::focus () |
| Gets the current Fl::focus() widget. More...
|
|
static void | Fl::focus (Fl_Widget *) |
| Sets the widget that will receive FL_KEYBOARD events. More...
|
|
static int | Fl::get_key (int key) |
| Returns true if the given key is held down now. More...
|
|
static void | Fl::get_mouse (int &, int &) |
| Return where the mouse is on the screen by doing a round-trip query to the server. More...
|
|
static int | Fl::handle (int, Fl_Window *) |
| Handle events from the window system. More...
|
|
static int | Fl::handle_ (int, Fl_Window *) |
| Handle events from the window system. More...
|
|
static Fl_Widget * | Fl::pushed () |
| Gets the widget that is being pushed. More...
|
|
static void | Fl::pushed (Fl_Widget *) |
| Sets the widget that is being pushed. More...
|
|
static void | Fl::remove_handler (Fl_Event_Handler h) |
| Removes a previously added event handler. More...
|
|
static void | Fl::remove_system_handler (Fl_System_Handler h) |
| Removes a previously added system event handler. More...
|
|
static int | Fl::test_shortcut (Fl_Shortcut) |
| Tests the current event, which must be an FL_KEYBOARD or FL_SHORTCUT, against a shortcut value (described in Fl_Button). More...
|
|