I met a windows display error. Please help me. I create two windows in glade file. one window is main window with menus. The other (sub window) will be displayed after clicking a menu item. After clicking the menu item, the window appear very shortly and disappeared. you can see a window flashing one time on the screen. The sub window header file is :
The sub window cc file is :
The menu item signal handler is :
I try to use a gtk::dialog instead of gtk::window. The dialog can display normally. So I think maybe gtkmm only allow one window exist in a program. Is it right ?
Thanks
Wallace. 使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! |