Hello Koen, Le jeudi 02 décembre 2010 à 14:23 +0100, Koen Deforche a écrit : > Hey Guy, > > 2010/12/2 Guy Deleeuw <[email protected]>: > > Hello > > How can I cancel a WPopupMenu->exec() ? > > >From within which event would you be doing this? It's not hard to add > (there is a private method that does this) but it's hard for me to > imagine how you are using this? > > Alternatively, you could use show() and hide() / delete ? > with popup(MyButtonWidget*) I receive : Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffeafb2710 (LWP 7803)] Wt::WObject::isStateless (this=<value optimized out>, method=0x7ffff46a4c44 <boost::signals::connection Wt::EventSignal<Wt::WMouseEvent>::connect<Wt::WPopupMenu, Wt::WPopupMenu>(Wt::WPopupMenu*, void (Wt::WPopupMenu::*)())+84>, this adjustment 140737293994208) at /home/guy/Docs/Dev/wt/src/wt/src/Wt/WObject.C:173 173 return getStateless(method); (gdb) bt full #0 Wt::WObject::isStateless (this=<value optimized out>, method=0x7ffff46a4c44 <boost::signals::connection Wt::EventSignal<Wt::WMouseEvent>::connect<Wt::WPopupMenu, Wt::WPopupMenu>(Wt::WPopupMenu*, void (Wt::WPopupMenu::*)())+84>, this adjustment 140737293994208) at /home/guy/Docs/Dev/wt/src/wt/src/Wt/WObject.C:173 No locals. #1 0x0000000000000000 in ?? () No symbol table info available. (gdb)
> Regards, > koen > > ------------------------------------------------------------------------------ > Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! > Tap into the largest installed PC base & get more eyes on your game by > optimizing for Intel(R) Graphics Technology. Get started today with the > Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. > http://p.sf.net/sfu/intelisp-dev2dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest Guy De Leeuw IT Manager EUROFER - European Confederation of Iron and Steel Industries 5, avenue Ariane Building "Integrale" (3rd floor) 1200, Bruxelles Belgium Phone : +32 (2) 738 79 40 Mobile : + 32 (498) 93 65 00 Fax : +32 (2) 736 28 22 E-Mail : [email protected] www : http://www.eurofer.org ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
