When I add a menu as a submenu to a bigger menu, I can specify a
`help` string. I noticed that this string doesn't get displayed in the
status bar when hovering on the submenu.
1. Is there a good reason for this?
2. Is the explanation text in this case used anywhere? If it's not I
just won't write it.
Hi,
I thought, the statusbar info was just the reason for this parameter.
Check the Menu demo in the demo collection for wxPython.
Maybe it doesn't work automatically in all cases, possibly the
statusbar has to be created via CreateStatusBar() or assigned somehow,
SetStatusBar() (?)
hth,
vbr
···
2010/5/3 cool-RR <ram.rachum@gmail.com>:
Hi,
When I add a menu as a submenu to a bigger menu, I can specify a
`help` string. I noticed that this string doesn't get displayed in the
status bar when hovering on the submenu.
1. Is there a good reason for this?
2. Is the explanation text in this case used anywhere? If it's not I
just won't write it.
Hi,
I'm sorry, I must have missed somehow, that only submenus aren't working.
However, in the mentioned demo for Menu, if I modify the Lanthanides
submenu, e.g.
submenu.Append(2031,"Lanthanium", "This is Lanthanium")
instead of the original
submenu.Append(2031,"Lanthanium")
(line 55 in my demo)
then the info text "This is Lanthanium" is shown normally in the
statusbar like the primary menu items on hovering.
Maybe I'm still missing something?
vbr
···
2010/5/3 cool-RR <cool-rr@cool-rr.com>:
On Mon, May 3, 2010 at 9:11 AM, Vlastimil Brom <vlastimil.brom@gmail.com> > wrote:
2010/5/3 cool-RR <ram.rachum@gmail.com>:
> Hi,
>
> When I add a menu as a submenu to a bigger menu, I can specify a
> `help` string. I noticed that this string doesn't get displayed in the
> status bar when hovering on the submenu.
>
> 1. Is there a good reason for this?
>
> 2. Is the explanation text in this case used anywhere? If it's not I
> just won't write it.
>
> Ram.
>
Hi,
I thought, the statusbar info was just the reason for this parameter.
This is what I think as well.
Check the Menu demo in the demo collection for wxPython.
I checked it, did not see there any hint or answer regarding my questions.
Maybe it doesn't work automatically in all cases, possibly the
statusbar has to be created via CreateStatusBar() or assigned somehow,
SetStatusBar() (?)
hth,
vbr
In my case the status bar is created and the help text for menu items shows
up correctly, but not for submenus. That's what I'm asking about.
Ram.
When I add a menu as a submenu to a bigger menu, I can specify a
`help` string. I noticed that this string doesn't get displayed in the
status bar when hovering on the submenu.
1. Is there a good reason for this?
Probably, although I don't know what it is off the top of my head. It may be platform specific issues (like lack of an event in that case) or platform standards conformance.
2. Is the explanation text in this case used anywhere?
Nope, it is just there for the status bar by default although it is accessible from the menu item for those that want to use it in custom ways.
When I add a menu as a submenu to a bigger menu, I can specify a
help string. I noticed that this string doesn’t get displayed in the
status bar when hovering on the submenu.
Is there a good reason for this?
Probably, although I don’t know what it is off the top of my head. It may be platform specific issues (like lack of an event in that case) or platform standards conformance.
Is the explanation text in this case used anywhere?
Nope, it is just there for the status bar by default although it is accessible from the menu item for those that want to use it in custom ways.
When I add a menu as a submenu to a bigger menu, I can specify a
help string. I noticed that this string doesn’t get displayed in the
status bar when hovering on the submenu.
Is there a good reason for this?
Probably, although I don’t know what it is off the top of my head. It may be platform specific issues (like lack of an event in that case) or platform standards conformance.
Is the explanation text in this case used anywhere?
Nope, it is just there for the status bar by default although it is accessible from the menu item for those that want to use it in custom ways.
–
Robin Dunn
Thanks for the info Robin. Now I know not to spend time writing it.
And another curious thing: On Ubuntu, the help text for disabled menu buttons does not get displayed, where on Windows it does. I wish both problems would display help text for both submenus and disabled items.
When I add a menu as a submenu to a bigger menu, I can specify a
help string. I noticed that this string doesn’t get displayed in the
status bar when hovering on the submenu.
Is there a good reason for this?
Probably, although I don’t know what it is off the top of my head. It may be platform specific issues (like lack of an event in that case) or platform standards conformance.
Is the explanation text in this case used anywhere?
Nope, it is just there for the status bar by default although it is accessible from the menu item for those that want to use it in custom ways.
–
Robin Dunn
Thanks for the info Robin. Now I know not to spend time writing it.
Ram.
Hey hey, I just found out that the text does get displayed on Ubuntu! So I will spend time writing these explanation texts.