I am looking for a way to lock the window. I found window.set_resizable(False)
, but that resizes the window to its requested size and then locks it. I would like to be able to resize my window, and then lock it into the size I have resized it to.
views:
197answers:
1
+2
A:
Perhaps you could set_size_request
with the current window size (from window_get_size
) before you call set_resizeable
?
ezod
2010-01-23 19:06:59
Ah, I hadn't thought of that! Thanks. :)
linkmaster03
2010-01-23 19:23:02