Displaying 1 result from an estimated 1 matches for "top_dock_site".
2008 Oct 27
2
Using BUTTON_TOOLBAR
...ndows 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,
"New File", :opts => BUTTON_TOOLBAR)
op...