Hi, I'm trying to develop a widget, which is a Textfield, a c++ class with label and textbox, you can see a simple screenshot here:
http://www10.brinkster.com/repos/screenshot.jpg My question is, instead to do this: while(1) { XNextEvent(display, &event); switch(event.type) { case Expose: gui.TextBox(display, ve This is, a loop, because, for every widget I sould have a bounding box for every one working over MotionNotify Event, in order to see if mouse is or not over my widget, same for ButtonPress for if you click over the widget, how is done this usually?, does know any one a little example I'm trying to do?, I've been looking into gtk sources (too much difficult for me), also I've downloaded EZ widgets (a toolkit developed in c) sited here: http://www.ma.utexas.edu/~mzou/EZWGL/ But I can't understand how he do it, so, could anyone tell me somthing about? thanks, Regards, ___________________________________________________ Yahoo! Messenger - Nueva versi�n GRATIS Super Webcam, voz, caritas animadas, y m�s... http://messenger.yahoo.es _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
