Sorry to break in again, but you can also use a custom bitmap as a separator: just build a vertical line with your favorite image software (like Paint on Windows or whatever is used under GTK), and add it to your toolbar as:
MyToolbar.AddControl(wx.StaticBitmap(MyToolbar, -1, MySeparatorBitmap))
Or something like that
Andrea.
···
Andrea Gavana
(gavana@kpo.kz)
Reservoir Engineer
KPDL
4, Millbank
SW1P 3JA London
Direct Tel: +44 (0) 20 717 08936
Mobile Tel: +44 (0) 77 487 70534
Fax: +44 (0) 20 717 08900
Web:
http://xoomer.virgilio.it/infinity77
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
From: Tatiana Al-Chueyr Pereira Martins [mailto:tati.alchueyr@gmail.com]
Sent: 24 April 2006 15:13
To: wxpython-users@lists.wxwidgets.org
Subject:
[wxPython-users] Separator in wxToolBar
Is there a separator/splitter structure in toolbars similar to a vertical line?
Between items of a certain tool bar in several applications, there are “splitters” or separators (I’m afraid I don’t know the proper name for this). This structures are used to group toolbar items according to their usage. Some “splitters” are fixed and others can be moved inside the toolbar. They are generaly vertical lines, and can be seen in applications such as: Open Office (Linux) and Word (Windows)
I was looking for these “splitters” in wxToolBar, and I found we can insert controls, items or separators. However the separators - as far as I know - are empty spaces and you can set their size. Is there anyway you can associate a symbol to this separator?
Thanks!