def find_notebook(self, widget, exclude=None):
if widget!=exclude and isinstance(widget, gtk.Notebook):
return widget
else:
if not hasattr(widget, "get_children"):
return None
for w in widget.get_children():
wid = self.find_notebook(w, exclude)
if wid!=exclude and isinstance(wid, gtk.Notebook):
return wid
return None
gnome_connection_manager.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录