cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkmisc.xml

From: Date: Sun, 08 Apr 2001 15:40:26 +0000
Subject: cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkmisc.xml
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1319@lists.php.net to get a copy of this message
jmoore Sun Apr 8 08:40:26 2001 EDT Added files: /php-gtk/docs/en/classes gtkmisc.xml Modified files: /php-gtk/docs manual.xml.in Log: Adding documentation for GtkMisc Index: php-gtk/docs/manual.xml.in diff -u php-gtk/docs/manual.xml.in:1.15 php-gtk/docs/manual.xml.in:1.16 --- php-gtk/docs/manual.xml.in:1.15 Sun Apr 8 07:55:21 2001 +++ php-gtk/docs/manual.xml.in Sun Apr 8 08:40:26 2001 @@ -57,6 +57,7 @@ &classes.gtkwidget; &classes.gtkdata; &classes.gtkitemfactory; + &classes.gtkmisc; </classset> <part id="appendixes"> Index: php-gtk/docs/en/classes/gtkmisc.xml +++ php-gtk/docs/en/classes/gtkmisc.xml <classentry id='gtk.gtkmisc'> <classmeta> <classtitle>GtkMisc</classtitle> <classparent>GtkWidget</classparent> <shortdesc> A base class for widgets with alignments and padding. </shortdesc> <desc> <para> The GtkMisc widget is an abstractr widget that provides the functionality for other widgets below itself which need alignment and padding attributes. </para> <para> This object should not be access by the PHP developer directly, it is used and documented here for inheritance perposes, not for actaul use. </para> <para> The widget has horizonal and vertical properties that allow it to be positioned as needed within its container by adding extra space around the widget. </para> <para> Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position. </para> </desc> </classmeta> <methods> <method> <funcsynopsis> <funcprototype> <funcdef> void <function>set_alignment</function> </funcdef> <paramdef>int <parameter>xalign</parameter></paramdef> <paramdef>int <parameter>yalign</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Sets the alignment of a widget </shortdesc> <desc> <simpara> This function can be used to set the alignment of a widget with in its container. The <parameter>xalign</parameter> is the distance of the top left of the widget from the topleft corner of the container along the x-axis, this takes values from <literal>0</literal>(left) to <literal>1</literal>(right). The <parameter>yalign</parameter> is the distance of the top left corner of the widget from the top left corner of the container along the y-axis. </simpara> </desc> </method> <method> <funcsynopsis> <funcprototype> <funcdef> void <function>set_padding</function> </funcdef> <paramdef>int <parameter>xpad</parameter></paramdef> <paramdef>int <parameter>ypad</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Sets the amount of space to add around the widget. </shortdesc> <desc> <simpara> This function can be used to set the padding around an object in pixels. It has two parameters, <parameter>xpad</parameter> and <parameter>ypad</parameter>, these tell gtk to pad the widget by that number of pixles in the x or y axis respectivly. </simpara> </desc> </method> </methods> </classentry>

« previous php.gtk (#1319) next »