search for: tool_bar

Displaying 4 results from an estimated 4 matches for "tool_bar".

2008 Oct 27
2
Using BUTTON_TOOLBAR
...patchlevel 111) [i386-mswin32] on Microsoft Windows Vista [Version 6.0.6001]. Here''s my code: require ''fox16'' include Fox class MainWindow < FXMainWindow def initialize(app) super(app, "Toolbar Example", :width => 485, :height => 300) tool_bar_shell = FXToolBarShell.new(self) top_dock_site = FXDockSite.new(self, :opts => LAYOUT_FILL_X|LAYOUT_SIDE_TOP) tool_bar = FXToolBar.new(top_dock_site, tool_bar_shell, :opts => PACK_UNIFORM_WIDTH|FRAME_RAISED|LAYOUT_FILL_X) new_button = FXButton.new(tool_bar, &quot...
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
2008 Mar 18
14
Proposal for an improved API for Sizer (and ToolBar)
Hi all, This is a proposal for supporting keyword arguments to Sizer#add following the thread below : http://rubyforge.org/pipermail/wxruby-development/2008-March/001244.html After a deeper look at lib/wx/keyword_ctors.rb and lib/wx/keyword_defs.rb, I understood the whole thing :-). I just reused and modified slightly the method args_as_list. The new Sizer#add_item combines the features of add