ui.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:barbieri-playground 作者: barbieri 项目源码 文件源码
def new_label_for(label, field, align_right=True):
    """Creates a new gtk.Label and associates it to field"""
    wid = gtk.Label(label)
    wid.set_mnemonic_widget(field)
    if align_right:
        wid.set_justify(gtk.JUSTIFY_RIGHT)
        wid.set_alignment(xalign=1.0, yalign=0.5)
    return wid
# new_label_for()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号