Re: Getting/Setting text attributes for a GtkEntry



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?

Peter Korn
Sun Accessibility team




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