# File examples/TracePanelDemo.rb, line 20 def onStart $window.setBackground("img/bg.png") $trace = GGLib::TracePanel.new GGLib::Button.new(:button1, "Open Trace", 270, 200, Proc.new{ |widget| $trace.wakeUp }, GGLib::Themes::BlueSteel) GGLib::Button.new(:button2, "put", 270, 280, Proc.new{ |widget| $trace.put "trace data" }, GGLib::Themes::BlueSteel) GGLib::Button.new(:button2, "sput", 270, 315, Proc.new{ |widget| $trace.sput "silent trace data" }, GGLib::Themes::BlueSteel) end