I am developing an app using Quickly + Glade + Gtk + Python. I would have liked to know the size of a displayed widget. Here is what I wrote already:
from gi.repository import Gtk, WebKit
[…]
self.webview = WebKit.WebView()
[…]
print self.webview.size_request()
I had expected a tuple in the form of (100px, 200px) for example. But what I get instead is <GtkRequisition at 0x24607c0>. Why is that? What should I do instead?
It seems that the answer is here, but I unfortunately don't understand it.