From 9d67c780444ef20fce6ed182d8273f94d4a25df5 Mon Sep 17 00:00:00 2001 From: Vladimir Markelov Date: Sat, 13 Jan 2018 14:11:55 -0800 Subject: [PATCH] #67 - add a document about predefined hotkeys --- README.md | 1 + VERSION | 2 +- changelog | 4 +++- docs/hotkeys.md | 23 +++++++++++++++++++++++ 4 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 docs/hotkeys.md diff --git a/README.md b/README.md index 0a10a17..44262c6 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ The current version is 0.6.2. Please see details in [changelog](./changelog). * ![Layout manager](/docs/layout.md) * ![Basic standrd control methods and properties](/docs/widget.md) * ![About Windows](/docs/window.md) +* ![Predefined hotkeys](/docs/hotkeys.md) ## The list of available controls * Window (Main control container - with maximize, window order and other window features) diff --git a/VERSION b/VERSION index 31450a2..1e010cf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.6.3 +0.6.4 diff --git a/changelog b/changelog index b7f17ec..b661708 100644 --- a/changelog +++ b/changelog @@ -1,4 +1,6 @@ -2018-01-02 - version 0.6.3 +2018-01-13 - version 0.6.4 +[*] Add a workaround for 'false' key presses fired after clicking mouse on OSX +2018-01-02 - version 0.6.3 [+] Add a new boolean property for EditField - PasswordMode. If PasswordMode is true then the editfield text is hidden with 'stars'. Please see demo demos/editfield for details diff --git a/docs/hotkeys.md b/docs/hotkeys.md new file mode 100644 index 0000000..36a21b1 --- /dev/null +++ b/docs/hotkeys.md @@ -0,0 +1,23 @@ +# Hotkeys used in the library +The following hotkeys are built-in ones and cannot be overrided or disabled from an application + +### Global hotkeys +- Ctrl+Q Ctrl+Q - exit application + +### Window manipulations +- Ctrl+W Ctrl+H - moves the active Window to the bottom of window stack +- Ctrl+W Ctrl+M - maximizes/restores the active Window +- Ctrl+W Ctrl+C - closes the active Window. If the windows is the last visible window of an application then application closes as well +- Ctrl+P - changes active Window position: moves Window to the direction of +- Ctrl+S - changes active Window size: Left and Down increase width and height, Right and Up decrease width and height + +Note: Ctrl+P and Ctrl+S are sticky combinations. It means that if you want to move/resize active Window by more tham one character you do not need to press Ctrl+P or Ctrl+S every time. You just press Ctrl+S/P and then press the same arrow key as many times as you need. Sticky mode is off when you press any key other key. + +### Control interaction in a Window +- TAB - selects the next control inside active Window +- Alt+PgDn - the same as TAB +- Alt+PgUp - selects the previous control inside active Window +- Space - click Button, Checkbox or RadioGroup control if the control is active +- Ctrl+C - copy text from active EditField (currently is not supported on OSX) +- Ctrl+V - paste text to active EditField - old text is replaced (currently is not supported on OSX) +- Ctrl+R - clears the active EditField