|
|
On 1/12/22 6:42 AM, ManoloFLTK wrote:
>
> I confess I'm lost about what's the purpose of Fl_Widget::visible_focus(int) .
>
As I recall, with respect to button widgets, it was the way to disable the focus box
from being drawn on e.g. button like widgets where the focus box is inappropriate
to see due to the needs of the application, such as buttons that are flat or invisible,
and not intended to be seen as a button (e.g. invisible buttons positioned over images
or other graphics, or buttons that had to be clicked to be activated, and never pushed
by keyboard activity, etc)
IIRC disabling this had the effect of disabling the widget from taking focus,
perhaps to prevent accidental triggering by a stray keyhit because there's
no visual feedback to the user that the widget has focus.
I'm only familiar with this feature in the context of buttons, not input widgets.
— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/366/1011468651@github.com>
[ Direct Link to Message ] | |
|
| |