Hacker News
new
|
comments
|
show
|
ask
|
jobs
|
submit
login
epage
on Apr 30, 2009
|
parent
|
favorite
| on:
Create Python GUIs using HTML (And Webkit and GTK)
gtk.threads_enter()
try:
blah
finally:
gtk.threads_leave()
or even better and wrap that as a context manager so you do
with gtk_lock():
blah
Guidelines
|
FAQ
|
Support
|
API
|
Security
|
Lists
|
Bookmarklet
|
Legal
|
Apply to YC
|
Contact
Search:
try:
finally: or even better and wrap that as a context manager so you dowith gtk_lock():