Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::get_default_size ( int &  width,
int &  height 
) const

Gets the default size of the window. A value of -1 for the width or height indicates that a default size has not been explicitly set for that dimension, so the "natural" size of the window will be used.

Parameters:
width Location to store the default width.
height Location to store the default height.

Definition at line 862 of file window.cc.

References gobj().

{
  gtk_window_get_default_size(const_cast<GtkWindow*>(gobj()), &width, &height);
}


Generated by  Doxygen 1.6.0   Back to index