Re: [g-a-devel]Activate action for TreeView cell
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: michael ximian com
- Cc: gnome-accessibility-devel gnome org
- Subject: Re: [g-a-devel]Activate action for TreeView cell
- Date: Wed, 27 Mar 2002 08:12:21 +0000 (GMT)
> Subject: Re: [g-a-devel]Activate action for TreeView cell
> To: "Padraig O'Briain" <Padraig Obriain sun com>
> Cc: accessibility mailing list <gnome-accessibility-devel gnome org>
> Content-Transfer-Encoding: 7bit
> Mime-Version: 1.0
>
> Hi Padraig,
>
> On Tue, 2002-03-26 at 08:39, Padraig O'Briain wrote:
> > Following prompting from Michael, I have come to the conclusion that a cell
in a
> > GtkTreeView should have an activate action. This action would correspond to
> > double clicking on the cell.
>
> Great :-) thanks for that, I can now play with gtk-demo more
> effectively.
>
> > The patch to implement the action is attached.
>
> Looks fine.
>
> > When using at-poke I have noticed that the table cells report no name.
Should we
> > report the text associated with the cell as the name in a similar way as we
do
> > for a GtkLabel?
>
> Well - my feelings on that are very mixed indeed. I think it might be
> far more profitable to modify at-poke to set the tree's name to that of
> the Text interface' contents rather than the other way round.
>
> The reason is that we have an AtkText:changed signal, so that we can
> sync the contents of an AtkTextified object with reality, but there is
> no 'name changed' signal. Thus I think for anything potentially more
> dynamic than a label we should leave the name NULL. What do you think ?
>
I made the change after the reply from Marc who was in favour of it. There is
not a 'name changed' signal but there is a property called "accessible-name" for
which a notify signal should be emitted when the name changes. I have not yet
added the code to do that to gailtextcell.c but I will today.
Padraig
> I'm happy for you (personally) to commit changes (such as the above) to
> at-poke, send a patch to the list as you do if you would,
>
> Regards,
>
> Michael.
>
> --
> mmeeks gnu org <><, Pseudo Engineer, itinerant idiot
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]