set_visual
Description:
Sets the visual that should be used for by widget and its children for creating Windows.
The visual must be on the same Screen as returned by get_screen, so handling the screen_changed signal is necessary.
Setting a new visual
will not cause this to recreate its windows, so you should call this
function before this is realized.
Parameters:
this |
a Widget |
visual |
visual to be used or null to unset a previous one |