Hi All,
I checked though the examples and documentation but could not find a similar usage. Basically I want to run a single message loop from main() for all windows. Is this possible/recommended? Any pointers would be really appreciated. Thanks & Regards, Prageeth From: [email protected] [mailto:[email protected]] On Behalf Of Prageeth Sent: Wednesday, June 17, 2009 2:23 PM To: [email protected] Subject: Re: [directfb-users] Newbie question on window events/threads Hi All, The developer from an earlier post with subject "Problem with DWET_BUTTONDOWN in df_window" seem to be trying the same method, ie handling many windows from same thread. Is this possible? Thanks in Advance, Prageeth From: [email protected] [mailto:[email protected]] On Behalf Of Prageeth Sent: Wednesday, June 17, 2009 1:54 PM To: [email protected] Subject: [directfb-users] Newbie question on window events/threads Hi, I am new to DirectFB and looking at the APIs for use on an embedded application. I want to create many buttons on the screen and wait until any one button is pressed. What is the recommended method for this? One possibility seem to be drawing many images for button, waiting for events from mouse input buffer, and parsing the x,y coordinates. There exists some better solution using IDirectFBWindow? Can I create many windows instead and receive DWET_BUTTONDOWN for any of the windows in the main() thread itself? More powerful libraries like gtk+ etc are not available. Any pointers welcome... Thanks in Advance, Prageeth
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
