Re: Application runs slowly, crashes when wiggling the mouse quickly

2006-06-18 Thread Andreas Stricker
[EMAIL PROTECTED] wrote: > I just thought of something else. I'm using asynchronous IO, which means > that data coming into my serial port (caught via a kernel signal) can > interrupt the gui and call some other code, which in turn tells the GUI to > update various parts of it. Is it possible tha

Re: How to modify a button's fg color?

2006-06-18 Thread Yeti
On Sun, Jun 18, 2006 at 11:52:24AM +0800, Bing Lin wrote: > I set some values of GtkRcStyle, but the color still not changed, how can I > do? > The code is like this: > > #include > int main( int argc, char *argv[] ) > { > GtkWidget *window; > GtkWidget *button; > GdkColor color; > GtkRcStyle *rc

How to modify a button's fg color?

2006-06-18 Thread Bing Lin
I set some values of GtkRcStyle, but the color still not changed, how can I do? The code is like this: #include int main( int argc, char *argv[] ) { GtkWidget *window; GtkWidget *button; GdkColor color; GtkRcStyle *rc_style; gtk_init (&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL);

Re: Simple Yes/No dialog

2006-06-18 Thread Liam R E Quin
On Fri, 2006-06-16 at 11:50 -0400, [EMAIL PROTECTED] wrote: > Ok, you guys were a great help with my last question :) Does GTK have a > simple blocking yes/no dialog? Something that will return true or false, > or similar? I could write my own really quickly, but I was kinda hoping > GTK would s