search for: yeswindow

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

Did you mean: nswindow
2009 Jun 23
9
Learning FXRuby please help!
...inWindow def initialize(app) super(app, "Lookup window", :width=>400, :height=>600, :opts => DECOR_ALL|LAYOUT_FILL_X|LAYOUT_FILL_Y) bframe = FXHorizontalFrame.new(self, :opts => LAYOUT_FILL_X) hearButton = FXButton.new(bframe, "Do you hear me?") yesWindow = FXHorizontalFrame.new(self, :opts => FRAME_GROOVE|LAYOUT_FILL_X) yesLabel = FXLabel.new(yesWindow,"Yes") yesWindow.hide puts "window shown?" + yesWindow.shown?.to_s hearButton.connect(SEL_COMMAND) do |sender,sel, data| yesWindow.create yesW...