Example #1
0
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)
Example #2
0
def strdlgcb(recv, send, sig, data):
    dlg = gi.Dialog(handle=send)
    if sig == gi.DialogAccepted:
        val = gi.StringPromptDialogValue(dlg)
        print("got string value: ", val)