Re: GtkApplication and argc/arv

> 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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]