[ CCode ( cname = "xapp_set_xid_progress" ) ]
public void set_xid_progress (ulong xid, int progress)
Sets the progress hint for a window manager (like muffin) to make available when applications want to display the application's progress in some operation.
The value sent to the WM will be clamped to between 0 and 100.
Setting progress will also cancel the 'pulsing' flag on the window as well, if it has been set.
Note: If a window will stick around after progress is complete, you will probably need to set progress to 0 to remove any progress effects on taskbars and window lists.
This is a function, not a method, for applying the progress property for a given (possibly foreign) window, by passing the window's XID.
| xid |
The Window to set the progress for |
| progress |
The value to set for progress. |