Re: Some issues calling atk methods
- From: Dan Winship <danw gnome org>
- To: Piñeiro <apinheiro igalia com>
- Cc: gnome-shell-list gnome org
- Subject: Re: Some issues calling atk methods
- Date: Fri, 13 Aug 2010 11:29:43 -0400
On 08/12/2010 01:56 PM, Piñeiro wrote:
> After thinking a little about it, I realize that this .get_name that
> is being called is atk_action_get_name [2], as this class implements
> AtkAction interface.
> Although I tried some (random) ways to call atk_object_get_name on
> this object, I was not able to do that.
>
> Any idea or hint?
hm... try Atk.Object.prototype.get_name.call(atk_label) ?
That assumes AtkLabel isn't overriding AtkObjectClass->get_name... if it
is, I don't think there's any way in gjs to refer to AtkLabel's
implementation of the method.
Does this work usefully in other language bindings? I think this is just
considered bad class design, and the answer is "don't do that then"...
-- Dan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]