search for: on_activate

Displaying 4 results from an estimated 4 matches for "on_activate".

Did you mean: inactivate
2007 Oct 03
0
[ wxruby-Patches-14416 ] Patch for Bug [#12747] Crash on exit
...ne Priority: 3 Submitted By: Christopher Bludau (count_cb) Assigned to: Nobody (None) Summary: Patch for Bug [#12747] Crash on exit Initial Comment: Patch for the bug [#12747] Crash on exit in file etc/activation.rb The problem is, that the window gets destroyed and then for whatever reasons the on_activate event fires and the on_activate method tries to set a status text of a window that is alreay destroyed. The same happens when one window is closed and then the other window is closed via the menu. Now the method close_all tries to close both windows. But one is already destroyed so the app crashes...
2007 Jun 26
0
[1076] trunk/wxruby2/samples/etc/activation.rb: Added sample of IconizeEvent to activation sample
...00:10:06 UTC (rev 1076) </span><span class="lines">@@ -40,8 +40,18 @@ </span><span class="cx"> evt_menu(Wx::ID_ABOUT) { on_about } </span><span class="cx"> </span><span class="cx"> evt_activate { | e | on_activate(e) } </span><ins>+ evt_iconize { | e | on_iconize(e) } </ins><span class="cx"> end </span><span class="cx"> </span><ins>+ + def on_iconize(event) + if event.iconized + puts "Frame ''#{get_title}'...
2007 Feb 12
0
[859] trunk/wxruby2/doc/textile/docchildframe.txtl: Added ''methods'' section; removed C++ members
....html, "Frame":frame.html </del><ins>+<div id="methods"> +* "DocChildFrame.new":#DocChildFrame_new +* "DocChildFrame#get_document":#DocChildFrame_getdocument +* "DocChildFrame#get_view":#DocChildFrame_getview +* "DocChildFrame#on_activate":#DocChildFrame_onactivate +* "DocChildFrame#on_close_window":#DocChildFrame_onclosewindow +* "DocChildFrame#set_document":#DocChildFrame_setdocument +* "DocChildFrame#set_view":#DocChildFrame_setview </ins><span class="cx"> </span>&lt...
2007 Feb 12
0
[858] trunk/wxruby2/doc/textile/docmdichildframe.txtl: Added ''methods'' section; removed C++ members
...childdocument). DocMDIChildFrame#m__child_document </del><ins>+* "DocMDIChildFrame.new":#DocMDIChildFrame_new +* "DocMDIChildFrame#get_document":#DocMDIChildFrame_getdocument +* "DocMDIChildFrame#get_view":#DocMDIChildFrame_getview +* "DocMDIChildFrame#on_activate":#DocMDIChildFrame_onactivate +* "DocMDIChildFrame#on_close_window":#DocMDIChildFrame_onclosewindow +* "DocMDIChildFrame#set_document":#DocMDIChildFrame_setdocument +* "DocMDIChildFrame#set_view":#DocMDIChildFrame_setview </ins><span class="cx"&...