0

I need a method that acts like this :

def get_widget_type(widget_instance):
    return widget_type
    # widget_type : Gtk.Button , Gtk.Entry etc.
4

1 回答 1

1

不是特定于 GTK,而是一般的 Python:type(widget_instance)

于 2013-10-18T05:47:12.100 回答