Hi,
A. Walton-2 wrote: > > On Mon, Apr 5, 2010 at 5:46 AM, frm <francesco.monto...@gmail.com> wrote: >> What do you suggest? >> Is there some simple example code for using DBus+DeviceKit-power from a >> GTK >> app somewhere? > http://people.gnome.org/~mccann/gnome-session/docs/gnome-session.html#org.gnome.SessionManager.Inhibit > is probably what you're looking for on GNOME. > Thanks a lot! Just a few more questions about it: 1) the page you linked seems to contain API docs for a generic language (not necessarily C/C++) nor it contains any info about which library/header files contain those APIs... how can I use it from a C/C++ program? 2) is there some example of apps already using that library? Thank you very much indeed! Francesco -- View this message in context: http://old.nabble.com/how-to-prevent-standby-during-critical-operations-on-linux-tp28138463p28158185.html Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list