

def get_widget_position(self, widget):
    (x, y, width, height) = widget.get_allocation()
    return (x, y)

dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py MDIWidget.get_widget_position/original