On Sat, Mar 10, 2012 at 11:21 PM, Peter Bittner <[email protected]> wrote:
> 2012/3/10 lkcl luke <[email protected]>:
>> On Sat, Mar 10, 2012 at 10:27 PM, Peter Bittner <[email protected]> 
>> wrote:
>>>>  really that should be this:
>>>>        link_logo = Anchor(Widget=logo, Title='Home', Href='../')
>>>
>>> No, I tried that before. It results in: "pygit Exception: setter
>>> function for Href does not exist"
>>
>>  yeah i know - Anchor was contributed: it's "up for grabs" to add
>> things to it that make that work.
>
> Okay, I've added a setter to the ui.Anchor class:
>
>    def setHref(self, url):
>        self.href.set(url)
>
> Is that fine? It works. Shall I commit? I would also adapt the Anchor
> example before then.

 go for it.

Reply via email to