Re: [PHP-GTK-DOC] cvs: php-gtk-doc /examples/reference/gobject signal_query.php /manual/en/reference gobject.xml

[email protected] ("Steph Fox")
Newsgroups php.gtk.doc
Message-ID <03d301c6ebba$b2c7a2b0$6602a8c0@foxbox>
Did you check what happens to indexing?

----- Original Message ----- 
From: "Christian Weiske" <[email protected]>
To: <[email protected]>
Sent: Monday, October 09, 2006 5:50 PM
Subject: [PHP-GTK-DOC] cvs: php-gtk-doc /examples/reference/gobject 
signal_query.php /manual/en/reference gobject.xml


> cweiske Mon Oct  9 15:50:54 2006 UTC
>
>  Added files:
>    /php-gtk-doc/examples/reference/gobject signal_query.php
>
>  Modified files:
>    /php-gtk-doc/manual/en/reference gobject.xml
>  Log:
>  GObject signal_query example
>
>
> http://cvs.php.net/viewvc.cgi/php-gtk-doc/manual/en/reference/gobject.xml?r1=1.1&r2=1.2&diff_format=u
> Index: php-gtk-doc/manual/en/reference/gobject.xml
> diff -u php-gtk-doc/manual/en/reference/gobject.xml:1.1 
> php-gtk-doc/manual/en/reference/gobject.xml:1.2
> --- php-gtk-doc/manual/en/reference/gobject.xml:1.1 Fri Sep 29 07:07:35 
> 2006
> +++ php-gtk-doc/manual/en/reference/gobject.xml Mon Oct  9 15:50:54 2006
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="utf-8" ?>
> -<!-- $Revision: 1.1 $ -->
> +<!-- $Revision: 1.2 $ -->
> <classentry id="gobject">
>  <classmeta>
>   <classtitle>GObject</classtitle>
> @@ -493,6 +493,47 @@
>      unique to all classes/interfaces. You can acquire the gtype
>      of a class by using <literal>ClassName::gtype</literal>.
>     </para>
> +    <table>
> +     <title>Return array values</title>
> +     <tgroup cols="2">
> +      <tbody>
> +       <row>
> +        <entry>0</entry>
> +        <entry>Signal id, or 0 if the signal is unknown.</entry>
> +       </row>
> +       <row>
> +        <entry>1</entry>
> +        <entry>Signal name</entry>
> +       </row>
> +       <row>
> +        <entry>2</entry>
> +        <entry>GType of the class/interface the signal is emitted 
> for</entry>
> +       </row>
> +       <row>
> +        <entry>3</entry>
> +        <entry>GSignalFlags used for signal instantiation.</entry>
> +       </row>
> +       <row>
> +        <entry>4</entry>
> +        <entry>GType of the return type</entry>
> +       </row>
> +       <row>
> +        <entry>5</entry>
> +        <entry>Array of GTypes for the parameters</entry>
> +       </row>
> +      </tbody>
> +     </tgroup>
> +    </table>
> +    <example>
> +     <title>Querying a signal</title>
> +     <programlisting role="php">
> +      <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
> +       href="&directory.examples;/reference/gobject/signal_query.php"
> +       parse="text">
> +       <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
> +      </xi:include>
> +     </programlisting>
> +    </example>
>     <para>
>      &seealso;
>      <function class="GObject">signal_list_ids</function>,
>
> http://cvs.php.net/viewvc.cgi/php-gtk-doc/examples/reference/gobject/signal_query.php?view=markup&rev=1.1
> Index: php-gtk-doc/examples/reference/gobject/signal_query.php
> +++ php-gtk-doc/examples/reference/gobject/signal_query.php
> <?php
> var_dump(GObject::signal_query('delete-event', GtkWindow::gtype));
> /* Returns:
> array(6) {
>  [0]=>
>  int(31)
>  [1]=>
>  string(12) "delete-event"
>  [2]=>
>  object(GType)#1 (2) {
>    ["type"]=>
>    int(142760632)
>    ["name"]=>
>    string(9) "GtkWidget"
>  }
>  [3]=>
>  int(2)
>  [4]=>
>  object(GType)#2 (2) {
>    ["type"]=>
>    int(20)
>    ["name"]=>
>    string(8) "gboolean"
>  }
>  [5]=>
>  array(1) {
>    [0]=>
>    object(GType)#3 (2) {
>      ["type"]=>
>      int(148319049)
>      ["name"]=>
>      string(8) "GdkEvent"
>    }
>  }
> }
> */
> ?>
>
> -- 
> PHP-GTK Documentation Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> __________ NOD32 1.1380 (20060125) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.