cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkaccellabel.xml gtktipsquery.xml
| From: | Steph Fox | Date: | Wed, 11 Apr 2001 16:42:55 +0000 |
| Subject: | cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkaccellabel.xml gtktipsquery.xml | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1348@lists.php.net to get a copy of this message | ||
sfox Wed Apr 11 09:42:55 2001 EDT
Added files:
/php-gtk/docs/en/classes gtkaccellabel.xml gtktipsquery.xml
Modified files:
/php-gtk/docs manual.xml.in
Log:
TO DO - code test of all labels docs before moving on
Index: php-gtk/docs/manual.xml.in
diff -u php-gtk/docs/manual.xml.in:1.19 php-gtk/docs/manual.xml.in:1.20
--- php-gtk/docs/manual.xml.in:1.19 Tue Apr 10 17:46:29 2001
+++ php-gtk/docs/manual.xml.in Wed Apr 11 09:42:54 2001
@@ -59,6 +59,8 @@
&classes.gtkcontainer;
&classes.gtkbin;
&classes.gtklabel;
+ &classes.gtkaccellabel;
+ &classes.gtktipsquery;
</classset>
<part id="appendixes">
Index: php-gtk/docs/en/classes/gtkaccellabel.xml
+++ php-gtk/docs/en/classes/gtkaccellabel.xml
<classentry id="gtk.gtkaccellabel">
<classmeta>
<classtitle>GtkAccelLabel</classtitle>
<classparent>GtkLabel</classparent>
<shortdesc>Displays accelerator keys</shortdesc>
<desc>
<para>
GtkAccelLabel is a widget for displaying an accelerator key to the right of the label text.
</para>
<para>
There are no signals associated with this object other than those it inherits from the relevant
base classes.
</para>
</desc>
</classmeta>
<methods>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
int <function>get_accel_width</function>
</funcdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Returns the width of the accelerator display
</shortdesc>
<desc>
<para>
Returns the width needed to display the accelerator key(s). This is used by menus to align all
GtkMenuItem widgets.
</para>
</desc>
</method>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
void <function>set_accel_widget</function>
</funcdef>
<paramdef>resource <parameter>accel_widget</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Sets the relevant widget for accel label display
</shortdesc>
<desc>
<para>
This is the method for setting the widget whose accelerators are going to be displayed. The
syntax for using this is as follows:
<programlisting><![CDATA[var widget =>(var accellabel);]]></programlisting>
</para>
</desc>
</method>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
bool <function>refetch</function>
</funcdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Recreates accelerator key string representation
</shortdesc>
<desc>
<para>
This method recreates the string representing the accelerator key. However the accelerator key
strings are automatically updated whenever accelerators are added to or removed from the associated
widget, so it's difficult to see where this might be of practical use.
</para>
</desc>
</method>
</methods>
</classentry>
Index: php-gtk/docs/en/classes/gtktipsquery.xml
+++ php-gtk/docs/en/classes/gtktipsquery.xml
<classentry id="gtk.gtktipsquery">
<classmeta>
<classtitle>GtkTipsQuery</classtitle>
<classparent>GtkLabel</classparent>
<shortdesc>Displays help text</shortdesc>
<desc>
<para>
GtkTipsQuery is a widget for displaying help text in the user interface, triggered by a
mouseover event.
</para>
</desc>
</classmeta>
<methods>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
void <function>start_query</function>
</funcdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Starts the query
</shortdesc>
<desc>
<para>
Starts the query
</para>
</desc>
</method>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
void <function>stop_query</function>
</funcdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Stops the query
</shortdesc>
<desc>
<para>
Stops the query
</para>
</desc>
</method>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
void <function>set_caller</function>
</funcdef>
<paramdef>char <parameter>var widget</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Sets the widget which initiates the query
</shortdesc>
<desc>
<para>
Sets the widget which initiates the query. It would be equally simple to slip this into the
widget settings with the syntax as follows:
<programlisting><![CDATA["_ _"]]>var widget =>var
set_query()</programlisting>
</para>
</desc>
</method>
<method>
<funcsynopsis>
<funcprototype>
<funcdef>
void <function>set_labels</function>
</funcdef>
<paramdef>char <parameter>label_inactive</parameter></paramdef>
<paramdef>char <parameter>label_no_tip</parameter></paramdef>
</funcprototype>
</funcsynopsis>
<shortdesc>
Sets non-active label text
</shortdesc>
<desc>
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.
</desc>
</method>
</methods>
<signals>
<signal>
<signalname>start_query</signalname>
<firedwhen>Fired when the query is started</firedwhen>
<shortdesc>Signal fired when tooltip query is started</shortdesc>
<desc>
This is the signal fired when a tooltip query is started.
</desc>
</signal>
<signal>
<signalname>stop_query</signalname>
<firedwhen>Fired when the query is stopped</firedwhen>
<shortdesc>Signal fired when the tooltip query is stopped</shortdesc>
<desc>
This is the signal fired when a tooltip query is stopped.
</desc>
</signal>
<signal>
<signalname>widget_entered</signalname>
<firedwhen>Fired when a widget is entered</firedwhen>
<shortdesc>Fired when a widget is entered while the query is in effect</shortdesc>
<desc>
This is the signal fired when a widget is entered while the tooltip query is in effect.
</desc>
</signal>
<signal>
<signalname>widget_selected</signalname>
<firedwhen>Fired when a widget is selected</firedwhen>
<shortdesc>Fired when a widget is selected during a query</shortdesc>
<desc>
I NEED TO TEST EVERYTHING ON LABELS BEFORE DOCUMENTING FURTHER. THIS SIGNAL HAS A NUMBER OF
PARAMETERS - sf.
</desc>
</signal>
</signals>
</classentry>