Can I mix Xlib and Gtk+ in one app?
- From: sandyfox <sandyfox sina com>
- To: gtk-list gnome org
- Subject: Can I mix Xlib and Gtk+ in one app?
- Date: Wed, 14 Nov 2001 12:49:33 +0800
Hi,
I'm writing an app using xlib, but I need some buttons and menus. Can I mix my own event loop (while(true) { XNextEvent(Display *, XEvent*); switch(event.type) ...}) with Gtk+'s main loop? Can I mix bare Xlib Window with Gtk+ widgets?
Sorry I'm not familiar with Gtk+ and I have never look into its code. Thank you for any info.
Sandy Xu
______________________________________
===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
ÐÂÀË·ÖÀàÐÅÏ¢£ºÇáËɶ©ÔÄ£¬Á¿Éí¶¨ÖÆ£¡ÖÜÖÜÓÐÀñ£¬´ó½±µÈÄ㣡 (http://classad.sina.com.cn/)
ÆßÖÖÊÖ»úͼƬ¡¢Ç§Ê×ÁåÉùÏÂÔØ¡¡ÐÂÀ˶ÌÐÅÎÞÏÞ¾«²Ê! (http://sms.sina.com.cn/)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]