Re: Two windows in GTKmm



void
YourClass::on_new_window (void)
{
  Gtk::Window* win = new Gtk::Window;
  win->show_all();
}

Remember to delete it afterwards. You can do this in the window itself
if you register the appropriate close signals (on_delete_event).

Simon

Adam Ch. wrote:
>   Hi.
> I'm newbie in GTKmm so I ask you. 
> How can I show secound window from the first window? 
> Maybe question is stupid, but I don't know answer.



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