]> Pileus Git - ~andy/gtk/commit
Add resize grips to GtkWindow
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Oct 2010 05:43:03 +0000 (01:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Oct 2010 06:14:10 +0000 (02:14 -0400)
commitf6347baf648fb5b7486354fd800b28bdf571f731
treeea20bc704dc17be75e486997ccc5a7a1b51043ed
parent368f0d084358d97a4822f6bdb0fcfff9f4519287
Add resize grips to GtkWindow

Allow any window to display a resize grip, in the south-east or
south-west corner, depending on text direction. This is implemented
as a shaped window that gets overlayed on top of whatever content
is there. We add api that allows widgets to avoid the resize grip,
if desired.

The ::has-resize-grip property controls if a window may display
a resize grip. It will only be displayed if the window is resizable
and not maximized.

The size and visual appearance of the resize grip is under theme
control, using the resize-grip-width/height style properties and
the paint_resize_grip style function.
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
gtk/gtkwindow.c
gtk/gtkwindow.h