Re: "intro to gtk 2" document



On 9 Sep 2001, Havoc Pennington wrote:

> GTK+ comes with a binary called <literal>make-inline-pixbuf</literal>

It got renamed to gdk-pixbuf-csource

> <listitem>
> <para>
> The <literal>"draw"</literal> signal on <literal>GtkWidget</literal>
> no longer exists. Instead, all drawing goes through expose_event. 
> In general, <literal>"draw"</literal> signal handlers or default
> implementations can be deleted with no ill effects. One exception:
> some widgets called <literal>gtk_widget_draw()</literal> from their
> expose handler. <literal>gtk_widget_draw()</literal> now sends expose
> events. So you'll get an infinite loop. These widgets should be fixed
> by moving the code from the draw handler into the
> expose_event handler.
> </para>
> </listitem>
> 
> <listitem>
> <para>
> The <literal>"draw"</literal> signal on <literal>GtkWidget</literal>
> no longer exists. Instead, all drawing goes through expose_event. 
> In general, <literal>"draw"</literal> signal handlers or default
> implementations can be deleted with no ill effects. One exception:
> some widgets called <literal>gtk_widget_draw()</literal> from their
> expose handler. <literal>gtk_widget_draw()</literal> now sends expose
> events. So you'll get an infinite loop. These widgets should be fixed
> by moving the code from the draw handler into the
> expose_event handler.
> </para>
> </listitem>

Duplicated paragraph.

/ alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]