Re: [jupyter] setting focus on a widget

2018-05-11 Thread Randy Heiland
Thanks for the prompt reply! If you're suggesting there are other ways, I'd
be curious. Basically, I'm just looking for any way to make it easier on
the user (including me). Being able to tab-select over multiple widgets on
a panel sort of helps, but not so much for my layout. And I find it
slightly annoying to have to move my mouse carefully onto the small-ish
slider circle to select it. I know, we're incredibly spoiled :)

On Fri, May 11, 2018 at 12:56 PM, Jason Grout  wrote:

> Clarifying to make sure we're talking about the same thing: No, there's
> not a way to change the frontend focus from python in the core ipywidgets
> system.
>
> On Fri, May 11, 2018 at 9:55 AM Jason Grout  wrote:
>
>> No, there's not a way to change the frontend focus from python.
>>
>> Jason
>>
>>
>> On Fri, May 11, 2018 at 9:45 AM Randy Heiland 
>> wrote:
>>
>>> Is there a way to programmatically give a widget focus? I have a
>>> multi-tabbed UI and would like to have the slider on an 'interactive'
>>> widget have focus when I select the tab in which it lives (so the user can
>>> immediately press keys to step the slider).
>>>
>>> thanks, Randy
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jupyter+unsubscr...@googlegroups.com.
>>> To post to this group, send email to jupyter@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/jupyter/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Project Jupyter" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jupyter/stFRKanOW5c/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/CAPDWZHyu9dBQqmXDwi7CHJ02OJOK1knHZtM84nrYzEBktSB-1g%40mail.
> gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAO_spu4y2ugSasWkdE40X1R32HShORTcH9SV%2BC_AQmQc-StuRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] setting focus on a widget

2018-05-11 Thread Jason Grout
Clarifying to make sure we're talking about the same thing: No, there's not
a way to change the frontend focus from python in the core ipywidgets
system.

On Fri, May 11, 2018 at 9:55 AM Jason Grout  wrote:

> No, there's not a way to change the frontend focus from python.
>
> Jason
>
>
> On Fri, May 11, 2018 at 9:45 AM Randy Heiland 
> wrote:
>
>> Is there a way to programmatically give a widget focus? I have a
>> multi-tabbed UI and would like to have the slider on an 'interactive'
>> widget have focus when I select the tab in which it lives (so the user can
>> immediately press keys to step the slider).
>>
>> thanks, Randy
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Project Jupyter" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jupyter+unsubscr...@googlegroups.com.
>> To post to this group, send email to jupyter@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jupyter/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHyu9dBQqmXDwi7CHJ02OJOK1knHZtM84nrYzEBktSB-1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [jupyter] setting focus on a widget

2018-05-11 Thread Jason Grout
No, there's not a way to change the frontend focus from python.

Jason


On Fri, May 11, 2018 at 9:45 AM Randy Heiland 
wrote:

> Is there a way to programmatically give a widget focus? I have a
> multi-tabbed UI and would like to have the slider on an 'interactive'
> widget have focus when I select the tab in which it lives (so the user can
> immediately press keys to step the slider).
>
> thanks, Randy
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to jupyter@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jupyter/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAPDWZHyPAUw5RtU%2BHgidoHNB2Se_3UTg4LT3Bjq%3DiHKmVkq04w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[jupyter] setting focus on a widget

2018-05-11 Thread Randy Heiland
Is there a way to programmatically give a widget focus? I have a 
multi-tabbed UI and would like to have the slider on an 'interactive' 
widget have focus when I select the tab in which it lives (so the user can 
immediately press keys to step the slider).

thanks, Randy

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To post to this group, send email to jupyter@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/ca466ba6-b5d5-4460-946c-e8ed8b4b5538%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.