Re: main loop

2005-07-09 Thread Maciej Katafiasz
Dnia 07-07-2005, czw o godzinie 15:47 +0200, The Saltydog napisał: I need to stop my application even if a loop is running. By executing gtk_main_quit() I got this error: Gtk-CRITICAL **: gtk_main_quit: assertion `main_loops != NULL' failed ..but I didn't started any new loop. It is the

Determining if a GtkWindow is maximised?

2005-07-09 Thread Daniel Pekelharing
Hi all, I'd like my app to remember the maximised state of the main window, I can't seem to figure it out.. I have a callback attached to configure_event on the main window: gboolean main_window_move(GtkWidget *widget, GdkEventWindowState *event, gpointer *data) I'm trying to determine the

Re: Determining if a GtkWindow is maximised?

2005-07-09 Thread Daniel Pekelharing
On Sat, 2005-07-09 at 12:41 +0200, Daniel Pekelharing wrote: Hi all, I'd like my app to remember the maximised state of the main window, I can't seem to figure it out.. I have a callback attached to configure_event on the main window: gboolean main_window_move(GtkWidget *widget,

Re: main loop

2005-07-09 Thread The Saltydog
On 7/9/05, The Saltydog [EMAIL PROTECTED] wrote: It is due to the fact that I am running a time-demanding deep routine in main before executing gtk-main. Then, from the routine I am executing while (gtk_events_pending()) { gtk_main_iteration(); } so that the GUI comes up. But at that

Re: main loop

2005-07-09 Thread Maciej Katafiasz
Dnia 09-07-2005, sob o godzinie 15:34 +0200, The Saltydog napisał: This error means you don't have any mainloop running that could be stopped. Seems like you're running gtk_main_quit() too many times, you should rather exit the process (via exit() or return from main()). It is due to the

Re: closing a GtkFileChooserDialog

2005-07-09 Thread Eduardo M KALINOWSKI
The Saltydog wrote: I have an annoying problem... Open a GtkFileChooserDialog, select the file, click Open... then execute a time-demanding subroutine. The dialog doesn't close until the subroutine exists. This is a snap of the code: ** if

Re: closing a GtkFileChooserDialog

2005-07-09 Thread The Saltydog
On 7/9/05, Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote: If you only call the function to destroy the dialog after your long subroutine, it will only be destroyed after the subroutine, naturally. You must call gtk_widget_destroy before calling the subroutine. Besides, it might be necessary to

Re: Signals Callbacks - Help!! Part 2

2005-07-09 Thread Carlo Agrusti
[EMAIL PROTECTED] ha scritto lo scorso 09/07/2005 02:28: Thank Yeti for your help, I really appreciate your input. However, due to my lack of experience on GTK+ I am afraid I would need something a bit more tangible. Could you please provide me with a example or point me to to a place where I

Re: Signals Callbacks - Help!! Part 2

2005-07-09 Thread David Necas (Yeti)
On Sat, Jul 09, 2005 at 12:28:21AM -, [EMAIL PROTECTED] wrote: Thank Yeti for your help, I really appreciate your input. However, due to my lack of experience on GTK+ I am afraid I would need something a bit more tangible. Could you please provide me with a example or point me to to a

Re: Win32 Gtk2-perl compilation

2005-07-09 Thread Dariush Pietrzak,,,
Does anyone know how to compil Gtk2-perl programs on win32 ? just do it -- Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9 The good Christian should beware of mathematicians, St Augustin ___ gtk-perl-list mailing list