[Sugar-devel] Need help with sugar-toolkit-gtk3
Sam Parkinson
sam.parkinson3 at gmail.com
Mon Mar 21 15:52:48 EDT 2016
If it is in your subclass, you can call the function, eg.
self.method_of_activity_class()
Thanks,
Sam
On Tue, Mar 22, 2016 at 3:02 AM, Utkarsh Tiwari
<iamutkarshtiwari at gmail.com> wrote:
> Hi,
>
> Is there any way to get the currently active
> activity(sugar3.activity.activity -> class Activity()) instance ?
>
> I need this access to call a function of "Activity class" in
> activity.py to activate a feature I have integrated.
>
> Thanks,
> Utkarsh Tiwari
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160322/99dc7e3d/attachment.html>
More information about the Sugar-devel
mailing list