Re: [Vala] gtk widget bindings complete



* gege2061 wrote, On 26/06/08 15:39:
The only information I have on the wiki :
http://live.gnome.org/GObjectIntrospection and
http://live.gnome.org/Vala/Bindings

And un look rapidly the .gi files in vala sources :

<signal name="clicked" when="FIRST">
      <return-type type="void"/>
      <parameters>
              <parameter name="button" type="GtkButton*"/>
      </parameters>
</signal>

Note the future format .gir (in vala 0.3.4) :

      <callback name="clicked">
        <return-value>
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="button">
            <type name="GtkButton*" c:type="GtkButton*"/>
          </parameter>
        </parameters>
      </callback>
  
Do you know why name is GtkButton* instead of GtkButton in vala 0.3.4 ?
Do I need to drop the * when generating the abstract methods, or has
vala changed what it pretends about objects?

Sam





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]