2017-04-17 75 views

回答

-1

我想你會幫助你從其他窗口運行並關閉窗口。

#include "currentWindow.h" 
#include "NewWindow.h" 

currentWindow::currentWindow() : 
{ 
... 
... 
... 

NewWindow NW; 

// to run new window 
    Gtk::Main::run(NW); 
//to close it 
    NW.hide(); 
} 
+0

嗨,謝謝你的回覆。但這不是我問的解決方案。但我真的希望從一個gtkmm窗口gui類自動生成事件。基於這個信號,我可以做任何我想要的。 – Prakash

+0

你可以添加一個你的代碼的例子 – manneta