<para>
The GTK+ signal system merely proxies the GLib signal system now. For future
usage, direct use of the <link linkend="gobject-Signals">GSignal</link> API is recommended, this avoids significant
-performance hits where #GtkArg structures have to be converted into #GValue<!>s.
+performance hits where #GtkArg structures have to be converted into #GValue<!-- -->s.
</para>
<refsect2>
Signals are a way to get notification when something happens
and to customize object behavior according to the
user's needs.
-Every <WordAsWord>signal</WordAsWord> is uniquely identified by a name,
+Every <wordasword>signal</wordasword> is uniquely identified by a name,
"class_name::signal_name", where signal_name might be something like
"clicked" and class_name might be "GtkButton". Note that some other class
may also define a "clicked" callback, so long as it doesn't derive from
</para>
<para>
Functions that want to notify the user of certain actions,
-<Emphasis>emit</Emphasis> signals.
+<emphasis>emit</emphasis> signals.
</para>
</refsect2>
<refsect2>
<programlisting>
static void button_clicked_int (GtkButton* button, gpointer func_data)
{
- g_print ("button pressed: %%d\n", GPOINTER_TO_INT (func_data));
+ g_print ("button pressed: &percent;d\n", GPOINTER_TO_INT (func_data));
}
/* By calling this function, you will make the g_print above