5

Ubuntu indicators written in python can be done with two APIs : appindicator and AppIndicator3. What is the difference between them and is there any advantage to using one over the other ?

2
  • Isn't this the difference between python 2 and 3? Appindicator is for python2 while appindicator3 is for python3?
    – Parto
    Jul 18, 2016 at 10:25
  • @Parto nope. Take a look at the examples provided by Ubuntu Wiki . They use python2 style print function, so it is python2 in either case. In addition , #!/usr/bin/env python by default links to python2 Jul 18, 2016 at 10:38

1 Answer 1

5

The differences might seem subtle in actual usage, but:

There may be deeper stuff that you can look into but that should get you pointed in the right direction. Nothing to do with the version of Python. All the heavy lifting is done through GObject introspection.

Oh there does seem to be a difference in the version of libindicator each binds to too.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .