search for: on_close

Displaying 6 results from an estimated 6 matches for "on_close".

Did you mean: in_close
2008 Mar 06
2
How to set exit on close??
I want to set close window when press ''X'' in top-right I make wxruby GUI from Farpy guie but I can''t close it (when I close I must press close in cmd and the return -1) how can I set it?? Attachments: http://www.ruby-forum.com/attachment/1521/untitled.JPG -- Posted via http://www.ruby-forum.com/.
2008 Jul 28
12
Segfault with GridCellChoiceEditor
I have a problem. In my application I have a few Grid objects in a Notebook. The Grid objects are populated via GridTableBase. Certain Grid cells need to have a choice interface (I''m artificially enforcing foreign key constraints). All this works to the point where you try to edit the value for that cell. The choice box renders (i.e. the drop down arrow appears) then the application
2006 Sep 07
2
A little bit of sugar
Hi Do a search on ''wxruby'' and you''ll see that people''s main gripes are 1) stability 2) development progress 3) documentation and 4) syntax. We''re making great progress on 1-3 so thought it seemed like a good time to start looking at 4). So here''s announcing a first release of WxSugar. It can be downloaded via gems (gem install wx_sugar)
2008 Oct 20
0
CGI and NET::SSH in the same script problems
...@myString.concat("cmd=>[#{command}] got stdout: \n#{data}") channel.send_data "something for stdin\n" end channel.on_extended_data do |ch, type, data| @myString.concat("cmd=>[#{command}] stderr: \n#{data}") end channel.on_close do |ch| @myString.concat("cmd=>[#{command}] closing!\n\n") end end end session.loop end @myString = "XXX" Net::SSH.start(''myserver.com'', ''uzer'') do |session| do_sync_cmd session, "cd /acct/uzer/test/bin &...
2006 Feb 17
7
Re: Problem building wxRuby: htmlproc.h not found
Hi, Has this problem been resolved? I encountered the same problem on my FC3 system with wxGTK-2.4.2 and wxruby-0.6. Thanks. Stephen [Wxruby-users] Re: Problem building wxRuby: htmlproc.h not found *Nick* devel at nicreations.com
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...IALOGS_MODELESS_BTN) {|event| onButton(event) } </del><ins>+ evt_button(DIALOGS_MODELESS_BTN) {|event| on_button(event) } </ins><span class="cx"> </span><del>- evt_close() {|event| onClose(event) } </del><ins>+ evt_close() {|event| on_close(event) } </ins><span class="cx"> </span><span class="cx"> end </span><span class="cx"> </span><del>- def onButton(event) </del><ins>+ def on_button(event) </ins><span class="cx">...