idle function + g_usleep = recursion?

2005-05-02 Thread Felix Kater
Hi, I wonder what g_usleep does if it is called from inside an idle function. Could that lead to recursion since the idle functions is called when the cpu has idle time? Felix ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail

Re: GTK window and thread

2005-05-02 Thread Peter Bloomfield
On 05/02/2005 09:50:55 AM, Frederic Beck wrote: Hello Here's my problem : i have a daemon running in the background, and i want it to show popups after some events. I'm new in using GTK, so i took a look at the tutorial, and i managed to create the window and show it. The popup window is clo

help_YellowRectangle

2005-05-02 Thread Ashok jain
I have created a widget by using gtk APIs like this: //Window creation setupmenu_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_object_set_data (GTK_OBJECT (setupmenu_window), "setupmenu_window", setupmenu_window); gtk_widget_set_usize (setupmenu_window, WIN_WIDTH, WIN_HEIGHT); GTK_WIDGET_SET

Window activate

2005-05-02 Thread Deekshit M
Hi all, In my application, I have lot of windows open. I want set the current context, to the window which has the focus(the window which si active now). What event should I use. I tried activate-default and activate-focus. But they didn't work. Thanks Deekshith M

GTK window and thread

2005-05-02 Thread Frederic Beck
Hello Here's my problem : i have a daemon running in the background, and i want it to show popups after some events. I'm new in using GTK, so i took a look at the tutorial, and i managed to create the window and show it. The popup window is closed when pressing on a button. As i don't want this

Re: Segfault and cheep mend of gtk_combo_box_get_active_text

2005-05-02 Thread Stefan Kost
Hi Olivier, As there seems to be nothing wrong with you programm as such, can you try to get a backtrace by running your same in gdb. > gdb ./example and after is seg-faulted > bt if you get a good backtrace (that shows where it crashes), file a bugreport in bugzilla and attach the backtrace. S

Re: GtkEntry Setting text without calling callback

2005-05-02 Thread Stefan Kost
Hi Daniel, use g_signal_handler_block() and _unblock(). Hi all, I need to set the text in a GtkEntry without the connected callback being called, is this possible? Alternatively how can I disconnect a callback? i.e. then I could: gtk_entry_set_text(...); g_signal_connect(...); That would also be f