Is the "explanation text" for submenus ever used?

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.

···

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

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.

Ram.

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

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?
  1. 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.

···

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:

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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.

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Yeah, you are: I meant the help string that you specify for the submenu itself, not for the items inside the submenu.

Ram.

···

On Mon, May 3, 2010 at 7:14 PM, Vlastimil Brom vlastimil.brom@gmail.com wrote:

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?
  1. 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.

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

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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?

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.

···

On 5/2/10 4:11 PM, cool-RR wrote:

--
Robin Dunn
Software Craftsman

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Thanks for the info Robin. Now I know not to spend time writing it.

Ram.

···

On Mon, May 3, 2010 at 8:54 PM, Robin Dunn robin@alldunn.com wrote:

On 5/2/10 4:11 PM, cool-RR wrote:

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?

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.

  1. 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

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Hey hey, I just found out that the text does get displayed on Ubuntu! So I will spend time writing these explanation texts.

Ram.

···

On Mon, May 3, 2010 at 9:51 PM, cool-RR cool-rr@cool-rr.com wrote:

On Mon, May 3, 2010 at 8:54 PM, Robin Dunn robin@alldunn.com wrote:

On 5/2/10 4:11 PM, cool-RR wrote:

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?

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.

  1. 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.

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

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.

Ram.

···

On Mon, May 3, 2010 at 11:34 PM, cool-RR cool-rr@cool-rr.com wrote:

On Mon, May 3, 2010 at 9:51 PM, cool-RR cool-rr@cool-rr.com wrote:

On Mon, May 3, 2010 at 8:54 PM, Robin Dunn robin@alldunn.com wrote:

On 5/2/10 4:11 PM, cool-RR wrote:

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?

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.

  1. 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.

Ram.

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en