johnf wrote:

> Hi,
> Is there a way to change the background color of a tooltip?


Not currently in Dabo, and perhaps not even possible in wxPython. I 
tried something along the lines of:

"""
tt = wx.ToolTip()
tt_win = tt.GetWindow()
tt_win.SetBackgroundColour((222,22,222))
"""

which yielded:

AttributeError: NoneType object has no attribute "SetBackgroundColour"

I bet the window isn't created until it is shown, and from a cursory 
look there isn't an event to trap for when the window is actually shown. 
If we could find a way to trap that, we could then theoretically get a 
reference to that window and set properties of it.

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to