Displaying 4 results from an estimated 4 matches for "nothingapp".
Did you mean:
nothing&
2005 Apr 03
4
BusyCursor probs in 0.6
...{ braces } do not get carried out.
To illustrate, I have taken the nothing.rbw sample app, and added a
couple of lines to it, so the full code now reads:
require ''wxruby''
include Wx
class MyFrame < Wx::Frame
def initialize(title)
super(nil, -1, title)
end
end
class NothingApp < Wx::App
def on_init
frame = MyFrame.new("Minimal wxRuby App")
frame.show
BusyCursor.new {
message_box("This is a control sample", "About Controls")
}
end
end
a = NothingApp.new
a.main_loop()
-----------------------
However, the message_box line is...
2004 Feb 02
0
the sample
...@bitmap,0,0,true)
end
end
class MyFrame < Wx::Frame
def initialize(title)
super(nil, -1, title)
b=Button.new(self,-1,''e'')
evt_button(-1) { MyImageFrame.new(self, ''yeah'',Bitmap.new(''verybigimagefile'')).show }
end
end
class NothingApp < Wx::App
def OnInit
frame = MyFrame.new("Minimal wxRuby App")
frame.show
end
end
a = NothingApp.new
a.main_loop()
2003 Dec 13
1
widget hierarchy - program variables
Hi!
During developing my little program, I''ve noticed, that the objects have
a hierarchy, but now I don''t know what to do, if a widget initiates an
event which has an effect to the parent, grandfather/brother/other
relatives.
Is there a tutorial for this aspect?
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
|
2003 Nov 07
6
DnD
Hi!
Is drag''n''drop works currently under wxruby?
I want an app, where you can drag files from a wxlistctrl to a
wxtreectrl.
Can anyone show a little example?
Gergo
--
+-[ Kontra, Gergely<kgergely@mcl.hu> PhD student Room IB113 ]---------+
| http://www.mcl.hu/~kgergely "Olyan langesz vagyok, hogy |
| Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval