cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkcolorselection.xml gtkcolorselectiondialog.xml gtkcombo.xml gtkfixed.xml gtkfontselection.xml
gtkgammacurve.xml gtkhbox.xml gtkstatusbar.xml /docs/stylesheets/xsl/html name_to_id.xsl

From: Date: Mon, 30 Apr 2001 01:09:18 +0000
Subject: cvs: php-gtk /docs manual.xml.in /docs/en/classes gtkcolorselection.xml gtkcolorselectiondialog.xml gtkcombo.xml gtkfixed.xml gtkfontselection.xml
gtkgammacurve.xml gtkhbox.xml gtkstatusbar.xml /docs/stylesheets/xsl/html name_to_id.xsl
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1559@lists.php.net to get a copy of this message
sfox Sun Apr 29 18:09:18 2001 EDT Added files: /php-gtk/docs/en/classes gtkcolorselection.xml gtkcombo.xml gtkfixed.xml gtkfontselection.xml gtkgammacurve.xml gtkhbox.xml gtkstatusbar.xml Modified files: /php-gtk/docs manual.xml.in /php-gtk/docs/en/classes gtkcolorselectiondialog.xml /php-gtk/docs/stylesheets/xsl/html name_to_id.xsl Log: SHELLSUIT#04 (nb have left clist, ctree, notebook for later input)

Index: php-gtk/docs/manual.xml.in diff -u php-gtk/docs/manual.xml.in:1.27 php-gtk/docs/manual.xml.in:1.28 --- php-gtk/docs/manual.xml.in:1.27 Fri Apr 27 05:02:14 2001 +++ php-gtk/docs/manual.xml.in Sun Apr 29 18:09:13 2001 @@ -96,6 +96,13 @@ &classes.gtkhbuttonbox; &classes.gtkvbuttonbox; &classes.gtkvbox; + &classes.gtkcolorselection; + &classes.gtkgammacurve; + &classes.gtkhbox; + &classes.gtkcombo; + &classes.gtkstatusbar; + &classes.gtkfixed; + &classes.gtkfontselection; </classset> <part id="appendixes"> Index: php-gtk/docs/en/classes/gtkcolorselectiondialog.xml diff -u php-gtk/docs/en/classes/gtkcolorselectiondialog.xml:1.1 php-gtk/docs/en/classes/gtkcolorselectiondialog.xml:1.2 --- php-gtk/docs/en/classes/gtkcolorselectiondialog.xml:1.1 Thu Apr 26 21:57:15 2001 +++ php-gtk/docs/en/classes/gtkcolorselectiondialog.xml Sun Apr 29 18:09:14 2001 @@ -7,19 +7,36 @@ </shortdesc> <desc> <para> - This widget is a dialog box displaying saturation, value, - opacity and RGB settings as percentage values, and hue as a colour wheel. These comprise a <classname>GtkColorSelection</classname> widget. The box also contains OK, Cancel and Help buttons, all of which need to be connected to a &quot;clicked&quot; event handler. + This widget is a dialog box displaying <literal>saturation</literal>, + <literal>value</literal>, <literal>opacity</literal> and RGB settings as + float (double) values, and <literal>hue</literal> as a colorwheel. These + comprise a <classname>GtkColorSelection</classname> widget. The box also + contains OK, Cancel and Help buttons - <literal>ok_button</literal>, + <literal>cancel_button</literal> and <literal>help_button</literal> - all + of which need to be connected to a &quot;clicked&quot; signal handler. </para> <para> <literal>colorsel</literal> is the <classname>GtkColorSelection</classname> - object contained within the dialog. Use its get_color() function to pick up - the selected color. You will need to connect a handler so that the - &quot;color_changed&quot; signal will be fired when the color changes. + object contained within the dialog. Use its <literal>get_color()</literal> + function to pick up the selected color as double values for + <literal>red</literal>, <literal>green</literal> and + <literal>blue</literal>, and for <literal>opacity</literal> if it has been + enabled. You will need to connect a handler so that you can do something + with the <literal>&quot;color_changed&quot;</literal> signal fired when the + color change event occurs. This piece of code picks up the color values at + any point during the time that the mouse-button is held down: <programlisting> - $colorsel = $window->colorsel; - $colorsel->set_opacity(true); - $colorsel->set_update_policy(GTK_UPDATE_CONTINUOUS); - $colorsel->get_color(); + $colorsel = $colorchoicebox-&gt;colorsel; + $colorsel-&gt;set_opacity(true); + $colorsel-&gt;set_update_policy(GTK_UPDATE_CONTINUOUS); + $colorsel-&gt;connect(&quot;color_changed&quot;, &quot;colorRetrieve&quot;); + etc etc + + function colorRetrieve() { + global $colorsel; + $colorsel-&gt;get_color(); + etc etc + } </programlisting> </para> </desc> @@ -31,6 +48,7 @@ <funcdef> object <function>GtkColorSelectionDialog</function> </funcdef> + <paramdef>string <parameter>title</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> @@ -38,8 +56,8 @@ </shortdesc> <desc> <para> - Constructs a GtkColorSelectionDialog widget. - <programlisting>$colorchoicebox = &amp;new GtkColorSelectionDialog;</programlisting> + Constructs a <classname>GtkColorSelectionDialog</classname> widget. + <programlisting>$colorchoicebox = &amp;new GtkColorSelectionDialog(&quot;Colorwheel &amp; Friends&quot;);</programlisting> </para> </desc> </constructor> Index: php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl diff -u php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.11 php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.12 --- php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl:1.11 Fri Apr 27 05:02:15 2001 +++ php-gtk/docs/stylesheets/xsl/html/name_to_id.xsl Sun Apr 29 18:09:17 2001 @@ -146,6 +146,27 @@ <xsl:when test="$classname='GtkVBox'"> <xsl:text>gtk.gtkvbox</xsl:text> </xsl:when> +<xsl:when test="$classname='GtkColorSelection'"> +<xsl:text>gtk.gtkcolorselection</xsl:text> +</xsl:when> +<xsl:when test="$classname='GtkGammaCurve'"> +<xsl:text>gtk.gtkgammacurve</xsl:text> +</xsl:when> +<xsl:when test="$classname='GtkHBox'"> +<xsl:text>gtk.gtkhbox</xsl:text> +</xsl:when> +<xsl:when test="$classname='GtkCombo'"> +<xsl:text>gtk.gtkcombo</xsl:text> +</xsl:when> +<xsl:when test="$classname='GtkStatusBar'"> +<xsl:text>gtk.gtkstatusbar</xsl:text> +</xsl:when> +<xsl:when test="$classname='GtkFixed'"> +<xsl:text>gtk.gtkfixed</xsl:text> +</xsl:when> +<xsl:when test="$classname='GtkFontSelection'"> +<xsl:text>gtk.gtkfontselection</xsl:text> +</xsl:when> <xsl:otherwise> @@ -1004,6 +1025,96 @@ </xsl:when> <xsl:when test="$funcname='GtkVBox'"> <xsl:text>gtk.gtkvbox.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkColorSelection'"> +<xsl:text>gtk.gtkcolorselection.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_update_policy'"> +<xsl:text>gtk.gtkcolorselection.method.set_update_policy</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_opacity'"> +<xsl:text>gtk.gtkcolorselection.method.set_opacity</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_color'"> +<xsl:text>gtk.gtkcolorselection.method.set_color</xsl:text> +</xsl:when> +<xsl:when test="$funcname='get_color'"> +<xsl:text>gtk.gtkcolorselection.method.get_color</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkGammaCurve'"> +<xsl:text>gtk.gtkgammacurve.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkHBox'"> +<xsl:text>gtk.gtkhbox.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkCombo'"> +<xsl:text>gtk.gtkcombo.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_value_in_list'"> +<xsl:text>gtk.gtkcombo.method.set_value_in_list</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_use_arrows'"> +<xsl:text>gtk.gtkcombo.method.set_use_arrows</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_use_arrows_always'"> +<xsl:text>gtk.gtkcombo.method.set_use_arrows_always</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_case_sensitive'"> +<xsl:text>gtk.gtkcombo.method.set_case_sensitive</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_item_string'"> +<xsl:text>gtk.gtkcombo.method.set_item_string</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_popdown_strings'"> +<xsl:text>gtk.gtkcombo.method.set_popdown_strings</xsl:text> +</xsl:when> +<xsl:when test="$funcname='disable_activate'"> +<xsl:text>gtk.gtkcombo.method.disable_activate</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkStatusBar'"> +<xsl:text>gtk.gtkstatusbar.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='get_context_id'"> +<xsl:text>gtk.gtkstatusbar.method.get_context_id</xsl:text> +</xsl:when> +<xsl:when test="$funcname='push'"> +<xsl:text>gtk.gtkstatusbar.method.push</xsl:text> +</xsl:when> +<xsl:when test="$funcname='pop'"> +<xsl:text>gtk.gtkstatusbar.method.pop</xsl:text> +</xsl:when> +<xsl:when test="$funcname='remove'"> +<xsl:text>gtk.gtkstatusbar.method.remove</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkFixed'"> +<xsl:text>gtk.gtkfixed.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='put'"> +<xsl:text>gtk.gtkfixed.method.put</xsl:text> +</xsl:when> +<xsl:when test="$funcname='move'"> +<xsl:text>gtk.gtkfixed.method.move</xsl:text> +</xsl:when> +<xsl:when test="$funcname='GtkFontSelection'"> +<xsl:text>gtk.gtkfontselection.constructor</xsl:text> +</xsl:when> +<xsl:when test="$funcname='get_font_name'"> +<xsl:text>gtk.gtkfontselection.method.get_font_name</xsl:text> +</xsl:when> +<xsl:when test="$funcname='get_font'"> +<xsl:text>gtk.gtkfontselection.method.get_font</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_font_name'"> +<xsl:text>gtk.gtkfontselection.method.set_font_name</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_filter'"> +<xsl:text>gtk.gtkfontselection.method.set_filter</xsl:text> +</xsl:when> +<xsl:when test="$funcname='get_preview_text'"> +<xsl:text>gtk.gtkfontselection.method.get_preview_text</xsl:text> +</xsl:when> +<xsl:when test="$funcname='set_preview_text'"> +<xsl:text>gtk.gtkfontselection.method.set_preview_text</xsl:text> </xsl:when> Index: php-gtk/docs/en/classes/gtkcolorselection.xml +++ php-gtk/docs/en/classes/gtkcolorselection.xml <classentry id="gtk.gtkcolorselection"> <classmeta> <classtitle>GtkColorSelection</classtitle> <classparent>GtkVBox</classparent> <shortdesc> Color selection widget. </shortdesc> <desc> <para> A color selection widget - the interesting parts from <classname>GtkColorSelectionDialog</classname>. There are sliders for <literal>saturation</literal> (describing the shade of the chosen color between white at the centre of the colorwheel - 0.0 - and black at the unseen furthermost point, 1.0), <literal>value</literal> and RGB (the <literal>value</literal> slider always matches the highest value of <literal>red</literal>, <literal>green</literal> or <literal>blue</literal> as appropriate), <literal>opacity</literal> (if enabled, 0.0 is transparent), and a 360 degree slider describing the value of the <literal>hue</literal> selected on the colorwheel (0.00 or 360.00 is <literal>red</literal>). There's an interesting -1.00 default setting for <literal>hue</literal>; however it isn't possible to repeat this through the display settings, so it's a very minor feature in GTK+, and is easily altered with the use of <function>set_color</function>. </para> </desc> </classmeta> <constructor id="gtk.gtkcolorselection.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkColorSelection</function> </funcdef> </funcprototype> </funcsynopsis> <shortdesc> Constructs a color selection widget. </shortdesc> <desc> <para> Constructs a <classname>GtkColorSelection</classname> widget. <programlisting>$colorbox = &amp;new GtkColorSelection();</programlisting> </para> </desc> </constructor> <methods> <method id="gtk.gtkcolorselection.method.set_update_policy"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_update_policy</function></funcdef> <paramdef>enum <parameter>GtkUpdatePolicy</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Sets the update policy regarding color. </shortdesc> <desc> <para> Sets the update policy as regards color selection to run either: <simplelist> <member>GTK_UPDATE_CONTINUOUS - the whole time that the mouse button is held down (either button)</member> <member>GTK_UPDATE_DISCONTINUOUS - when the mouse button is clicked or released, ie holding it down does not create an event</member> <member>GTK_UPDATE_DELAYED - incorporates a timer, which only operates if the mouse is still and the mouse-button held down</member> </simplelist> The default is GTK_UPDATE_CONTINUOUS. <programlisting>$colorbox-&gt;set_update_policy(GTK_UPDATE_DELAYED);</programlisting> </para> </desc> </method> <method id="gtk.gtkcolorselection.method.set_opacity"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_opacity</function></funcdef> <paramdef>bool <parameter>opacity</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Enables opacity option. </shortdesc> <desc> <para> Toggles whether or not <literal>opacity</literal> is enabled and can be set. The default is <literal>FALSE</literal>. <programlisting>$colorbox-&gt;set_opacity(TRUE);</programlisting> </para> </desc> </method> <method id="gtk.gtkcolorselection.method.set_color"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_color</function></funcdef> <paramdef>double <parameter>red</parameter></paramdef> <paramdef>double <parameter>green</parameter></paramdef> <paramdef>double <parameter>blue</parameter></paramdef> <paramdef>double <parameter>opacity</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Sets the color. </shortdesc> <desc> <para> Sets the color. If <literal>opacity</literal> is not enabled this method will work with just the RGB parameters or ignore the opacity parameter if that is included, and will default to full opacity. If <literal>opacity</literal> is enabled but not set, again it will default to 1.0 (full opacity). <programlisting>$colorbox-&gt;set_color(0.5, 1.0, 0.5);</programlisting> </para> </desc> </method> <method id="gtk.gtkcolorselection.method.get_color"> <funcsynopsis> <funcprototype> <funcdef>void <function>get_color</function></funcdef> </funcprototype> </funcsynopsis> <shortdesc> Gets the color currently set. </shortdesc> <desc> <para> Gets the currently selected color as an array of float (double) RGB values, with three returns in the array if <literal>opacity</literal> is not enabled, or four if it is. <programlisting> function colorRetrieve() { global $colorbox; $colorbox-&gt;get_color(); }</programlisting> </para> </desc> </method> </methods> </classentry> Index: php-gtk/docs/en/classes/gtkcombo.xml +++ php-gtk/docs/en/classes/gtkcombo.xml <classentry id="gtk.gtkcombo"> <classmeta> <classtitle>GtkCombo</classtitle> <classparent>GtkBox</classparent> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </classmeta> <constructor id="gtk.gtkcombo.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkCombo</function> </funcdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </constructor> <methods> <method id="gtk.gtkcombo.method.set_value_in_list"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_value_in_list</function></funcdef> <paramdef>int <parameter>val</parameter></paramdef> <paramdef>int <parameter>ok_if_empty</parameter></paramdef> <!-- both are true or false type ints sf --> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkcombo.method.set_use_arrows"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_use_arrows</function></funcdef> <paramdef>int <parameter>val</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Toggle to disable cursor keys. </shortdesc> <desc> <para> - - - <!-- FALSE disables them, TRUE or default allows cursor keys to navigate the list - sf --> </para> </desc> </method> <method id="gtk.gtkcombo.method.set_use_arrows_always"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_use_arrows_always</function></funcdef> <paramdef>int <parameter>val</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Toggle to enable cursor keys under all conditions. </shortdesc> <desc> <para> - - - <!-- TRUE means cursor keys work regardless of list item v entry match - sf --> </para> </desc> </method> <method id="gtk.gtkcombo.method.set_case_sensitive"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_case_sensitive</function></funcdef> <paramdef>int <parameter>val</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Toggles case sensitivity. </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkcombo.method.set_item_string"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_item_string</function></funcdef> <paramdef>GtkItem <parameter>item</parameter></paramdef> <paramdef>string <parameter>item_value</parameter></paramdef> <!-- TODO: come back to GtkCombo set_item_string and investigate - sf --> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkcombo.method.set_popdown_strings"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_popdown_strings</function></funcdef> <paramdef>array <parameter>listitems_as_strings</parameter></paramdef> <!-- TODO: The array in GtkCombo set_popdown_strings is a GList. Needs testing - sf --> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkcombo.method.disable_activate"> <funcsynopsis> <funcprototype> <funcdef>void <function>disable_activate</function></funcdef> </funcprototype> </funcsynopsis> <shortdesc> Disables popup list. </shortdesc> <desc> <para> - - - <!-- TODO: investigate signal "activate" and test in this context - sf --> </para> </desc> </method> </methods> </classentry> Index: php-gtk/docs/en/classes/gtkfixed.xml +++ php-gtk/docs/en/classes/gtkfixed.xml <classentry id="gtk.gtkfixed"> <classmeta> <classtitle>GtkFixed</classtitle> <classparent>GtkContainer</classparent> <shortdesc> Places child widgets in fixed positions. </shortdesc> <desc> <para> Places child widgets in fixed positions and with fixed sizes. </para> </desc> </classmeta> <constructor id="gtk.gtkfixed.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkFixed</function> </funcdef> </funcprototype> </funcsynopsis> <shortdesc> - - -. </shortdesc> <desc> <para> - - - </para> </desc> </constructor> <methods> <method id="gtk.gtkfixed.method.put"> <funcsynopsis> <funcprototype> <funcdef>void <function>put</function></funcdef> <paramdef>object <parameter>child_widget</parameter></paramdef> <paramdef>int <parameter>x</parameter></paramdef> <paramdef>int <parameter>y</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkfixed.method.move"> <funcsynopsis> <funcprototype> <funcdef>void <function>move</function></funcdef> <paramdef>object <parameter>child_widget</parameter></paramdef> <paramdef>int <parameter>x</parameter></paramdef> <paramdef>int <parameter>y</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> </methods> </classentry> Index: php-gtk/docs/en/classes/gtkfontselection.xml +++ php-gtk/docs/en/classes/gtkfontselection.xml <classentry id="gtk.gtkfontselection"> <classmeta> <classtitle>GtkFontSelection</classtitle> <classparent>GtkNotebook</classparent> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </classmeta> <constructor id="gtk.gtkfontselection.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkFontSelection</function> </funcdef> </funcprototype> </funcsynopsis> <shortdesc> - - -. </shortdesc> <desc> <para> - - - </para> </desc> </constructor> <methods> <method id="gtk.gtkfontselection.method.get_font_name"> <funcsynopsis> <funcprototype> <funcdef>void <function>get_font_name</function></funcdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkfontselection.method.get_font"> <funcsynopsis> <funcprototype> <funcdef>void <function>get_font</function></funcdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkfontselection.method.set_font_name"> <funcsynopsis> <funcprototype> <funcdef>bool <function>set_font_name</function></funcdef> <paramdef>string <parameter>font_name</parameter></paramdef> <!-- tests whether font requested is present, returns true if it is - sf --> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkfontselection.method.set_filter"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_filter</function></funcdef> <paramdef>enum <parameter>GtkFilterType</parameter></paramdef> <paramdef>enum <parameter>GtkFontType</parameter></paramdef> <paramdef>string <parameter>foundries</parameter></paramdef> <paramdef>string <parameter>weights</parameter></paramdef> <paramdef>string <parameter>slants</parameter></paramdef> <paramdef>string <parameter>setwidths</parameter></paramdef> <paramdef>string <parameter>spacings</parameter></paramdef> <paramdef>string <parameter>spacings</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> GTK_FONT_FILTER_BASE, GTK_FONT_FILTER_USER </para> <para> GTK_FONT_BITMAP, GTK_FONT_SCALABLE, GTK_FONT_SCALABLE_BITMAP, GTK_FONT_ALL </para> <para> - - - all string entries can be replaced with <literal>NULL</literal> <!-- TODO: Get back to GtkFontSelection set_filter and test ASAP - sf --> </para> </desc> </method> <method id="gtk.gtkfontselection.method.get_preview_text"> <funcsynopsis> <funcprototype> <funcdef>void <function>get_preview_text</function></funcdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkfontselection.method.set_preview_text"> <funcsynopsis> <funcprototype> <funcdef>void <function>set_preview_text</function></funcdef> <paramdef>string <parameter>text</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> </methods> </classentry> Index: php-gtk/docs/en/classes/gtkgammacurve.xml +++ php-gtk/docs/en/classes/gtkgammacurve.xml <classentry id="gtk.gtkgammacurve"> <classmeta> <classtitle>GtkGammaCurve</classtitle> <classparent>GtkVBox</classparent> <shortdesc> Gamma curve editing widget. </shortdesc> <desc> <para> Graphic gamma curve editing widget which includes three curve type option buttons, <literal>spline</literal>, <literal>linear</literal> and <literal>free</literal>, as well as one which creates a new curve and one for setting the <literal>gamma</literal> value. <!-- and I have had all manner of trouble testing it. I can't see any way to get handlers to the data generated here. This is a source-code jobbie - sf --> </para> </desc> </classmeta> <constructor id="gtk.gtkgammacurve.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkGammaCurve</function> </funcdef> </funcprototype> </funcsynopsis> <shortdesc> Constructs a gamma curve editing widget. </shortdesc> <desc> <para> Constructs a <classname>GtkGammaCurve</classname> widget. Please note that it needs a <classname>GtkWindow</classname> to display. <programlisting> $gamma = &amp;new GtkGammaCurve; $window-&gt;add($gamma);</programlisting> </para> </desc> </constructor> </classentry> Index: php-gtk/docs/en/classes/gtkhbox.xml +++ php-gtk/docs/en/classes/gtkhbox.xml <classentry id="gtk.gtkhbox"> <classmeta> <classtitle>GtkHBox</classtitle> <classparent>GtkBox</classparent> <shortdesc> Horizontal container box. </shortdesc> <desc> <para> A container which packs its child widgets in a single horizontal row. </para> </desc> </classmeta> <constructor id="gtk.gtkhbox.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkHBox</function> </funcdef> <paramdef>bool <parameter>homogenous</parameter></paramdef> <paramdef>int <parameter>spacing</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> Creates a horizontal box. </shortdesc> <desc> <para> Creates a container box which packs child widgets in a single horizontal row. <literal>homogenous</literal> refers to the equality of the spacing; <literal>TRUE</literal> gives all children equal space as though each were the size of the biggest child, whereas <literal>FALSE</literal> will give more or less space in response to child sizing requests. The default is <literal>FALSE</literal>. </para> <para> <literal>spacing</literal> is the number of pixels to place between the child widgets. The default setting is <literal>NULL</literal>, or zero pixels. <programlisting>$hbox = &amp;new GtkHBox(TRUE, 5);</programlisting> </para> </desc> </constructor> </classentry> Index: php-gtk/docs/en/classes/gtkstatusbar.xml +++ php-gtk/docs/en/classes/gtkstatusbar.xml <classentry id="gtk.gtkstatusbar"> <classmeta> <classtitle>GtkStatusBar</classtitle> <classparent>GtkBox</classparent> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </classmeta> <constructor id="gtk.gtkstatusbar.constructor"> <funcsynopsis> <funcprototype> <funcdef> object <function>GtkStatusBar</function> </funcdef> <paramdef>string <parameter>label</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - -. </shortdesc> <desc> <para> - - - </para> </desc> </constructor> <methods> <method id="gtk.gtkstatusbar.method.get_context_id"> <funcsynopsis> <funcprototype> <funcdef>void <function>get_context_id</function></funcdef> <paramdef>string <parameter>context_description</parameter></paramdef> <!-- Greater minds than mine have struggled with this one. Needs investigating at source level if possible please. sf --> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkstatusbar.method.push"> <funcsynopsis> <funcprototype> <funcdef>void <function>push</function></funcdef> <paramdef>int <parameter>context_id</parameter></paramdef> <paramdef>string <parameter>text</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkstatusbar.method.pop"> <funcsynopsis> <funcprototype> <funcdef>void <function>pop</function></funcdef> <paramdef>int <parameter>context_id</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> <method id="gtk.gtkstatusbar.method.remove"> <funcsynopsis> <funcprototype> <funcdef>void <function>remove</function></funcdef> <paramdef>int <parameter>context_id</parameter></paramdef> <paramdef>int <parameter>message_id</parameter></paramdef> </funcprototype> </funcsynopsis> <shortdesc> - - - </shortdesc> <desc> <para> - - - </para> </desc> </method> </methods> </classentry>
« previous php.gtk (#1559) next »