test_widget_wait_for_draw


Description:

[ Version ( since = "3.10" ) ]
public void test_widget_wait_for_draw (Widget widget)

Enters the main loop and waits for widget to be “drawn”.

In this context that means it waits for the frame clock of widget to have run a full styling, layout and drawing cycle.

This function is intended to be used for syncing with actions that depend on widget relayouting or on interaction with the display server.

Parameters:

widget

the widget to wait for


Namespace: Gtk
Package: gtk+-3.0