Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::get_frame_dimensions ( int &  left,
int &  top,
int &  right,
int &  bottom 
) const

(Note: this is a special-purpose function intended for the framebuffer port; see set_has_frame(). It will not return the size of the window border drawn by the window manager, which is the normal case when using a windowing system. See gdk_window_get_frame_extents() to get the standard window border extents.)

Retrieves the dimensions of the frame window for this toplevel. See set_has_frame(), set_frame_dimensions().

Parameters:
left Location to store the width of the frame at the left.
top Location to store the height of the frame at the top.
right Location to store the width of the frame at the returns.
bottom Location to store the height of the frame at the bottom.

Definition at line 676 of file window.cc.

References gobj().

{
  gtk_window_get_frame_dimensions(const_cast<GtkWindow*>(gobj()), &left, &top, &right, &bottom);
}


Generated by  Doxygen 1.6.0   Back to index