No ToolTips in children of StaticBoxes in wxGTK 2.8.7.1?

Hello,

I am not getting any tooltips of things put in staticboxes on GTK, however in Windows it works fine.

This behavior can be duplicated by using the demo application, and modifying the StaticBox demo. After line 14 add:

    t.SetToolTipString("Tooltip!")

save, and then view it, and you should get that tooltip and Windows, but not on GTK. Can anyone confirm or deny? And any tips?

Thanks!
- Mike

Mike Rooney wrote:

Hello,

I am not getting any tooltips of things put in staticboxes on GTK, however in Windows it works fine.

This behavior can be duplicated by using the demo application, and modifying the StaticBox demo. After line 14 add:

   t.SetToolTipString("Tooltip!")

save, and then view it, and you should get that tooltip and Windows, but not on GTK. Can anyone confirm or deny? And any tips?

It looks like things besides wx.StaticText in the wx.StaticBox still work fine. Please create a ticket about this.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Mike Rooney wrote:

Hello,

I am not getting any tooltips of things put in staticboxes on GTK, however in Windows it works fine.

This behavior can be duplicated by using the demo application, and modifying the StaticBox demo. After line 14 add:

   t.SetToolTipString("Tooltip!")

save, and then view it, and you should get that tooltip and Windows, but not on GTK. Can anyone confirm or deny? And any tips?

It looks like things besides wx.StaticText in the wx.StaticBox still work fine. Please create a ticket about this.

Actually in my application I wasn't getting them for anything, including BitmapButtons and CheckBoxes. I just used the example of a StaticText because that is what is in the demo.

wxTrac has been migrated to GitHub Issues - wxWidgets.

Thanks!
- Mike

Mike Rooney wrote:

Robin Dunn wrote:

Mike Rooney wrote:

Hello,

I am not getting any tooltips of things put in staticboxes on GTK, however in Windows it works fine.

This behavior can be duplicated by using the demo application, and modifying the StaticBox demo. After line 14 add:

   t.SetToolTipString("Tooltip!")

save, and then view it, and you should get that tooltip and Windows, but not on GTK. Can anyone confirm or deny? And any tips?

It looks like things besides wx.StaticText in the wx.StaticBox still work fine. Please create a ticket about this.

Actually in my application I wasn't getting them for anything, including BitmapButtons and CheckBoxes. I just used the example of a StaticText because that is what is in the demo.

I tried a wx.TextCtrl and that works. It may be that it's just the windowless widgets (those that are drawn directly on the parent) that have the problem.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!