예제 #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)