I've just been checking out wxPython 3 (3.0.1.1) There's a lot of
really nice improvements since I last looked!
I've been considering switching an older app written with 2.8.12.1 and
noticed that the menu on the TaskBarIcon wasn't appearing (running
3.0.1.1 on OSX 10.9)
I've attached a small example which works under 2.8.12.1. When right
clicking the dock icon there's nothing printed out which looks like
the method isn't being called.
Is anyone else seeing this? maybe other platforms too?
No, but that's just a more detailed example to the one I posted I think
I realised what it was though - the menu has moved in wx3 from the
dock to the menu bar under OSX which is an awesome change! I didn't
know this was possible under wx so that's good news! Out of curiosity
is there still a way to add menu items to the dock context menu?
···
On 12 September 2014 19:26, Nathan McCorkle <nmz787@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Your code didn’t work for me as-it-was without some modifications provided to me with insight from the demo I posted. I’m on Windows 7 and tried wxPython 2.9.4 and 3.0.1
···
On Friday, September 12, 2014 3:57:36 PM UTC-7, Paul wrote:
No, but that’s just a more detailed example to the one I posted I think
No, but that's just a more detailed example to the one I posted I think
I realised what it was though - the menu has moved in wx3 from the
dock to the menu bar under OSX which is an awesome change! I didn't
know this was possible under wx so that's good news! Out of curiosity
is there still a way to add menu items to the dock context menu?
Yes, there is an optional style flag that can be passed to wx.TaskBarIcon to control which type it is. This only has an effect on OSX, on the other platforms it is ignored.
Also I was curious to know - do the menus have to be a wx.Menu or is
it possible to create a custom drawn/look & feel menu for the
taskbaricon? (TBI_CUSTOM_STATUS_ITEM on mac)
···
On 24 September 2014 02:05, Robin Dunn <robin@alldunn.com> wrote:
Paul Wiseman wrote:
No, but that's just a more detailed example to the one I posted I think
I realised what it was though - the menu has moved in wx3 from the
dock to the menu bar under OSX which is an awesome change! I didn't
know this was possible under wx so that's good news! Out of curiosity
is there still a way to add menu items to the dock context menu?
Yes, there is an optional style flag that can be passed to wx.TaskBarIcon to
control which type it is. This only has an effect on OSX, on the other
platforms it is ignored.
--
You received this message because you are subscribed to the Google Groups
"wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.