search for: create_tool_bar

Displaying 6 results from an estimated 6 matches for "create_tool_bar".

2004 Nov 04
2
Strange create_tool_bar behaviour
This has to be wrong: I have an application that shows a form with a toolbar on it. The toolbar is created using `create_tool_bar` On linux, everything works fine. On windows, sometimes when this form is shown `create_tool_bar` returns an object of type FLogin, instead of WxToolBar. FLogin is the class of my login form. Any ideas? -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments...
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'',
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi, I''m trying to create a very simple RichTextCtrl sample based on the C++ version. This works pretty well now with the fixes for missing RichTextCtrl.selection_bold? ... methods. See the attached script. Given the formatting buttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I
2009 Jan 05
8
How to use evt_update_ui wrt RichTextCtrl ?
Hi, I''m trying to create a very simple RichTextCtrl sample based on the C++ version. This works pretty well now with the fixes for missing RichTextCtrl.selection_bold? ... methods. See the attached script. Given the formatting buttons (bold, italics, underlined), I can type text with the proper formatting, select some text and apply a formatting later ... The problem I have is I
2004 Jan 08
3
pictorG
...menuHelp.append(ID_ABOUT,"&About\tCtrl-F1","Show program information") # the Menubar menuBar = MenuBar.new menuBar.append menuFile, "&File" menuBar.append menuHelp, "&Help" set_menu_bar menuBar # Toolbar toolBar = create_tool_bar TB_HORIZONTAL&TB_FLAT&TB_TEXT, ID_TOOLBAR toolBar.add_tool ID_ABOUT, "Help", Bitmap.new("bitmaps/help.xpm"), "Get help" toolBar.realize() ToolTip.enable true # Frame (splitter inside) splitter=SplitterWindow.new(self,-1) # Categories...
2007 Jun 22
0
[1059] trunk/wxruby2/doc/textile/toolbar.txtl: Update ToolBar documentation to reflect recent changes in API
...BarBase </span><span class="lines">@@ -28,7 +24,7 @@ </span><span class="cx"> </span><span class="cx"> You may also create a toolbar that is managed by the frame, by </span><span class="cx"> calling "Frame#create_tool_bar":frame.html#Frame_createtoolbar. Under Pocket PC, </span><del>-you should _always_ use this function for creating the toolbar </del><ins>+you should always use this function for creating the toolbar </ins><span class="cx"> to be managed by the fram...