cvs: peardoc /en/package gtk2.xml /en/package/gtk2 scrollinglabel.xml /en/package/gtk2/scrollinglabel constructor.xml getfulltext.xml
gethiddentext.xml getscrollinglabel.xml getstyle.xml getvisiblelength.xml intro.xml pause.xml setbounce.xml setstartsignal.xml startscroll.xml
unpause.xml

From: Date: Fri, 01 Dec 2006 15:43:58 +0000
Subject: cvs: peardoc /en/package gtk2.xml /en/package/gtk2 scrollinglabel.xml /en/package/gtk2/scrollinglabel constructor.xml getfulltext.xml
gethiddentext.xml getscrollinglabel.xml getstyle.xml getvisiblelength.xml intro.xml pause.xml setbounce.xml setstartsignal.xml startscroll.xml
unpause.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8960@lists.php.net to get a copy of this message
anant Fri Dec 1 15:43:58 2006 UTC Added files: /peardoc/en/package/gtk2 scrollinglabel.xml /peardoc/en/package/gtk2/scrollinglabel constructor.xml getfulltext.xml gethiddentext.xml getscrollinglabel.xml getstyle.xml getvisiblelength.xml intro.xml pause.xml setbounce.xml setstartsignal.xml startscroll.xml unpause.xml Modified files: /peardoc/en/package gtk2.xml Log: Ported Gtk_ScrollingLabel docs to Gtk2_ScrollingLabel

http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2.xml?r1=1.7&r2=1.8&diff_format=u Index: peardoc/en/package/gtk2.xml diff -u peardoc/en/package/gtk2.xml:1.7 peardoc/en/package/gtk2.xml:1.8 --- peardoc/en/package/gtk2.xml:1.7 Mon Nov 6 16:59:15 2006 +++ peardoc/en/package/gtk2.xml Fri Dec 1 15:43:58 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <chapter id="package.gtk2"> @@ -17,6 +17,7 @@ &package.gtk2.filedrop; &package.gtk2.gtk2-indexedcombobox; &package.gtk2.phpconfig; + &package.gtk2.scrollinglabel; &package.gtk2.vardump; </chapter> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel.xml +++ peardoc/en/package/gtk2/scrollinglabel.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <sect1 id="package.gtk2.scrollinglabel"> <title>Gtk2_ScrollingLabel</title> <para> Provides a simple GUI to enable the user to edit php.ini values. </para> &package.gtk2.scrollinglabel.intro; &package.gtk2.scrollinglabel.constructor; &package.gtk2.scrollinglabel.getfulltext; &package.gtk2.scrollinglabel.sethiddentext; &package.gtk2.scrollinglabel.getscrollinglabel; &package.gtk2.scrollinglabel.getstyle; &package.gtk2.scrollinglabel.getvisiblelength; &package.gtk2.scrollinglabel.pause; &package.gtk2.scrollinglabel.setbounce; &package.gtk2.scrollinglabel.setstartsignal; &package.gtk2.scrollinglabel.startscroll; &package.gtk2.scrollinglabel.unpause; </sect1> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/constructor.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/constructor.xml +++ peardoc/en/package/gtk2/scrollinglabel/constructor.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.constructor"> <refnamediv> <refname>Gtk2_ScrollingLabel</refname> <refpurpose>Create a new Scrolling label.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk2_SrollingLabel</function></funcdef> <paramdef> string <parameter><optional>$text = ''</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.constructor.desc"> &title.desc; <para> Class constructor </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.constructor.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> string <parameter>$text</parameter> - The text to scroll </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.constructor.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/getfulltext.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/getfulltext.xml +++ peardoc/en/package/gtk2/scrollinglabel/getfulltext.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.getfulltext"> <refnamediv> <refname>Gtk2_ScrollingLabel::getFullText</refname> <refpurpose>Returns the full text of the label.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Gtk2_ScrollingLabel::getFullText</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.getfulltext.desc"> &title.desc; <para> Returns the full text of the label. The full text is the text that was set on construction or with <function>setFullText</function> not just what is currently visible. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getfulltext.returns"> &title.returns; <para> <emphasis>returns</emphasis> the full text of the label. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getfulltext.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/gethiddentext.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/gethiddentext.xml +++ peardoc/en/package/gtk2/scrollinglabel/gethiddentext.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.gethiddentext"> <refnamediv> <refname>Gtk2_ScrollingLabel::getHiddenText</refname> <refpurpose>Returns all of the text that is not currently visible.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Gtk2_ScrollingLabel::getHiddenText</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.gethiddentext.desc"> &title.desc; <para> Returns the portion of the full label text that is currently not being shown. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.gethiddentext.returns"> &title.returns; <para> <emphasis>returns</emphasis> the label text that is not visible. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.gethiddentext.see"> &title.see; <para> <link linkend="package.gtk2.scrollinglabel.getfulltext"> <function>getFullText</function> </link> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.gethiddentext.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/getscrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/getscrollinglabel.xml +++ peardoc/en/package/gtk2/scrollinglabel/getscrollinglabel.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.getscrollinglabel"> <refnamediv> <refname>Gtk2_ScrollingLabel::getScrollingLabel</refname> <refpurpose>Returns a GtkEventBox with the scrolling label inside.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk2_ScrollingLabel::getScrollingLabel</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.getscrollinglabel.desc"> &title.desc; <para> Returns the GtkEventBox that contains the scrolling label. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getscrollinglabel.returns"> &title.returns; <para> <emphasis>returns</emphasis> the GtkEventBox containing the scrolling label. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getscrollinglabel.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/getstyle.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/getstyle.xml +++ peardoc/en/package/gtk2/scrollinglabel/getstyle.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.getstyle"> <refnamediv> <refname>Gtk2_ScrollingLabel::getStyle</refname> <refpurpose>Gets the label's style widget</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>&amp;object <function>Gtk2_ScrollingLabel::getStyle</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.getstyle.desc"> &title.desc; <para> Returns the label's style widget. This lets you make changes to the style to alter the look and feel of the widget. You can change the font of the display, the color of the background, etc. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getstyle.returns"> &title.returns; <para> <emphasis>returns</emphasis> the GtkStyle widget for the label. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getstyle.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/getvisiblelength.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/getvisiblelength.xml +++ peardoc/en/package/gtk2/scrollinglabel/getvisiblelength.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.getvisiblelength"> <refnamediv> <refname>Gtk2_ScrollingLabel::getVisibleLength</refname> <refpurpose>Returns the length of the visible area in characters.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>Gtk2_ScrollingLabel::getVisibleLength</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.getvisiblelength.desc"> &title.desc; <para> Returns the length of the visible area in characters. The length of the visible area is the maximum number of characters that are visible at one time. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getvisiblelength.returns"> &title.returns; <para> &type.int; the maximum number of characters that are visible at one time. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getvisiblelength.see"> &title.see; <para> <function>setVisibleLength</function> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getvisiblelength.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/intro.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/intro.xml +++ peardoc/en/package/gtk2/scrollinglabel/intro.xml <?xml version="1.0" encoding="iso-8859-1" ?> <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose> Getting started with Gtk2_Scrollinglabel </refpurpose> </refnamediv> <refsect1 id="package.gtk.scrollinglabel.intro.desc"> <title>Description</title> <para> <classname>Gtk2_ScrollingLabel</classname> is a class that creates a pseudo-widget which makes scrolling text within a label easy. The text within the label can be set to scroll from left to right, right to left, or bounce within the boundries of the label. The speed of the scrolling text can also be controlled. There are also built in methods to make the text pause or stop when the user moves the mouse over the label and start up again when the mouse leaves the label space. </para> <para> Getting started with <classname>Gtk2_ScrollingLabel</classname> is easy. All you need to do is instantiate the class, add it to a window, and start the scrolling. Take at look at the example below. <example> <title> Simple Setup </title> <programlisting role="php"> <![CDATA[ <?php // Create a Gtk2_ScrollingLabel instance. require_once 'Gtk2/ScrollingLabel.php'; $sLabel = new Gtk2_ScrollingLabel('Scrolling Labels Rule!'); // Create a GtkWindow to put the label in. $gWin = new GtkWindow; $gWin->connect_simple('destroy', array('Gtk', 'main_quit')); $gWin->add($sLabel->getWidget()); // Show everything. $gwin->show_all(); // Start the label and the main loop. $sLabel->startScroll(); gtk::main(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/pause.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/pause.xml +++ peardoc/en/package/gtk2/scrollinglabel/pause.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.pause"> <refnamediv> <refname>Gtk2_ScrollingLabel::pause</refname> <refpurpose>Stops the label from scrolling without reseting the label text</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk2_ScrollingLabel::pause</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.pause.desc"> &title.desc; <para> Stops the label from scrolling but does not reset the label text to the begining. If you want the label to stop scrolling and return to its original position (blank), use <function>stopScroll</function>. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.pause.returns"> &title.returns; <para> <emphasis>returns</emphasis> <literal>true</literal> if the scrolling has stopped. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.pause.see"> &title.see; <para> <link linkend="package.gtk2.scrollinglabel.unpause"> <function>unPause</function> </link> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.pause.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/setbounce.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/setbounce.xml +++ peardoc/en/package/gtk2/scrollinglabel/setbounce.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.setbounce"> <refnamediv> <refname>Gtk2_ScrollingLabel::setBounce</refname> <refpurpose>Sets the text to bounce between the borders of the label</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Gtk2_ScrollingLabel::setBounce</function></funcdef> <paramdef> boolean <parameter>$bounce</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.setbounce.desc"> &title.desc; <para> If <parameter>$bounce</parameter> is <literal>true</literal>, the text will scroll to the left until the first character hits the left edge of the visible window then it will scroll back to the right. When the last character hits the right edge of the visible window the text will scroll back to the left again. </para> <para> If all of the scrolling text cannot be viewed at once, making the text bounce will have an undesired result. Therefore it is suggested that the length of the text always be at least one character less than the maximum viewable string length. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setbounce.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> boolean <parameter>$bounce</parameter> - Whether or not the text should change direction when it hits a label edge. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setbounce.returns"> &title.returns; <para> <emphasis>returns</emphasis> Whether or not the text is set to bounce </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setbounce.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/setstartsignal.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/setstartsignal.xml +++ peardoc/en/package/gtk2/scrollinglabel/setstartsignal.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.setstartsignal"> <refnamediv> <refname>Gtk2_ScrollingLabel::setStartSignal</refname> <refpurpose> Connects the <function>startScroll</function> method to a given event. </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk2_ScrollingLabel::setStartSignal</function></funcdef> <paramdef> string <parameter>$signal</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.setstartsignal.desc"> &title.desc; <para> <function>setStartSignal</function> will make the event box listen for the signal <parameter>$signal</parameter> and will envoke <function>startScroll</function> when ever it is heard. The signal should be a signal that <classname>GtkEventBox</classname> listens for normally or a button press event. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setstartsignal.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> string <parameter>$signal</parameter> - The Gtk signal to connect to <function>startScroll</function>. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setstartsignal.returns"> &title.returns; <para> <emphasis>returns</emphasis> The handler id for the connection. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setstartsignal.see"> &title.see; <para> <link linkend="package.gtk2.scrollinglabel.startscroll"> <function>startScroll</function> </link> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setstartsignal.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/startscroll.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/startscroll.xml +++ peardoc/en/package/gtk2/scrollinglabel/startscroll.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.startscroll"> <refnamediv> <refname>Gtk2_ScrollingLabel::startScroll</refname> <refpurpose>Begins scrolling the text from the start of the string.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Gtk2_ScrollingLabel::startScroll</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.startscroll.desc"> &title.desc; <para> <function>startScroll</function> will make the text begin scrolling in the direction given by calling <function>setDirection</function>. If the text is scrolling left to right (<constant>GTK2_SCROLLINGLABEL_RIGHT</constant>), the current character position is set to the end of the text. This means that the last character of the label will be the first character shown. If the text is scrolling right to left (<constant>GTK2_SCROLLINGLABEL_LEFT</constant>), the current character position is set to zero. This means that first character shown will be a blank space. </para> <para> This method is best used when connected to an event. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.startscroll.returns"> &title.returns; <para> <emphasis>returns</emphasis> <literal>true</literal> if the text has started scrolling. <literal>false</literal> otherwise. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.startscroll.see"> &title.see; <para> <link linkend="package.gtk2.scrollinglabel.setstartsignal"> <function>setStartSignal</function> </link> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.gtk-scrollinglabel.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/gtk2/scrollinglabel/unpause.xml?view=markup&rev=1.1 Index: peardoc/en/package/gtk2/scrollinglabel/unpause.xml +++ peardoc/en/package/gtk2/scrollinglabel/unpause.xml <!-- $Revision: 1.1 $ --> <refentry id="package.gtk2.scrollinglabel.unpause"> <refnamediv> <refname>Gtk2_ScrollingLabel::unPause</refname> <refpurpose>Begins scrolling the label from its current position</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk2/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk2_ScrollingLabel::unPause</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.scrollinglabel.unpause.desc"> &title.desc; <para> Begins scrolling the label from its current position. <function>unPause</function> is different from <link linkend="package.gtk2.scrollinglabel.startscroll"> <function>startScroll</function> </link> in that it does not reset the label to the begining of the text. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.unpause.returns"> &title.returns; <para> <emphasis>returns</emphasis> <literal>true</literal> if the text has started scrolling. </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.unpause.see"> &title.see; <para> <link linkend="package.gtk2.scrollinglabel.pause"> <function>pause</function> </link> </para> <para> <link linkend="package.gtk2.scrollinglabel.startscroll"> <function>startScroll</function> </link> </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.unpause.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
« previous php.pear.doc (#8960) next »