set_progress


Description:

[ CCode ( cname = "xapp_gtk_window_set_progress" ) ]
public void set_progress (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.

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.

Setting progress will also cancel the 'pulsing' flag on the window as well, if it has been set.

Parameters:

this

The GtkWindow to set the progress for

progress

The value to set for progress.