search for: open_button

Displaying 1 result from an estimated 1 matches for "open_button".

Did you mean: on_button
2008 Oct 27
2
Using BUTTON_TOOLBAR
...te = 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| MainWindow.new(app) app.create app.run end end Doesn''t work on Vista? I''m doi...