Why I set the background pixmap fail?

2002-11-12 Thread anukeey
Dear all: I created a window and I want to set the background pixmap on it, but it seems doesn't work. I had tried two methods: one is refer to the sample code of testgtk, using the rc file, and the other is using gdk_window_set_back_pixmap(), but unfortunally all fial, why? I had set the win

Re: [gtkmm] Concurrency with gtk/gtkmm

2002-11-12 Thread Enrico Costanza
Many thanks for your reply. I think I was not clear enough in my first email. Tassos Bassoukos wrote: On Mon, 2002-11-11 at 20:57, Enrico Costanza wrote: [snip] Up to now I have used idle function successfully to avoid GUI to freeze. I have tryed to use 2 idle functions hoping that this woul

Re: Building gtk+

2002-11-12 Thread Sven Neumann
Hi, Philip Peake <[EMAIL PROTECTED]> writes: > I am having trouble building gtk+. > > On Redhat 7.3, everything configures ok, and builds up to the point > of gtk-demo, where I get the following error: > > creating gtk-demo > make[3]: Leaving directory `/home/philip/src/gtk+-2.0.8/demos/gtk-dem

Re: [gtkmm] Concurrency with gtk/gtkmm

2002-11-12 Thread Paul Davis
>> Beacuse you are using two idle functions. >> You do not need to monitor the user interface, the main loop takes care >> of that for you atomatically. You just need to create and hook up your >> idle function, which should do some not too time-consuming processing. >> You then connect signal hand

Gtk execution question

2002-11-12 Thread lorenzo . zampese
How do I make a sort of "wait" which test a variable value, for continuing normal gtk execution ? For example : - void HANDLER_file_select_button_ok( GtkWidget *w, GtkFileSelection *fs ) {

Re: Gtk execution question

2002-11-12 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > (e.g. in the handler function I will change 'my_test_variable' into 0 > when the "ok button" is pressed). > When 'my_test_variable' changes value GTK should go on and making 'window' > > How can obtain this kind of behavior ? what about connecting to the "clicked

Re: Gtk execution question

2002-11-12 Thread lorenzo . zampese
Maybe I was not clear in my previous message : I connect the "clicked" event as shown in the code, but my problem is I don't want to show the "file selection dialog" and "window" togheter. I wish to show the "window" only when the "ok button" is pressed ! To do this a need to stop the GTK executi

Re: Gtk execution question

2002-11-12 Thread Jamie Guinan
On Tue, 12 Nov 2002 [EMAIL PROTECTED] wrote: > How do I make a sort of "wait" which test a variable value, > for continuing normal gtk execution ? > > For example : > > - > > void HANDLER_file_select_button_ok( GtkWidget *w, >

Re: Gtk execution question

2002-11-12 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: > Maybe I was not clear in my previous message : > I connect the "clicked" event as shown in the code, but > my problem is I don't want to show the "file selection dialog" > and "window" togheter. > > I wish to show the "window" only when the "ok button" is pressed

Re: Gtk execution question

2002-11-12 Thread lorenzo . zampese
My idea was the same, but I supposed there was a different way as in Tcl/Tk scripting language (tk_wait) :) Ok. Thank you Jamie Guinan

Re: Gtk execution question

2002-11-12 Thread lorenzo . zampese
Ok: now is clear ! Thank you :) Sven Neumann <[EMAIL PROTECTED]>

about GtkDrawingArea

2002-11-12 Thread nontri
How can I use others tools to drawing something into GtkDrawingArea? Ex. I create GtkDrawingArea     area = gtk_drawingarea_new (); ... and I don't want to use gdk_draw_line or gdk_draw_xxx with my drawing area but I want to use other drawing tools such as Gnuplot or Grace etc. to dra