[][src]Module fltk::app

Re-exports

pub use crate::enums::*;

Structs

App

Unlocks the main UI thread Basic Application struct, used to instatiate, set the scheme and run the event loop

Enums

AppScheme

Set the app scheme

Functions

event

Returns the latest captured event

event_button

Returns the captured button event

event_char

Gets the character representation of the keyboard event

event_clicks

Returns the number of clicks

event_coords

Returns the x and y coordinates of the captured event

event_is_click

Determines whether an event was a click

event_key

Returns the presed key

event_length

Returns the duration of an event

event_state

Returns the state of the event

event_text

Returns a textual representation of the latest event

paste

Used for widgets implementing the InputTrait, pastes content from the clipboard

screen_size

Returns a pair of the width and height of the screen

set_callback

Sets the callback of a widget