cvs: php-gtk /docs/en/classes gtkaccellabel.xml

From: Date: Wed, 25 Apr 2001 22:56:45 +0000
Subject: cvs: php-gtk /docs/en/classes gtkaccellabel.xml
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1514@lists.php.net to get a copy of this message
mfischer Wed Apr 25 15:56:45 2001 EDT Modified files: /php-gtk/docs/en/classes gtkaccellabel.xml Log: Removed comments; added some more descriptive information on refetch. Index: php-gtk/docs/en/classes/gtkaccellabel.xml diff -u php-gtk/docs/en/classes/gtkaccellabel.xml:1.9 php-gtk/docs/en/classes/gtkaccellabel.xml:1.10 --- php-gtk/docs/en/classes/gtkaccellabel.xml:1.9 Tue Apr 24 08:43:26 2001 +++ php-gtk/docs/en/classes/gtkaccellabel.xml Wed Apr 25 15:56:45 2001 @@ -31,7 +31,7 @@ <para> The syntax to create a new GtkAccelLabel is: <programlisting>$accellabel = &amp;new GtkAccelLabel(&quot;accel_label_string&quot;);</programlisting> - Alternatively you could pass a string to it by reference: + Alternatively you could pass a string to it: <programlisting>$accellabel = &amp;new GtkAccelLabel($name_for_accel_label);</programlisting> </para> </desc> @@ -65,7 +65,7 @@ <funcdef> void <function>set_accel_widget</function> </funcdef> - <paramdef>object <parameter>accel_widget</parameter></paramdef> + <paramdef>GtkWidget <parameter>accel_widget</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> @@ -73,10 +73,9 @@ </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>$widget =&gt;($accellabel);</programlisting> - <!-- MARKUS, DIESE IST RICHTIG, ODER?--> + This is the method for setting the widget whose accelerators are going to + be displayed. The syntax for using this is as follows: + <programlisting>$accellabel-&gt;set_accell_widget($accellabel);</programlisting> </para> </desc> </method> @@ -94,24 +93,11 @@ </shortdesc> <desc> <para> - This method recreates the string representing the accelerator key. -<!-- TODO: Rework gtkaccellable::refetch() --> -<!-- COMMENT: Im not happy with this steph. I dont like the "difficult to see where - this might be of practicle use" this is not what people want to - see in a manual and makes it look less reliable. We may be guessing at - times but we need to look like we know what we are talking about. Can - you please reword this as appropraite. Also I think although im unsure - of your idea of what the function does but Im far to tired to explain - what I think it does as Ive forgotten.. Umm Ill try and remember - when I wake up. - - James - --> -<!-- James, that's precisely why I sent this to Markus for checking! & if I were - happy to take guesses without any technical support the manual would be - finished by now, I promise you! sf --> - 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. + This method recreates the string representing the accelerator key. This + method is never called directly by the user because it gets automatically + called at widget initialization and when a new accellerator widget is + set. :It's the core method which retrieves the key data from the widget and + translates it to the label description. <programlisting>$accellabel-&gt;refetch();</programlisting> </para> </desc>

« previous php.gtk (#1514) next »