Re: Getting/Setting text attributes for a GtkEntry
- From: Bill Haneman <bill haneman sun com>
- To: peter korn sun com
- Cc: Oisin Boydell <Oisin Boydell sun com>, gnome-accessibility-list gnome org
- Subject: Re: Getting/Setting text attributes for a GtkEntry
- Date: Wed, 30 May 2001 17:34:17 +0100
Peter Korn wrote:
>
> Hi Oisin Boydell,
>
> > The GtkEntry object does not support text attributes so the
> > atk_text_ref_run_attributes() function will return NULL (which indicates no
> > attributes set) when called on a GtkEntry.
> > A GtkEntry is editable but since it does not support text attributes a call to
> > atk_editable_text_set_run_attributes() will return failure.
>
> It is still interesting to know what the attributes are for the entire GtkEntry
> widget. They will be set at the system level, but there are settings there to
> discover. Why not return some special constants to indicate that the run is the
> entire widget?
It is trivial to return a textrun that encompasses the whole widget.
However it is not straightforward to return "attributes" over that
run, since technically there are none!
I am not sure there is useful information to be gleaned here, and
would prefer not polluting the attribute sets with lots of "default"
stuff. Attributes are most interesting when they are
additions/modifications to the default case.
-Bill
> Peter Korn
> Sun Accessibility team
>
> _______________________________________________
> gnome-accessibility-list mailing list
> gnome-accessibility-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
--
--------------
Bill Haneman
Gnome Accessibility / Batik SVG Toolkit
Sun Microsystems Ireland
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]