mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Improve doc of Fl_Widget::test_shortcut() methods
This removes a \todo item.
This commit is contained in:
@@ -211,9 +211,6 @@ keypress does not match the character.
|
|||||||
\par
|
\par
|
||||||
The second version lets you do this test against an arbitrary string.
|
The second version lets you do this test against an arbitrary string.
|
||||||
|
|
||||||
\todo Clarify Fl_Widget::test_shortcut() explanations. Fl_Widget.h
|
|
||||||
says Internal Use only, but subclassing chapter gives details!
|
|
||||||
|
|
||||||
\anchor subclassing_type
|
\anchor subclassing_type
|
||||||
uchar Fl_Widget::type() const <br>
|
uchar Fl_Widget::type() const <br>
|
||||||
void Fl_Widget::type(uchar t)
|
void Fl_Widget::type(uchar t)
|
||||||
|
|||||||
+2
-2
@@ -329,7 +329,7 @@ unsigned int Fl_Widget::label_shortcut(const char *t) {
|
|||||||
\return true, if the entered text matches the '&x' shortcut in \p t
|
\return true, if the entered text matches the '&x' shortcut in \p t
|
||||||
false (0) otherwise.
|
false (0) otherwise.
|
||||||
|
|
||||||
\note Internal use only.
|
\note Useful when a widget's handle(int) method needs dedicated processing of FL_SHORTCUT.
|
||||||
*/
|
*/
|
||||||
int Fl_Widget::test_shortcut(const char *t, const bool require_alt) {
|
int Fl_Widget::test_shortcut(const char *t, const bool require_alt) {
|
||||||
static int extra_test = Fl::system_driver()->need_test_shortcut_extra();
|
static int extra_test = Fl::system_driver()->need_test_shortcut_extra();
|
||||||
@@ -363,7 +363,7 @@ int Fl_Widget::test_shortcut(const char *t, const bool require_alt) {
|
|||||||
\return true, if the entered text matches the widget's'&x' shortcut,
|
\return true, if the entered text matches the widget's'&x' shortcut,
|
||||||
false (0) otherwise.
|
false (0) otherwise.
|
||||||
|
|
||||||
\note Internal use only.
|
\note Useful when a widget's handle(int) method needs dedicated processing of FL_SHORTCUT.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int Fl_Widget::test_shortcut() {
|
int Fl_Widget::test_shortcut() {
|
||||||
|
|||||||
Reference in New Issue
Block a user