Re: WXEuphoria basic info

new topic     » goto parent     » topic index » view thread      » older message » newer message

sixs wrote:
> 
> Hello,
> I was wondering if there is some documentation on the routines called by 
> other routines.
> For example:
> wxMain(MainWindows)
> what routines are automaically called by wxMain.  --  onOpen is called 
> or can be called by wxMain, .onPaint_MyWindow is called when? or why?
> 
> I went out to wxwidgets web site but didn't find any thing, probably 
> just missed it. I have  .looked at wxEuphoria documentation and can't 
> find anything.
> One thing noticed was that I put a trace(1) statement in 
> onPaint_MyWindow and ran the program. It tracedt through the procedure 
> many times. I thought it would only trace through one time.

Your opPaint_myWindow will be called whenever the OS/window manager sends
a paint event.  So whenever your window needs to be redrawn, it will be
called.  This is the same as Win32Lib, ARWEN, EuGTK, etc.  The same goes
for other event handlers.  They're called when wxEuphoria receives an 
event from the OS.

wxMain calls some routines to properly initialize everything (most of 
those are already done in initialize()) and then opens the window that 
you specifiy.  After you close that window or call exit_main(), wxMain() 
cleans things up.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu