search for: new_button

Displaying 2 results from an estimated 2 matches for "new_button".

2008 Oct 27
2
Using BUTTON_TOOLBAR
...idth => 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, "New File", :opts => BUTTON_TOOLBAR) open_button = FXButton.new(tool_bar, "Open File", :opts => BUTTON_TOOLBAR) end def create super show(PLACEMENT_SCREEN) end end if __FILE__ == $0 FXApp.new do |app| MainWindo...
2006 Sep 22
1
A problem about updating an FXRuby program layout recursively
Dear all, I have a design question: assume we have an FXText field containing a sentence The <best> Ruby version is the current one. with "best" highlighted, and there is a choice of words | most wonderful |, | cutest |, | most effective | to replace "best". To do the replacement, I want to just click on any of three buttons. I want to iterate through all of the