Should I use GTK+ or even GUI ?

2005-02-14 Thread jacky618 jacky618
Hi, Recently I am writting a multi-thread program, which is a comunication application. In this program I need to display all received messages on a CList control. Because the messages are successive coming in, I have to remove the old messages in this CList control continuously. However,

Should I use GTK+ or even GUI ?

2005-02-14 Thread jacky618 jacky618
Hi, Recently I am writting a multi-thread program, which is a comunication application. In this program I need to display all received messages on a CList control. Because the messages are successive coming in, I have to remove the old messages in this CList control continuously. However,

Re: Should I use GTK+ or even GUI ?

2005-02-14 Thread jacky618 jacky618
t_remove(GTK_CLIST(Clist_CommStatus), NROW - 2000); gdk_flush(); gdk_threads_leave(); NROW --; } } Unfortunately, the error "Xlib: unexpected async reply" still exists. : Stefan Kost <[EMAIL PROTECTED]> To: jacky618 jacky618 <[EMAIL PROTECTED]> CC: gtk-app-devel-list@gnome.or

Re: Re: Should I use Gtk+ or GUI?

2005-02-16 Thread jacky618 jacky618
Hi, I have resolved this problem after add gdk_threads_*() to all timer callback functions as following : gdk_threads_enter(); . . gdk_threads_leave(); Regards Rill //-- gdk_threads_enter(); g