Displaying 1 result from an estimated 1 matches for "toolbarprincipal".
2008 Sep 27
3
Problems with ToolBar Sintaxis
First of all, it''s my first week learnig ruby and so is for wxruby,also
this is my first time working with a GUI so please, please, be patient.
I''m having problems with the code for a toolbar, i want to add an item,
but a don''t know how. this is my code for now:
@toolBarPrincipal=ToolBar.new(@panel)
@toolBarPrincipal.add_tool(-1, ''&Bonzai'', Bitmap.new("/home/.......
icon.ico"))
I''ve already red the http://wxruby.rubyforge.org/doc/toolbar.html page
(mi code is basically what comes there.
I want to put it into a panel, named panel....