Re: Setting node properties in Python [Was: Re: Bookmark depth in 2.14]



On Mon, May 22, 2006 at 11:28:21AM +0200, jean-francois Rameau wrote:
>Magnus Therning wrote:
>>
>>It's taken me quite a while to get around to looking into this. The
>>problem I have is that ephy_node_set_property() isn't available in the
>>Python API :-(
>>
>>Any plans on addressing this?
>>
>>/M
>>
>>  
>Hi Magnus,
>
>I'm in the process to add ephy_node_set_property to the Python binding. But 
>because this method uses a GValue as parameter, and given that GValue type is 
>not easy to wrap, I proposed to Christian Persch to add a setter for each 
>getter found in EphyNode (the binding is straightforward, thanks to pygtk).
>So we could have:
>*ephy_node_get/set_property_string
>**ephy_node_get/set_property_boolean
>**ephy_node_get/set_property_long
>**ephy_node_get/set_property_int
>**ephy_node_get/set_property_double
>**ephy_node_get/set_property_float
>
>Do you think it is enough for what you need ?

Yes, it sure is. As is suggested in the original start of this thread I
want to set the priority of a topic/keyword.

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus therning org             Jabber: magnus therning gmail com
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Most people, I think, don't even know what a Rootkit is, so why should
they care about it?
     -- Thomas Hesse, president of Sony-BMG's Global Digital Business,
        commenting on XCP

Attachment: pgpa8Mnz0UFcq.pgp
Description: PGP signature



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