cvs: peardoc /ja/package/gtk gtk-scrollinglabel.xml /ja/package/gtk/gtk-scrollinglabel intro.xml
/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel getfulltext.xml gethiddentext.xml getscrollinglabel.xml getstyle.xml getvisiblelength.xml
gtkscrollinglabel.xml pause.xml setbounce.xml setstartsignal.xml startscroll.xml unpause.xml /ja/package/gtk2 entrydialog.xml scrollinglabel.xml
/ja/package/gtk2/entrydialog constructor.xml get.xml gettext.xml intro.xml newsimple.xml run.xml setdefaultresponse.xml settext.xml
/ja/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: Sat, 30 Dec 2006 21:32:21 +0000
Subject: cvs: peardoc /ja/package/gtk gtk-scrollinglabel.xml /ja/package/gtk/gtk-scrollinglabel intro.xml
/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel getfulltext.xml gethiddentext.xml getscrollinglabel.xml getstyle.xml getvisiblelength.xml
gtkscrollinglabel.xml pause.xml setbounce.xml setstartsignal.xml startscroll.xml unpause.xml /ja/package/gtk2 entrydialog.xml scrollinglabel.xml
/ja/package/gtk2/entrydialog constructor.xml get.xml gettext.xml intro.xml newsimple.xml run.xml setdefaultresponse.xml settext.xml
/ja/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-9168@lists.php.net to get a copy of this message
takagi Sat Dec 30 21:32:21 2006 UTC Added files: /peardoc/ja/package/gtk2/scrollinglabel unpause.xml startscroll.xml setstartsignal.xml setbounce.xml pause.xml intro.xml getvisiblelength.xml getstyle.xml getscrollinglabel.xml gethiddentext.xml getfulltext.xml constructor.xml /peardoc/ja/package/gtk2/entrydialog settext.xml setdefaultresponse.xml run.xml newsimple.xml intro.xml gettext.xml get.xml constructor.xml /peardoc/ja/package/gtk2 scrollinglabel.xml entrydialog.xml /peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel unpause.xml startscroll.xml setstartsignal.xml setbounce.xml pause.xml gtkscrollinglabel.xml getvisiblelength.xml getstyle.xml getscrollinglabel.xml gethiddentext.xml getfulltext.xml /peardoc/ja/package/gtk/gtk-scrollinglabel intro.xml /peardoc/ja/package/gtk gtk-scrollinglabel.xml Log: initial translation.

http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/scrollinglabel/unpause.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/unpause.xml +++ peardoc/ja/package/gtk2/scrollinglabel/unpause.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.unpause"> <refnamediv> <refname>Gtk2_ScrollingLabel::unPause</refname> <refpurpose>現在の位置から、ラベルのスクロールを開始する</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> ラベルのスクロールを、現在の位置からはじめます。 <function>unPause</function> は <link linkend="package.gtk2.scrollinglabel.startscroll"> <function>startScroll</function> </link> と異なり、ラベルを開始位置にリセットしません。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.unpause.returns"> &title.returns; <para> テキストがスクロールを開始した場合に <literal>true</literal> を返します。 </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 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/scrollinglabel/startscroll.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/startscroll.xml +++ peardoc/ja/package/gtk2/scrollinglabel/startscroll.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.startscroll"> <refnamediv> <refname>Gtk2_ScrollingLabel::startScroll</refname> <refpurpose>文字列の最初から、テキストのスクロールを開始する</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> は、テキストのスクロールを開始します。 スクロール方向は <function>setDirection</function> をコールして設定します。 テキストを左から右にスクロールさせる (<constant>GTK_SCROLLINGLABEL_RIGHT</constant>) 場合は、現在の文字位置がテキストの最後に設定されます。 つまり、最初に見えてくる文字はテキストの最後の文字になるということです。 テキストを右から左にスクロールさせる (<constant>GTK_SCROLLINGLABEL_LEFT</constant>) 場合は、現在の文字位置がゼロに設定されます。 つまり、最初に見えてくる文字は空白文字になるということです。 </para> <para> このメソッドは、イベントと接続して使用することが多くなります。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.startscroll.returns"> &title.returns; <para> スクロールを開始した場合に <literal>true</literal>、 それ以外の場合に <literal>false</literal> を返します。 </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/ja/package/gtk2/scrollinglabel/setstartsignal.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/setstartsignal.xml +++ peardoc/ja/package/gtk2/scrollinglabel/setstartsignal.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.setstartsignal"> <refnamediv> <refname>Gtk2_ScrollingLabel::setStartSignal</refname> <refpurpose> <function>startScroll</function> メソッドを、指定したイベントに接続する </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/ja/package/gtk2/scrollinglabel/setbounce.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/setbounce.xml +++ peardoc/ja/package/gtk2/scrollinglabel/setbounce.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.setbounce"> <refnamediv> <refname>Gtk2_ScrollingLabel::setBounce</refname> <refpurpose>テキストを、ラベルの両端で反転させるようにする</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> <parameter>$bounce</parameter> を <literal>true</literal> にすると、 最初の文字が可視ウィンドウの左端に達するまで左スクロールし、 そこから右に反転します。最後の文字が可視ウィンドウの右端に達すると、 再度左向きにスクロールします。 </para> <para> スクロールさせるテキストを一度に表示させることができない場合は、 テキストの反転はお望みのような結果になりません。そのため、 テキストの長さは、可視領域の長さより最低一文字は短くしておくことを推奨します。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.setbounce.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> boolean <parameter>$bounce</parameter> - テキストがラベルの端に達した場合にスクロール方向を反転するかどうか。 </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/ja/package/gtk2/scrollinglabel/pause.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/pause.xml +++ peardoc/ja/package/gtk2/scrollinglabel/pause.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.pause"> <refnamediv> <refname>Gtk2_ScrollingLabel::pause</refname> <refpurpose>ラベルのテキストをリセットせずに、スクロールを停止する</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> ラベルのスクロールを停止させますが、 ラベルのテキストを最初の状態にリセットすることはありません。 スクロールを停止させて最初の状態 (空白) に戻したい場合は、 <function>stopScroll</function> を使用します。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.pause.returns"> &title.returns; <para> スクロールが停止した際に <literal>true</literal> を返します。 </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/ja/package/gtk2/scrollinglabel/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/intro.xml +++ peardoc/ja/package/gtk2/scrollinglabel/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.intro"> <refnamediv> <refname>導入</refname> <refpurpose> Gtk2_Scrollinglabel の使用法 </refpurpose> </refnamediv> <refsect1 id="package.gtk2.scrollinglabel.intro.desc"> <title>説明</title> <para> <classname>Gtk2_ScrollingLabel</classname> は疑似ウィジェットを作成するクラスで、 ラベル内のテキストを簡単にスクロールさせることができます。 スクロール方法として「左から右へ」「右から左へ」「端から端へ行ったりきたり」 のいずれかが設定できます。スクロールの速度ももちろん設定可能です。 ユーザがそのラベル上のマウスを持ってきた際にテキストを停止させ、 マウスが離れたときにスクロールを再開するといったことを行うための組み込みメソッドもあります。 </para> <para> <classname>Gtk2_ScrollingLabel</classname> の使用法は簡単です。 必要なのは、クラスのインスタンスを作成してウィンドウに追加し、 スクロールを開始することだけです。以下の例を参照ください。 <example> <title> シンプルな設定 </title> <programlisting role="php"> <![CDATA[ <?php // Gtk2_ScrollingLabel のインスタンスを作成します require_once 'Gtk2/ScrollingLabel.php'; $sLabel = new Gtk2_ScrollingLabel('Scrolling Labels Rule!'); // GtkWindow を作成し、ラベルを追加します $gWin = new GtkWindow; $gWin->connect_simple('destroy', array('Gtk', 'main_quit')); $gWin->add($sLabel->getWidget()); // 表示します $gwin->show_all(); // ラベルのスクロールを開始し、メインループに突入します $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/ja/package/gtk2/scrollinglabel/getvisiblelength.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/getvisiblelength.xml +++ peardoc/ja/package/gtk2/scrollinglabel/getvisiblelength.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.getvisiblelength"> <refnamediv> <refname>Gtk2_ScrollingLabel::getVisibleLength</refname> <refpurpose>可視領域の文字数を返す</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> 可視領域の長さを文字数で返します。可視領域の長さとは、 同時に表示できる最大文字数です。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getvisiblelength.returns"> &title.returns; <para> 同時に表示できる最大文字数を返します。 </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/ja/package/gtk2/scrollinglabel/getstyle.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/getstyle.xml +++ peardoc/ja/package/gtk2/scrollinglabel/getstyle.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.getstyle"> <refnamediv> <refname>Gtk2_ScrollingLabel::getStyle</refname> <refpurpose>ラベルのスタイルウィジェットを取得する</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> ラベルのスタイルウィジェットを返します。これを使用してスタイルを変更し、 ウィジェットの見た目を変更することができます。表示フォントを変更したり、 背景色を変更したりといったことが可能です。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getstyle.returns"> &title.returns; <para> ラベルの GtkStyle ウィジェットを返します。 </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/ja/package/gtk2/scrollinglabel/getscrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/getscrollinglabel.xml +++ peardoc/ja/package/gtk2/scrollinglabel/getscrollinglabel.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.getscrollinglabel"> <refnamediv> <refname>Gtk2_ScrollingLabel::getScrollingLabel</refname> <refpurpose>スクロールするラベルを内部にもつ GtkEventBox を返す</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> スクロールするラベルを保持する GtkEventBox を返します。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getscrollinglabel.returns"> &title.returns; <para> スクロールするラベルを保持する GtkEventBox を返します。 </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/ja/package/gtk2/scrollinglabel/gethiddentext.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/gethiddentext.xml +++ peardoc/ja/package/gtk2/scrollinglabel/gethiddentext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.gethiddentext"> <refnamediv> <refname>Gtk2_ScrollingLabel::getHiddenText</refname> <refpurpose>現在見えていないテキストをすべて返す</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> ラベルのテキスト全体のうち、現在表示されていない部分を返します。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.gethiddentext.returns"> &title.returns; <para> ラベルのテキストのうち、見えていない部分を返します。 </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/ja/package/gtk2/scrollinglabel/getfulltext.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/getfulltext.xml +++ peardoc/ja/package/gtk2/scrollinglabel/getfulltext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.getfulltext"> <refnamediv> <refname>Gtk2_ScrollingLabel::getFullText</refname> <refpurpose>ラベルのテキスト全体を返す</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> ラベルのテキスト全体を返します。テキスト全体とは、 コンストラクタや <function>setFullText</function> で設定されたテキストのことです。現在見えている部分だけではありません。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.getfulltext.returns"> &title.returns; <para> ラベルのテキスト全体を返します。 </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/ja/package/gtk2/scrollinglabel/constructor.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel/constructor.xml +++ peardoc/ja/package/gtk2/scrollinglabel/constructor.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.scrollinglabel.constructor"> <refnamediv> <refname>Gtk2_ScrollingLabel</refname> <refpurpose>新しいスクロールラベルを作成する</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> クラスのコンストラクタです。 </para> </refsect1> <refsect1 id="package.gtk2.scrollinglabel.constructor.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>$text</parameter> - スクロールさせるテキスト。 </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/ja/package/gtk2/entrydialog/settext.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/settext.xml +++ peardoc/ja/package/gtk2/entrydialog/settext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.settext"> <refnamediv> <refname> <function>Gtk2_EntryDialog::set_text</function> </refname> <refpurpose>入力欄のテキストを設定する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> string <function>Gtk2_EntryDialog::set_text</function> </funcdef> <paramdef> string <parameter>$text</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.settext.desc"> &title.desc; <para> 入力欄のテキストを設定します。 </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/setdefaultresponse.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/setdefaultresponse.xml +++ peardoc/ja/package/gtk2/entrydialog/setdefaultresponse.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.setdefaultresponse"> <refnamediv> <refname> <function>Gtk2_EntryDialog::set_default_response</function> </refname> <refpurpose>デフォルトのレスポンスを設定する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> void <function>Gtk2_EntryDialog::set_default_response</function> </funcdef> <paramdef> int <parameter>$response_id</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.setdefaultresponse.desc"> &title.desc; <para> デフォルトのレスポンスを設定します。 </para> <para> ID のついたボタンをデフォルトのものとすることができます。 単にリターンキーが押された場合にそのボタンが押されたものとみなします。 </para> </refsect1> <refsect1 id="package.gtk2.entrydialog.setdefaultresponse.param"> &title.param; <para> <variablelist> <varlistentry> <term> int <parameter>$response_id</parameter> </term> <listitem> <para>レスポンスコード。</para> </listitem> </varlistentry> </variablelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/run.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/run.xml +++ peardoc/ja/package/gtk2/entrydialog/run.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.run"> <refnamediv> <refname> <function>Gtk2_EntryDialog::run</function> </refname> <refpurpose>ダイアログを表示し、ボタンが押されるまでブロックする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> int <function>Gtk2_EntryDialog::run</function> </funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.run.desc"> &title.desc; <para> ダイアログを表示し、ボタンが押されるまでブロックします。 </para> </refsect1> <refsect1 id="package.gtk2.entrydialog.run.returns"> &title.returns; <para> 押されたボタンのレスポンス ID を返します。 </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/newsimple.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/newsimple.xml +++ peardoc/ja/package/gtk2/entrydialog/newsimple.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.newsimple"> <refnamediv> <refname> <function>Gtk2_EntryDialog::new_simple</function> </refname> <refpurpose>あまりパラメータを使用しない、シンプルなコンストラクタ</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> Gtk2_EntryDialog <function>Gtk2_EntryDialog::new_simple</function> </funcdef> <paramdef> string <parameter>$message</parameter> </paramdef> <paramdef> string <parameter><optional>$default</optional> = null</parameter> </paramdef> <paramdef> GtkWindow <parameter><optional>$parent</optional> = null</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.newsimple.desc"> &title.desc; <para> あまりパラメータを使用しない、シンプルなコンストラクタです。 </para> <para> メッセージの型は Gtk::MESSAGE_QUESTION、 親が設定されている場合はフラグが Gtk::DIALOG_MODAL、 そして OK ボタンのみが表示されるようになります。 </para> <programlisting role="php"> <![CDATA[ <?php require_once 'Gtk2/EntryDialog.php'; $id = Gtk2_EntryDialog::new_simple( 'What\'s your name?', //メッセージ 'Don\'t know' //デフォルトのテキスト ); $answer = $id->run(); $id->destroy(); if ($answer == Gtk::RESPONSE_OK) { echo 'The name is: '; var_dump($id->get_text()); } else { echo "You cancelled\r\n"; } ?> ]]> </programlisting> </refsect1> <refsect1 id="package.gtk2.entrydialog.newsimple.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$message</parameter> </term> <listitem> <para>表示するメッセージ。</para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$default</parameter> </term> <listitem> <para>入力欄のデフォルトのテキスト。</para> </listitem> </varlistentry> <varlistentry> <term> <classname>GtkWindow</classname> <parameter>$parent</parameter> </term> <listitem> <para>親ウィンドウ (null でも可)。</para> </listitem> </varlistentry> </variablelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/intro.xml +++ peardoc/ja/package/gtk2/entrydialog/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.intro"> <refnamediv> <refname>導入</refname> <refpurpose>Gtk2_EntryDialog について</refpurpose> </refnamediv> <refsect1> <title>Gtk2_EntryDialog について</title> <para> <classname>Gtk2_EntryDialog</classname> は、 メッセージとテキスト入力フィールド、 そして OK やキャンセルのようなボタンを含むダイアログです。 このクラスを使用すると、ユーザの入力したテキストを たった数行のコードで得られるようになります。かつ、 <classname>GtkDialog</classname> クラスの機能をすべて使用することができます。 </para> <para> たった一行のコードで入力テキストを取得する方法は、静的メソッド <link linkend="package.gtk2.entrydialog.get">get()</link> を使用することです。 </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/gettext.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/gettext.xml +++ peardoc/ja/package/gtk2/entrydialog/gettext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.gettext"> <refnamediv> <refname> <function>Gtk2_EntryDialog::get_text</function> </refname> <refpurpose>ユーザが入力したテキストを返す</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> string <function>Gtk2_EntryDialog::get_text</function> </funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.gettext.desc"> &title.desc; <para> 入力欄からテキストを取得します。 </para> </refsect1> <refsect1 id="package.gtk2.entrydialog.gettext.returns"> &title.returns; <para> ユーザの入力内容を返します。 </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/get.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/get.xml +++ peardoc/ja/package/gtk2/entrydialog/get.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.get"> <refnamediv> <refname> <function>Gtk2_EntryDialog::get</function> </refname> <refpurpose>ダイアログを表示し、テキストを取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> &type.string; <function>Gtk2_EntryDialog::get</function> </funcdef> <paramdef> string <parameter>$message</parameter> </paramdef> <paramdef> string <parameter>$default</parameter> </paramdef> <paramdef> GtkWindow <parameter><optional>$parent</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.get.desc"> &title.desc; <para> 指定したパラメータでダイアログを作成し、それを実行して、 入力されたテキストを返します。ユーザがダイアログをキャンセルした場合は、 このメソッドは FALSE を返します。それ以外の場合は (たとえユーザが何もテキストを入力しなかったとしても)、 テキストを文字列で返します。 </para> <programlisting role="php"> <![CDATA[ <?php require_once 'Gtk2/EntryDialog.php'; $text = Gtk2_EntryDialog::get( 'What\'s your name?', //メッセージ 'Don\'t know' //デフォルトのテキスト ); if ($text !== false) { echo 'The name is: '; var_dump($text); } else { echo "You cancelled\r\n"; } ?> ]]> </programlisting> </refsect1> <refsect1 id="package.gtk2.entrydialog.get.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$message</parameter> </term> <listitem> <para>表示するメッセージ。</para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$default</parameter> </term> <listitem> <para>入力欄のデフォルトのテキスト。</para> </listitem> </varlistentry> <varlistentry> <term> <classname>GtkWindow</classname> <parameter>$parent</parameter> </term> <listitem> <para>親ウィンドウ (null でも可)。</para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.gtk2.entrydialog.get.returns"> &title.returns; <para> ユーザが入力をキャンセルした場合は FALSE、 それ以外の場合はテキスト (文字列) を返します。 </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/entrydialog/constructor.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog/constructor.xml +++ peardoc/ja/package/gtk2/entrydialog/constructor.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk2.entrydialog.constructor"> <refnamediv> <refname> constructor <function>Gtk2_EntryDialog</function> </refname> <refpurpose>入力ダイアログのインスタンスを作成する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo>require_once &apos;Gtk2/EntryDialog.php&apos;;</funcsynopsisinfo> <funcprototype> <funcdef> void constructor <function>Gtk2_EntryDialog::__construct</function> </funcdef> <paramdef> GtkWindow <parameter>$parent</parameter> </paramdef> <paramdef> GtkDialogFlags <parameter>$flags</parameter> </paramdef> <paramdef> GtkMessageType <parameter>$type</parameter> </paramdef> <paramdef> GtkButtonsType <parameter>$buttons</parameter> </paramdef> <paramdef> string <parameter>$message</parameter> </paramdef> <paramdef> string <parameter>$default</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk2.entrydialog.constructor.desc"> &title.desc; <para> 新しい入力ダイアログのインスタンスを作成します。作成した後で、 それを変更することができます。最終的に <link linkend="package.gtk2.entrydialog.run">run()</link> を実行すると表示され、入力待ち状態になります。 </para> <para> もっとシンプルなコンストラクタとして、 <link linkend="package.gtk2.entrydialog.get">get()</link> あるいは <link linkend="package.gtk2.entrydialog.newsimple">new_simple()</link> も使用できます。 </para> <programlisting role="php"> <![CDATA[ <?php require_once 'Gtk2/EntryDialog.php'; $id = new Gtk2_EntryDialog( null, //親ウィンドウ 0, //フラグ (GtkDialogFlags) Gtk::MESSAGE_QUESTION, //メッセージの型 Gtk::BUTTONS_OK_CANCEL, //表示するボタン 'What\'s your name?', //メッセージ 'Don\'t know' //デフォルトのテキスト ); $answer = $id->run(); $id->destroy(); if ($answer == Gtk::RESPONSE_OK) { echo 'The name is: '; var_dump($id->get_text()); } else { echo "You cancelled\r\n"; } ?> ]]> </programlisting> </refsect1> <refsect1 id="package.gtk2.entrydialog.constructor.param"> &title.param; <para> <variablelist> <varlistentry> <term> <classname>GtkWindow</classname> <parameter>$parent</parameter> </term> <listitem> <para>親ウィンドウ (null でも可)。</para> </listitem> </varlistentry> <varlistentry> <term> GtkDialogFlags <parameter>$flags</parameter> </term> <listitem> <para>ダイアログのフラグ (デフォルトは 0 です)。</para> </listitem> </varlistentry> <varlistentry> <term> GtkMessageType <parameter>$type</parameter> </term> <listitem> <para>メッセージの型 (例 Gtk::MESSAGE_QUESTION)。</para> </listitem> </varlistentry> <varlistentry> <term> GtkButtonsType <parameter>$buttons</parameter> </term> <listitem> <para>表示するボタン (例 Gtk::BUTTONS_OK)。</para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$message</parameter> </term> <listitem> <para>表示するメッセージ。</para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$default</parameter> </term> <listitem> <para>入力欄のデフォルトテキスト。</para> </listitem> </varlistentry> </variablelist> </para> </refsect1> </refentry> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk2/scrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/scrollinglabel.xml +++ peardoc/ja/package/gtk2/scrollinglabel.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <sect1 id="package.gtk2.scrollinglabel"> <title>Gtk2_ScrollingLabel</title> <para> スクロールするマーキーを作成するクラスです。 </para> &package.gtk2.scrollinglabel.intro; &package.gtk2.scrollinglabel.constructor; &package.gtk2.scrollinglabel.getfulltext; &package.gtk2.scrollinglabel.gethiddentext; &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/ja/package/gtk2/entrydialog.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk2/entrydialog.xml +++ peardoc/ja/package/gtk2/entrydialog.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <sect1 id="package.gtk2.entrydialog"> <title>Gtk2_EntryDialog</title> <refentry id="package.gtk2.entrydialog.entrydialog-summary"> <refnamediv> <refname> <classname>Gtk2_EntryDialog</classname> クラス概要 </refname> <refpurpose>テキスト入力を簡略化する</refpurpose> </refnamediv> <refsect1> <title>Gtk2_EntryDialog について</title> <para> <classname>Gtk2_EntryDialog</classname> は、 メッセージとテキスト入力フィールド、 そして OK やキャンセルのようなボタンを含むダイアログです。 このクラスを使用すると、ユーザの入力したテキストを たった数行のコードで得られるようになります。かつ、 <classname>GtkDialog</classname> クラスの機能をすべて使用することができます。 </para> <para> たった一行のコードで入力テキストを取得する方法は、静的メソッド <link linkend="package.gtk2.entrydialog.get">get()</link> を使用することです。 </para> </refsect1> <refsect1> <title> <classname>Gtk2_EntryDialog</classname> のクラス階層 </title> <para> <itemizedlist> <listitem> <para> GtkDialog <itemizedlist> <listitem> <para> GtkMessageDialog <itemizedlist> <listitem> <para> Gtk2_EntryDialog </para> </listitem> </itemizedlist> </para> </listitem> </itemizedlist> </para> </listitem> </itemizedlist> </para> </refsect1> </refentry> &package.gtk2.entrydialog.constructor; &package.gtk2.entrydialog.newsimple; &package.gtk2.entrydialog.get; &package.gtk2.entrydialog.run; &package.gtk2.entrydialog.gettext; &package.gtk2.entrydialog.settext; &package.gtk2.entrydialog.setdefaultresponse; </sect1> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/unpause.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/unpause.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/unpause.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.unpause"> <refnamediv> <refname>Gtk_ScrollingLabel::unPause</refname> <refpurpose>現在の位置から、ラベルのスクロールを開始する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk_ScrollingLabel::unPause</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.unpause.desc"> &title.desc; <para> ラベルのスクロールを、現在の位置からはじめます。 <function>unPause</function> は <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll"> <function>startScroll</function> </link> と異なり、ラベルを開始位置にリセットしません。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.unpause.returns"> &title.returns; <para> テキストがスクロールを開始した場合に <literal>true</literal> を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.unpause.see"> &title.see; <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.pause"> <function>pause</function> </link> </para> <!-- para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setunpausesignal"> <function>setUnPauseSignal</function> </link> </para --> <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll"> <function>startScroll</function> </link> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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 --> http://cvs.php.net/viewvc.cgi/peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/startscroll.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/startscroll.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/startscroll.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll"> <refnamediv> <refname>Gtk_ScrollingLabel::startScroll</refname> <refpurpose>文字列の最初から、テキストのスクロールを開始する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Gtk_ScrollingLabel::startScroll</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll.desc"> &title.desc; <para> <function>startScroll</function> は、テキストのスクロールを開始します。 スクロール方向は <function>setDirection</function> をコールして設定します。 テキストを左から右にスクロールさせる (<constant>GTK_SCROLLINGLABEL_RIGHT</constant>) 場合は、現在の文字位置がテキストの最後に設定されます。 つまり、最初に見えてくる文字はテキストの最後の文字になるということです。 テキストを右から左にスクロールさせる (<constant>GTK_SCROLLINGLABEL_LEFT</constant>) 場合は、現在の文字位置がゼロに設定されます。 つまり、最初に見えてくる文字は空白文字になるということです。 </para> <para> このメソッドは、イベントと接続して使用することが多くなります。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll.returns"> &title.returns; <para> スクロールを開始した場合に <literal>true</literal>、 それ以外の場合に <literal>false</literal> を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll.see"> &title.see; <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setstartsignal"> <function>setStartSignal</function> </link> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/setstartsignal.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/setstartsignal.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/setstartsignal.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setstartsignal"> <refnamediv> <refname>Gtk_ScrollingLabel::setStartSignal</refname> <refpurpose> <function>startScroll</function> メソッドを、指定したイベントに接続する </refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk_ScrollingLabel::setStartSignal</function></funcdef> <paramdef> string <parameter>$signal</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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.gtk.gtk-scrollinglabel.gtk-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.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setstartsignal.returns"> &title.returns; <para> <emphasis>returns</emphasis> The handler id for the connection. </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setstartsignal.see"> &title.see; <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll"> <function>startScroll</function> </link> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/setbounce.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/setbounce.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/setbounce.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setbounce"> <refnamediv> <refname>Gtk_ScrollingLabel::setBounce</refname> <refpurpose>テキストを、ラベルの両端で反転させるようにする</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>boolean <function>Gtk_ScrollingLabel::setBounce</function></funcdef> <paramdef> boolean <parameter>$bounce</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setbounce.desc"> &title.desc; <para> <parameter>$bounce</parameter> を <literal>true</literal> にすると、 最初の文字が可視ウィンドウの左端に達するまで左スクロールし、 そこから右に反転します。最後の文字が可視ウィンドウの右端に達すると、 再度左向きにスクロールします。 </para> <para> スクロールさせるテキストを一度に表示させることができない場合は、 テキストの反転はお望みのような結果になりません。そのため、 テキストの長さは、可視領域の長さより最低一文字は短くしておくことを推奨します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setbounce.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> boolean <parameter>$bounce</parameter> - テキストがラベルの端に達した場合にスクロール方向を反転するかどうか。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setbounce.returns"> &title.returns; <para> <emphasis>returns</emphasis> Whether or not the text is set to bounce </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/pause.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/pause.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/pause.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.pause"> <refnamediv> <refname>Gtk_ScrollingLabel::pause</refname> <refpurpose>ラベルのテキストをリセットせずに、スクロールを停止する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk_ScrollingLabel::pause</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.pause.desc"> &title.desc; <para> ラベルのスクロールを停止させますが、 ラベルのテキストを最初の状態にリセットすることはありません。 スクロールを停止させて最初の状態 (空白) に戻したい場合は、 <function>stopScroll</function> を使用します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.pause.returns"> &title.returns; <para> スクロールが停止した際に <literal>true</literal> を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.pause.see"> &title.see; <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.unpause"> <function>unPause</function> </link> </para> <!-- para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setpausesignal"> <function>setPauseSignal</function> </link> </para --> <!-- para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.stopscroll"> <function>stopScroll</function> </link> </para --> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/gtkscrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/gtkscrollinglabel.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/gtkscrollinglabel.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gtkscrollinglabel"> <refnamediv> <refname>Gtk_ScrollingLabel::GtkScrollingLabel</refname> <refpurpose>コンストラクタ</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk_ScrollingLabel::Gtk_SrollingLabel</function></funcdef> <paramdef> string <parameter><optional>$text = ''</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gtkscrollinglabel.desc"> &title.desc; <para> クラスのコンストラクタです。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gtkscrollinglabel.parameter"> &title.param; <para> <itemizedlist> <listitem> <para> <parameter>$text</parameter> - スクロールさせるテキスト。 </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gtkscrollinglabel.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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getvisiblelength.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getvisiblelength.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getvisiblelength.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getvisiblelength"> <refnamediv> <refname>Gtk_ScrollingLabel::getVisibleLength</refname> <refpurpose>可視領域の文字数を返す</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>int <function>Gtk_ScrollingLabel::getVisibleLength</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getvisiblelength.desc"> &title.desc; <para> 可視領域の長さを文字数で返します。可視領域の長さとは、 同時に表示できる最大文字数です。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getvisiblelength.returns"> &title.returns; <para> 同時に表示できる最大文字数を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getvisiblelength.see"> &title.see; <para> <!-- link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setvisiblelength" --> <function>setVisibleLength</function> <!-- /link --> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getstyle.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getstyle.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getstyle.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getstyle"> <refnamediv> <refname>Gtk_ScrollingLabel::getStyle</refname> <refpurpose>ラベルのスタイルウィジェットを取得する</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>&amp;object <function>Gtk_ScrollingLabel::getStyle</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getstyle.desc"> &title.desc; <para> ラベルのスタイルウィジェットを返します。これを使用してスタイルを変更し、 ウィジェットの見た目を変更することができます。表示フォントを変更したり、 背景色を変更したりといったことが可能です。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getstyle.returns"> &title.returns; <para> ラベルの GtkStyle ウィジェットを返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getscrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getscrollinglabel.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getscrollinglabel.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getscrollinglabel"> <refnamediv> <refname>Gtk_ScrollingLabel::getScrollingLabel</refname> <refpurpose>スクロールするラベルを内部にもつ GtkEventBox を返す</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>Gtk_ScrollingLabel::getScrollingLabel</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getscrollinglabel.desc"> &title.desc; <para> スクロールするラベルを保持する GtkEventBox を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getscrollinglabel.returns"> &title.returns; <para> スクロールするラベルを保持する GtkEventBox を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/gethiddentext.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/gethiddentext.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/gethiddentext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gethiddentext"> <refnamediv> <refname>Gtk_ScrollingLabel::getHiddenText</refname> <refpurpose>現在見えていないテキストをすべて返す</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Gtk_ScrollingLabel::getHiddenText</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gethiddentext.desc"> &title.desc; <para> ラベルのテキスト全体のうち、現在表示されていない部分を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gethiddentext.returns"> &title.returns; <para> ラベルのテキストのうち、見えていない部分を返します。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gethiddentext.see"> &title.see; <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getfulltext"> <function>getFullText</function> </link> </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getfulltext.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getfulltext.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/gtk-scrollinglabel/getfulltext.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: takagi Status: ready --> <refentry id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getfulltext"> <refnamediv> <refname>Gtk_ScrollingLabel::getFullText</refname> <refpurpose>ラベルのテキスト全体を返す</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once 'Gtk/ScrollingLabel.php'; </funcsynopsisinfo> <funcprototype> <funcdef>string <function>Gtk_ScrollingLabel::getFullText</function></funcdef> <paramdef></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getfulltext.desc"> &title.desc; <para> ラベルのテキスト全体を返します。テキスト全体とは、 コンストラクタや <!-- link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setfulltext" --><function>setFullText</function><!-- /link --> で設定されたテキストのことです。現在見えている部分だけではありません。 </para> </refsect1> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getfulltext.returns"> &title.returns; <para> ラベルのテキスト全体を返します。 </para> </refsect1> <!-- <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getfulltext.see"> &title.see; <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setfulltext"> <function>setFullText</function> </link> </para> <para> <link linkend="package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getvisibletext"> <function>getVisibleText</function> </link> </para> </refsect1> --> <refsect1 id="package.gtk.gtk-scrollinglabel.gtk-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/ja/package/gtk/gtk-scrollinglabel/intro.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel/intro.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel/intro.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: takagi Status: ready --> <refentry id="package.gtk.scrollinglabel.intro"> <refnamediv> <refname>導入</refname> <refpurpose> Gtk_Scrollinglabel の使用法 </refpurpose> </refnamediv> <refsect1 id="package.gtk.scrollinglabel.intro.contrib"> <title>貢献者</title> <para> <itemizedlist> <listitem><simpara>Scott Mattocks</simpara></listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.gtk.scrollinglabel.intro.desc"> <title>説明</title> <para> <classname>Gtk_ScrollingLabel</classname> は疑似ウィジェットを作成するクラスで、 ラベル内のテキストを簡単にスクロールさせることができます。 スクロール方法として「左から右へ」「右から左へ」「端から端へ行ったりきたり」 のいずれかが設定できます。スクロールの速度ももちろん設定可能です。 ユーザがそのラベル上のマウスを持ってきた際にテキストを停止させ、 マウスが離れたときにスクロールを再開するといったことを行うための組み込みメソッドもあります。 </para> <para> <classname>Gtk_ScrollingLabel</classname> の使用法は簡単です。 必要なのは、クラスのインスタンスを作成してウィンドウに追加し、 スクロールを開始することだけです。以下の例を参照ください。 <example> <title> シンプルな設定 </title> <programlisting role="php"> <![CDATA[ <?php // Gtk_ScrollingLabel のインスタンスを作成します require_once 'Gtk/ScrollingLabel.php'; $sLabel =& new Gtk_ScrollingLabel('Scrolling Labels Rule!'); // GtkWindow を作成し、ラベルを追加します $gWin =& new GtkWindow; $gWin->connect_object('destroy', array('gtk', 'main_quit')); $gWin->add($sLabel->getWidget()); // 表示します $gwin->show_all(); // ラベルのスクロールを開始し、メインループに突入します $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/ja/package/gtk/gtk-scrollinglabel.xml?view=markup&rev=1.1 Index: peardoc/ja/package/gtk/gtk-scrollinglabel.xml +++ peardoc/ja/package/gtk/gtk-scrollinglabel.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: takagi Status: ready --> <sect1 id="package.gtk.gtk-scrollinglabel"> <title>Gtk_ScrollingLabel</title> <para> スクロールするマーキーを作成するクラスです。 </para> &package.gtk.gtk-scrollinglabel.intro; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getfulltext; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gethiddentext; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getscrollinglabel; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getstyle; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.getvisiblelength; <!-- &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.gtkscrollinglabel; --> &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.pause; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setbounce; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.setstartsignal; &package.gtk.gtk-scrollinglabel.gtk-scrollinglabel.startscroll; &package.gtk.gtk-scrollinglabel.gtk-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 -->
« previous php.pear.doc (#9168) next »