Forum und email

GtkWindow::reshow_with_initial_size

void reshow_with_initial_size();

Hides then reshows the window in its original position and with its original size. This method is not normally used in every day code. It will ignore any changes that the user has made to the window and return the window to its original settings. If you want to prevent the window from being moved, pass Gtk::WIN_POS_CENTER_ALWAYS to set_position() . If you want to prevent the user from resizing the window, pass false to set_resizable() .

Виж също: set_position() set_resizable()