widget_window/2
     widget_window(+Widget, -Window)
     widget_window(-Widget, +Window)
     

Given a ProXT Widget, return the associated ProXL Window, or given a ProXL Window that is already associated with a widget, return that widget. Note that every Xt widget has an associated window, so you can supply any widget and get its window, but the reverse is not true.

Once you have a ProXL window, you may use any ProXL drawing or any other operation on that window.