cvs: php-gtk /docs/en/classes gtktipsquery.xml
| From: | Markus Fischer | Date: | Wed, 25 Apr 2001 22:08:07 +0000 |
| Subject: | cvs: php-gtk /docs/en/classes gtktipsquery.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1513@lists.php.net to get a copy of this message | ||
mfischer Wed Apr 25 15:08:07 2001 EDT
Modified files:
/php-gtk/docs/en/classes gtktipsquery.xml
Log:
Updated descripton and some methods.
Index: php-gtk/docs/en/classes/gtktipsquery.xml
diff -u php-gtk/docs/en/classes/gtktipsquery.xml:1.10 php-gtk/docs/en/classes/gtktipsquery.xml:1.11
--- php-gtk/docs/en/classes/gtktipsquery.xml:1.10 Tue Apr 24 08:43:27 2001
+++ php-gtk/docs/en/classes/gtktipsquery.xml Wed Apr 25 15:08:07 2001
@@ -2,11 +2,19 @@
<classmeta>
<classtitle>GtkTipsQuery</classtitle>
<classparent>GtkLabel</classparent>
- <shortdesc>Displays help text.</shortdesc>
+ <shortdesc>Displays widget sensitive help text.</shortdesc>
<desc>
<para>
- GtkTipsQuery is a widget for displaying help text in the user interface,
- triggered by a mouseover event.
+ <literal>GtkTipsQuery</literal> is a widget, similar to
+ <literal>GtkLabel</literal>, which just displays text. Initially, the
+ widget does not display a text in the label. Normally, a button or some
+ external widget is used to call the <function>start_query()</function>
+ method. At this point, the user interface stops working the normal way
+ and moving the mouse over the widgets tries to retrieve their
+ <classname>GtkToolTip</classname> text and displays it in the label. You
+ can also use <function>set_labels()</function> to set default text when
+ the mouse is not over a widget or if the widget has no associated
+ tooltip.
</para>
</desc>
</classmeta>
@@ -45,7 +53,8 @@
</shortdesc>
<desc>
<para>
- Starts the query.
+ This stops the interface working in its normal way and
+ enteres widget sensitive help mode.
<programlisting>$tipsquery->start_query();</programlisting>
</para>
</desc>
@@ -64,7 +73,7 @@
</shortdesc>
<desc>
<para>
- Stops the query.
+ Call this method so manually stop the query. This is normally not needed.
<programlisting>$tipsquery->stop_query();</programlisting>
</para>
</desc>
@@ -90,6 +99,7 @@
the syntax as follows:
<programlisting>$widget->set_query();</programlisting>
<!-- MARKUS, DIESEN SIND RICHTIG, ODER? -->
+ <!-- KEINE AHNUNG, DONT YET KNOW THE PURPOSE OF IT - mf -->
</para>
</desc>
</method>
@@ -105,13 +115,12 @@
</funcprototype>
</funcsynopsis>
<shortdesc>
- Sets non-active label text
+ Sets non-active label text.
</shortdesc>
<desc>
<para>
- Sets the text to display when the query is not running, and the text to
- display when the query is running but the widget in question has no
- tooltip.
+ Sets the text to display when the query is running but the there is no
+ widget selected or the widget in question has to tooltip.
<programlisting>$tipsquery->set_labels("No query running",
"No tooltip");</programlisting>
</para>
</desc>
@@ -125,6 +134,8 @@
<!-- TODO: Rethink how we display signal parameters - SOME SIGNALS HAVE A
NUMBER OF PARAMETERS - sf.-->
+ <!-- TALKED TO JAMES ABout it - he'll take a look -->
+
<signals>
<signal id="gtk.gtktipsquery.signal.start_query">
@@ -169,7 +180,8 @@
<shortdesc>Fired when a widget is selected during a query</shortdesc>
<desc>
<para>
- This is the signal fired when a widget is selected.
+ This is the signal fired when a widget is selected. Return
+ <literal>true</literal> to stop the help query.
</para>
</desc>
</signal>