English 中文(简体)
从应用程序外部唤醒 gtk 窗口
原标题:wake up gtk window from outside the application

I have a application running a gtk window. When the user exit the app I just want to hide the window but keep the process running. So when the app is started I want to check

if app already running: show window, else create new window...

有办法不使用 DBU 来做到这一点吗?

最佳回答

我选择使用libunique, 对于 gtk3 应用程序 GtkApplications GtkApplication 可以使用 。

问题回答

暂无回答




相关问题
Pointers in Lisp?

I ve started learning Lisp recently and wanted to write a program which uses gtk interface. I ve installed lambda-gtk bindings (on CMUCL). I want to have putpixel/getpixel ability on a pixbuf. But I ...

In Gtk, how do I make a Button with just a stock icon?

I want to create a button with the stock "Remove" icon on it, but without the text "Remove". If I use Button button = new Button(Stock.Remove);, I get the opposite: just the text, and no icon. I will ...

Using GtkMenu in Gtk+-2.14.0

I am building an application which has GtkMenu widget. I am using Glade RAD tool to develop UI and while creating project in Glade I have specified version of GTK as 2.16 which supports GtkMenu and ...

Can you set the FileFilters for a Gtk Dialog in Glade?

In my code, I have lines like this: Builder builder = new Builder(); builder.AddFromFile(gladefile); FileChooserDialog dialog = (FileChooserDialog) builder.GetObject("dialog"); FileFilter[] ...

热门标签