1 /* GTK - The GIMP Toolkit
2 * gtksizegroup-private.h:
3 * Copyright (C) 2000-2010 Red Hat Software
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __GTK_SIZE_GROUP_PRIVATE_H__
22 #define __GTK_SIZE_GROUP_PRIVATE_H__
24 #include <gtk/gtksizegroup.h>
27 * GtkQueueResizeFlags:
28 * @GTK_QUEUE_RESIZE_INVALIDATE_ONLY: invalidate all cached sizes
29 * as we would normally do when a widget is queued for resize,
30 * but don't actually add the toplevel resize container to the
31 * resize queue. Useful if we want to change the size of a widget
32 * see how that would affect the overall layout, then restore
35 * Flags that affect the operation of queueing a widget for resize.
39 GTK_QUEUE_RESIZE_INVALIDATE_ONLY = 1 << 0
40 } GtkQueueResizeFlags;
42 void _gtk_size_group_bump_requisition (GtkWidget *widget,
43 GtkSizeGroupMode mode,
46 void _gtk_size_group_queue_resize (GtkWidget *widget,
47 GtkQueueResizeFlags flags);
49 #endif /* __GTK_SIZE_GROUP_PRIVATE_H__ */