Add this API.

Fri Jul 18 19:55:50 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
	API.
This commit is contained in:
Soeren Sandmann 2003-07-18 17:37:15 +00:00 committed by Søren Sandmann Pedersen
parent 80560b9d3d
commit 5171637f92
7 changed files with 44 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Fri Jul 18 19:55:50 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
API.
Fri Jul 18 18:43:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
By popular request give toolbuttons a border.

View File

@ -1,3 +1,8 @@
Fri Jul 18 19:55:50 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
API.
Fri Jul 18 18:43:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
By popular request give toolbuttons a border.

View File

@ -1,3 +1,8 @@
Fri Jul 18 19:55:50 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
API.
Fri Jul 18 18:43:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
By popular request give toolbuttons a border.

View File

@ -1,3 +1,8 @@
Fri Jul 18 19:55:50 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
API.
Fri Jul 18 18:43:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
By popular request give toolbuttons a border.

View File

@ -1,3 +1,8 @@
Fri Jul 18 19:55:50 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
API.
Fri Jul 18 18:43:01 2003 Soeren Sandmann <sandmann@daimi.au.dk>
By popular request give toolbuttons a border.

View File

@ -2249,7 +2249,6 @@ gtk_widget_queue_clear (GtkWidget *widget)
* be called when a widget for some reason has a new size request.
* For example, when you change the text in a #GtkLabel, #GtkLabel
* queues a resize to ensure there's enough space for the new text.
*
**/
void
gtk_widget_queue_resize (GtkWidget *widget)
@ -2268,6 +2267,23 @@ gtk_widget_queue_resize (GtkWidget *widget)
_gtk_size_group_queue_resize (widget);
}
/**
* gtk_widget_queue_resize_no_redraw:
* @widget: a #GtkWidget
*
* This function works like gtk_widget_queue_resize(), except that the
* widget is not invalidated.
*
* Since: 2.4
**/
void
gtk_widget_queue_resize_no_redraw (GtkWidget *widget)
{
g_return_if_fail (GTK_IS_WIDGET (widget));
_gtk_size_group_queue_resize (widget);
}
/**
* gtk_widget_draw:
* @widget: a #GtkWidget
@ -3855,7 +3871,7 @@ gtk_widget_set_double_buffered (GtkWidget *widget,
* Sets whether a when a widgets size allocation changes, the entire
* widget is queued for drawing. By default, this setting is %TRUE and
* the entire widget is redrawn on every size change. If your widget
* leaves the upper left are unchanged when made bigger, turning this
* leaves the upper left unchanged when made bigger, turning this
* setting on will improve performance.
* Note that for %NO_WINDOW widgets setting this flag to %FALSE turns

View File

@ -470,6 +470,7 @@ void gtk_widget_queue_clear_area (GtkWidget *widget,
void gtk_widget_queue_resize (GtkWidget *widget);
void gtk_widget_queue_resize_no_redraw (GtkWidget *widget);
#ifndef GTK_DISABLE_DEPRECATED
void gtk_widget_draw (GtkWidget *widget,
GdkRectangle *area);