...for the colours that are loaded into wx.TheColourDatabase when
wx.App() is initialized?
You need to call wx.lib.colourdb.updateColourDB()
I've googled and googled, and find all sorts of discussion, but no
actual list of the colour names.
I use that in the wx demo app.
On a somewhat related tangent, is there a list of all
available EVT_*'s?
how about:
import wx
l = [ x for x in dir(wx) if x.startswith('EVT_')]
l.sort()
print l
Otherwise all the constants are better to find in the wxWidgets (C++) docs.
Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.
thank you very very much.
I found that getColourList() did exactly what I was looking for.
···
On 7/12/05, Henning.Ramm@mediapro-gmbh.de <Henning.Ramm@mediapro-gmbh.de> wrote:
>...for the colours that are loaded into wx.TheColourDatabase when
>wx.App() is initialized?
You need to call wx.lib.colourdb.updateColourDB()
>I've googled and googled, and find all sorts of discussion, but no
>actual list of the colour names.
I use that in the wx demo app.
>On a somewhat related tangent, is there a list of all
>available EVT_*'s?
how about:
import wx
l = [ x for x in dir(wx) if x.startswith('EVT_')]
l.sort()
print l
Otherwise all the constants are better to find in the wxWidgets (C++) docs.
Best regards,
Henning Hraban Ramm
Südkurier Medienhaus / MediaPro
Support/Admin/Development Dept.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
--
Stand Fast,
tjg.