TnyStatus, the new way of getting status information



A brand new status API is available, called TnyStatus.

It works exactly like GError and you get a status instance in each
TnyStatusCallback.

The status->position, status->of_total, status->code, status->domain and
status->message are the members that you want to use.

You even have a tny_status_get_percentage to make your life dead-easy.

The online API docs have been updated too


-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]