GPermission
seems to have little to no documentation. How do you actually use it? (I'm currently using it for a GTK LockButton).
How does GPermission work?
179 views Asked by Forest Katsch At
3
There are 3 answers
1
On
Google found me this straight away: https://developer.gnome.org/gio/2.26/GPermission.html
Is that not sufficient?
I agree, the documentation is pretty lacking. GPermission is an abstract base class which isn't particularly useful by itself. You need something which actually implements GPermission, like polkit.
There are some examples in gnome-control-center, like the datetime panel.