Re: Glib::Thread && Gtk::Window



Strange behavior of Gtk::Main::run().
when I wrote:
void Main_Window::on_Show_clicked()  /*button signal_clicked()*/
{
     Gtk::Window wnd;
     Gtk::Main::run(wnd);
}

it work OK. Every time when I press button method
create new window.

But when I connect() this method to
Gtk::ActionGroup and call it,
create only one window.

Why?





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