[Gambas-devel] Question about GB.CanRaise()

Benoît Minisini gambas at ...1...
Fri May 25 22:59:31 CEST 2012


Le 25/05/2012 22:11, tobi a écrit :
>
> I found out that using what you mentioned above (that's what I first did, actually), I get an
> n_event of 1 which is right. For some reason - those, that I wanted to debug out but fear to
> die from starvation before again compile gbx, because compiling LLVM takes aeons in my
> machine - GB.CanRaise() still returns false. (I think I need it because I want to determine if
> the Window would raise an event and if not, the parent Screen object will raise it)
> Can you blindly think of any reasons for GB.CanRaise() returning false?
>
> Regards,
> Tobi
>

If GB.CanRaise() returns FALSE, that means that raising the event will 
have no effect.

Commit your code so that I can see how you use it!

-- 
Benoît Minisini




More information about the Devel mailing list