Tooltips do not appear !

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Tooltips do not appear !

Christophe Grimault
Hello,

I wrote a bunch of tooltip in my application, and I'm quite
disappointed :

Those written on buttons going in the toolbar or views appear when mouse
is over,

Those written Action going in menus never appear ! For example :

clean_networks_action = Action(
    name   = 'Clean all',
    action = 'handler.clean_networks(info, object)',
    tooltip = 'Clean radio scene from from all existing networks',
    )

is included in the menu of a tree node with :

TreeNode( node_for  = [ NetworksScene ],
                  auto_open = True,
                  children  = 'networks',
                  label     = 'name',
                  view      = no_view,
                  menu = Menu(
                              clean_networks_action,
                              '_',
                              add_fdma_action,
                              add_gfdma_action,
                              add_tdma_action,
                                .....
Tooltip does not appear when this menu entry has mouse over it...

Is it a problem of wx + GTK ? Anyway, it's the same under windows ?

Is this feature really implemented ?

Any help appreciated !    


--
Christophe Grimault
NovaGrid SAS
Les jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé
France

tel : (33)2 23 41 37 97
web : www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Tooltips do not appear !

Jonathan March
Hi Christophe,
Perhaps I'm misunderstanding your question, but I don't think I've ever seen any application (not just ETS-based) on any platform that displays a tooltip over a menu entry. Have you?
Jonathan

On Wed, Jun 6, 2012 at 7:42 AM, Christophe Grimault <[hidden email]> wrote:
Hello,

I wrote a bunch of tooltip in my application, and I'm quite
disappointed :

Those written on buttons going in the toolbar or views appear when mouse
is over,

Those written Action going in menus never appear ! For example :

clean_networks_action = Action(
   name   = 'Clean all',
   action = 'handler.clean_networks(info, object)',
   tooltip = 'Clean radio scene from from all existing networks',
   )

is included in the menu of a tree node with :

TreeNode( node_for  = [ NetworksScene ],
                 auto_open = True,
                 children  = 'networks',
                 label     = 'name',
                 view      = no_view,
                 menu = Menu(
                             clean_networks_action,
                             '_',
                             add_fdma_action,
                             add_gfdma_action,
                             add_tdma_action,
                               .....
Tooltip does not appear when this menu entry has mouse over it...

Is it a problem of wx + GTK ? Anyway, it's the same under windows ?

Is this feature really implemented ?

Any help appreciated !


--
Christophe Grimault
NovaGrid SAS
Les jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé
France

tel : (33)2 23 41 37 97
web : www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Tooltips do not appear !

Christophe Grimault
Hi Jonathan,

Thanks for your answer. I also checked a couple of other apps, and I've
not seen tool tips on menus, either, at least close to the mouse
pointer.

Some, however, display it in the bottom of the window, as a single line
(I can't remember the name of this GUI feature). Wonders if traits UI
can do this ? Because, keyword 'tooltip' is there, so ...

Best regards

Chris  

On Wed, 2012-06-06 at 10:32 -0500, Jonathan March wrote:

> Hi Christophe,
> Perhaps I'm misunderstanding your question, but I don't think I've
> ever seen any application (not just ETS-based) on any platform that
> displays a tooltip over a menu entry. Have you?
> Jonathan
>
> On Wed, Jun 6, 2012 at 7:42 AM, Christophe Grimault
> <[hidden email]> wrote:
>         Hello,
>        
>         I wrote a bunch of tooltip in my application, and I'm quite
>         disappointed :
>        
>         Those written on buttons going in the toolbar or views appear
>         when mouse
>         is over,
>        
>         Those written Action going in menus never appear ! For
>         example :
>        
>         clean_networks_action = Action(
>            name   = 'Clean all',
>            action = 'handler.clean_networks(info, object)',
>            tooltip = 'Clean radio scene from from all existing
>         networks',
>            )
>        
>         is included in the menu of a tree node with :
>        
>         TreeNode( node_for  = [ NetworksScene ],
>                          auto_open = True,
>                          children  = 'networks',
>                          label     = 'name',
>                          view      = no_view,
>                          menu = Menu(
>                                      clean_networks_action,
>                                      '_',
>                                      add_fdma_action,
>                                      add_gfdma_action,
>                                      add_tdma_action,
>                                        .....
>         Tooltip does not appear when this menu entry has mouse over
>         it...
>        
>         Is it a problem of wx + GTK ? Anyway, it's the same under
>         windows ?
>        
>         Is this feature really implemented ?
>        
>         Any help appreciated !
>        
>        
>         --
>         Christophe Grimault
>         NovaGrid SAS
>         Les jardins de la Teillais
>         3, allée de la grande égalonne
>         35740 Pacé
>         France
>        
>         tel : (33)2 23 41 37 97
>         web : www.novagrid.com
>        
>         _______________________________________________
>         Enthought-Dev mailing list
>         [hidden email]
>         https://mail.enthought.com/mailman/listinfo/enthought-dev
>
> _______________________________________________
> Enthought-Dev mailing list
> [hidden email]
> https://mail.enthought.com/mailman/listinfo/enthought-dev


--
Christophe Grimault
NovaGrid SAS
Les jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé
France

tel : (33)2 23 41 37 97
web : www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev
Reply | Threaded
Open this post in threaded view
|

Re: Tooltips do not appear !

Jonathan March
Hi Chris,

Yes, I've also seen and appreciated (and written, pre-python) extra info on the status line corresponding to the selected command. I imagine that with some work it could be done in TraitsUI (one would need to listen for a change in the selected action, then manually write to the status line), but as far as I know it's not available as a standard option.

Jonathan

On Wed, Jun 6, 2012 at 12:54 PM, Christophe Grimault <[hidden email]> wrote:
Hi Jonathan,

Thanks for your answer. I also checked a couple of other apps, and I've
not seen tool tips on menus, either, at least close to the mouse
pointer.

Some, however, display it in the bottom of the window, as a single line
(I can't remember the name of this GUI feature). Wonders if traits UI
can do this ? Because, keyword 'tooltip' is there, so ...

Best regards

Chris

On Wed, 2012-06-06 at 10:32 -0500, Jonathan March wrote:
> Hi Christophe,
> Perhaps I'm misunderstanding your question, but I don't think I've
> ever seen any application (not just ETS-based) on any platform that
> displays a tooltip over a menu entry. Have you?
> Jonathan
>
> On Wed, Jun 6, 2012 at 7:42 AM, Christophe Grimault
> <[hidden email]> wrote:
>         Hello,
>
>         I wrote a bunch of tooltip in my application, and I'm quite
>         disappointed :
>
>         Those written on buttons going in the toolbar or views appear
>         when mouse
>         is over,
>
>         Those written Action going in menus never appear ! For
>         example :
>
>         clean_networks_action = Action(
>            name   = 'Clean all',
>            action = 'handler.clean_networks(info, object)',
>            tooltip = 'Clean radio scene from from all existing
>         networks',
>            )
>
>         is included in the menu of a tree node with :
>
>         TreeNode( node_for  = [ NetworksScene ],
>                          auto_open = True,
>                          children  = 'networks',
>                          label     = 'name',
>                          view      = no_view,
>                          menu = Menu(
>                                      clean_networks_action,
>                                      '_',
>                                      add_fdma_action,
>                                      add_gfdma_action,
>                                      add_tdma_action,
>                                        .....
>         Tooltip does not appear when this menu entry has mouse over
>         it...
>
>         Is it a problem of wx + GTK ? Anyway, it's the same under
>         windows ?
>
>         Is this feature really implemented ?
>
>         Any help appreciated !
>
>
>         --
>         Christophe Grimault
>         NovaGrid SAS
>         Les jardins de la Teillais
>         3, allée de la grande égalonne
>         35740 Pacé
>         France
>
>         tel : (33)2 23 41 37 97
>         web : www.novagrid.com
>
>         _______________________________________________
>         Enthought-Dev mailing list
>         [hidden email]
>         https://mail.enthought.com/mailman/listinfo/enthought-dev
>
> _______________________________________________
> Enthought-Dev mailing list
> [hidden email]
> https://mail.enthought.com/mailman/listinfo/enthought-dev


--
Christophe Grimault
NovaGrid SAS
Les jardins de la Teillais
3, allée de la grande égalonne
35740 Pacé
France

tel : (33)2 23 41 37 97
web : www.novagrid.com

_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev


_______________________________________________
Enthought-Dev mailing list
[hidden email]
https://mail.enthought.com/mailman/listinfo/enthought-dev