I would like to add a toolbar to the bottom of a frame
with simple tools. If use the AddControl it works no
problem, but all i need is the simple icons and such.
when it adds a tool, it pushs the toolbar to the top
of the frame.
Is this even possible, i tried using insert tool
also, and setting the xpos (but i dont believe that is
implemented.
Tweek
···
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online! http://greetings.yahoo.com
Is it possible to put a toolbar on a wxPanel, rather than wxFrame? I'm
trying to build a high level vector drawing widget that includes tools
for changing the mode and moving around the Canvas. At the moment, I
have it all in a wxFrame, and that works fine, but it makes it a little
harder to re-use. What I'd like to do is have the toolbar o a Panel with
the drawing canvas, and then that could be put into anyone's custom frame.
Of course, my other option is to jsut simulate a toolbar with a set of
buttons, and put them on the wxPanel, which would work fie, but be a
boit more work.
thanks,
-Chris
···
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
I would like to add a toolbar to the bottom of a frame
with simple tools. If use the AddControl it works no
problem, but all i need is the simple icons and such.
when it adds a tool, it pushs the toolbar to the top
of the frame.
Is this even possible, i tried using insert tool
also, and setting the xpos (but i dont believe that is
implemented.
It is supposed to be possible, (or on a panel as well for Chris) but I've
never tried it. A wxToolBar it a wxWidnow so you should be able to treat it
as such. Just make it a child of the frame or panel and use a sizer or
whatever to position it where you want. Just don't call any of the frame's
toolbar methods.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!