mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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:
parent
80560b9d3d
commit
5171637f92
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user