Re: GtkApplication and argc/arv
- From: Alexandre Mazari <scaroo gmail com>
- To: gtk-devel-list gnome org
- Subject: Re: GtkApplication and argc/arv
- Date: Thu, 10 Mar 2011 11:12:39 +0100
> However, the deficiency I have found in the past with respect to
> implementing single instance programs using gtk+/gnome is the window
> manager. Usually in the circumstances I have described you want
> gtk_window_present() to do what it says it does (for the remote dbus
> callback to bring up the chosen main application window to the user),
> but the window manager seems to do its best to sabotage all attempts to
> do so.
I am pretty sure you should do the gtk_window_present in your primary instance
at one of your application's actions activation.
Actually, it would be nice if the activation callback could receive
the timestamp of
the event, so we can use _present_with_time.
] [Thread Prev