mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-21 14:24:19 +00:00
docs: migrating-2to3: improve cross-reference
This commit is contained in:
parent
5a987c314b
commit
d1fbb52eb4
@ -935,7 +935,7 @@ AM_CONDITIONAL(BUILD_x11, [test "x$have_x11" = "xyes"])
|
|||||||
is available via the new gtk_widget_get_allocated_width() and
|
is available via the new gtk_widget_get_allocated_width() and
|
||||||
gtk_widget_get_allocated_height() functions. It is not necessary to
|
gtk_widget_get_allocated_height() functions. It is not necessary to
|
||||||
check for GTK_WIDGET_IS_DRAWABLE(), since GTK+ already does this check
|
check for GTK_WIDGET_IS_DRAWABLE(), since GTK+ already does this check
|
||||||
before emitting the ::draw signal.
|
before emitting the #GtkWidget::draw signal.
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
There are some special considerations for widgets with multiple windows.
|
There are some special considerations for widgets with multiple windows.
|
||||||
@ -954,7 +954,7 @@ AM_CONDITIONAL(BUILD_x11, [test "x$have_x11" = "xyes"])
|
|||||||
}
|
}
|
||||||
...
|
...
|
||||||
</programlisting></informalexample>
|
</programlisting></informalexample>
|
||||||
In contrast, the ::draw signal handler may have to draw multiple
|
In contrast, the #GtkWidget::draw signal handler may have to draw multiple
|
||||||
windows in one call. GTK+ has a convenience function
|
windows in one call. GTK+ has a convenience function
|
||||||
gtk_cairo_should_draw_window() that can be used to find out if
|
gtk_cairo_should_draw_window() that can be used to find out if
|
||||||
a window needs to be drawn. With that, the example above would look
|
a window needs to be drawn. With that, the example above would look
|
||||||
|
Loading…
Reference in New Issue
Block a user