Re: How to popup a window when click a button on gtkmm?



juanfran ugenawireless org es writes:

> Hello, I´m a new developer on gtkmm.I would like to know how to popup a
> window when a user click a button.
>
> My source code is down:
>
> void MainWindow::button_clicked()
> {
> 	 Gtk::Window popupwindow.
> 	 popupwindow.set_size_request(800,600);
Well, probably you want here
      popupwindow.show();

Also have a look at Gtk::Dialog.
>
> 	 show_all_children();

-- 
WBR, Max Vasin.
        JID: maxvasin jabber ru
        ICQ: 276438891





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