示例#1
0
文件: widgets.py 项目: studiovc/gi
def strdlgcb(recv, send, sig, data):
    dlg = gi.Dialog(
        handle=send)  # send is a raw int64 handle -- use it to initialize
    if sig == gi.DialogAccepted:
        val = gi.StringPromptDialogValue(dlg)
        print("got string value: ", val)
示例#2
0
文件: widgets.py 项目: AoAnima/gi
def strdlgcb(recv, send, sig, data):
    dlg = gi.Dialog(handle=send)
    if sig == gi.DialogAccepted:
        val = gi.StringPromptDialogValue(dlg)
        print("got string value: ", val)