Re: Can I mix Xlib and Gtk+ in one app?
- From: Paul Davis <pbd Op Net>
- To: sandyfox <sandyfox sina com>
- Cc: gtk-list gnome org
- Subject: Re: Can I mix Xlib and Gtk+ in one app?
- Date: Mon, 17 Dec 2001 17:41:02 -0500
> I'm writing an app using xlib, but I need some buttons and menus.
you should use a proper toolkit. nobody uses xlib on its own these days
unless they are themselves writing a toolkit.
Can I mix
>my own event loop (while(true) { XNextEvent(Display *, XEvent*); switch(event.
>type) ...}) with Gtk+'s main loop?
No.
> Can I mix bare Xlib Window with Gtk+ widg
>ets?
Sometimes, but its not easy and there are many pitfalls.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]