search for: on_close_window

Displaying 5 results from an estimated 5 matches for "on_close_window".

2007 May 31
0
[1043] trunk/wxruby2/samples/bigdemo: Don''t manually call destroy
...s="cx"> </span><span class="cx"> button = Button.new(panel, -1, "Close me", Point.new(15,15)) </span><span class="cx"> evt_button( button.get_id ) { on_close_me } </span><del>- evt_close { on_close_window } </del><ins>+ evt_close { | e | on_close_window(e) } </ins><span class="cx"> end </span><span class="cx"> </span><span class="cx"> def on_close_me </span><span class="cx">...
2006 Oct 17
0
[679] trunk/wxruby2/doc/textile/previewframe.txtl: Changed the initialize() method to init() so it matches the API also added a remark alerting the user to this.
...; * "PreviewFrame#create_canvas":#PreviewFrame_createcanvas </span><del>-* "PreviewFrame#initialize":#PreviewFrame_initialize </del><ins>+* "PreviewFrame#init":#PreviewFrame_init </ins><span class="cx"> * "PreviewFrame#on_close_window":#PreviewFrame_onclosewindow </span><span class="cx"> </span><span class="cx"> </div> </span><span class="lines">@@ -61,17 +61,22 @@ </span><span class="cx"> Creates a PreviewCanvas. Override this fu...
2007 Dec 27
1
Wx::SplashScreen, and events
...lt; Wx::SplashScreen PATH_MAIN = 1 PATH_SETUP = 0 def initialize(time, path=PATH_MAIN) splash_bitmap = Wx::Bitmap.new(''timefly.png'', Wx::BITMAP_TYPE_PNG) super(splash_bitmap, Wx::SPLASH_CENTRE_ON_SCREEN|Wx::SPLASH_TIMEOUT, time, nil, -1) evt_close() {|evt| on_close_window(evt, path)} end def on_close_window(evt, path) if path == PATH_MAIN print "main app!" elsif path == PATH_SETUP print "setup!" end self.destroy() end end ======================================= Now I''m stuck - If I click the sp...
2007 Feb 12
0
[859] trunk/wxruby2/doc/textile/docchildframe.txtl: Added ''methods'' section; removed C++ members
...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><del>-h3(#DocChildFrame_mchilddocument). DocChildFrame#m__child_docu...
2007 Feb 12
0
[858] trunk/wxruby2/doc/textile/docmdichildframe.txtl: Added ''methods'' section; removed C++ members
...;+* "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"> </span><del>-Document*m_childDocument </del><ins&gt...