Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::resize ( int  width,
int  height 

Resizes the window as if the user had done so, obeying geometry constraints. The default geometry constraint is that windows may not be smaller than their size request; to override this constraint, call Gtk::Widget::set_size_request() to set the window's request to a smaller value.

If resize() is called before showing a window for the first time, it overrides any default size set with set_default_size().

Windows may not be resized smaller than 1 by 1 pixels.

width Width in pixels to resize the window to.
height Height in pixels to resize the window to.

Definition at line 867 of file window.cc.

References gobj().

  gtk_window_resize(gobj(), width, height);

Generated by  Doxygen 1.6.0   Back to index