⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 66981

📁 神经网络昆斯林的新闻组分类2006
💻
字号:
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!noc.near.net!howland.reston.ans.net!wupost!uunet!mcsun!sun4nl!cwi.nl!huubFrom: huub@cwi.nl (Huub Bakker)Newsgroups: comp.windows.xSubject: waiting for a specific event/callbackKeywords: event handlingMessage-ID: <9610@charon.cwi.nl>Date: 19 Apr 93 07:15:06 GMTSender: news@cwi.nlReply-To: Huub.Bakker@cwi.nlOrganization: CWI, Centre for Mathematics & Computer ScienceLines: 30Hello world,I want to write my Xt-application code like this:{    do_some_work();    /* now I need some user input */    XmCreateDialog();    wait_for_user_input(input);    if (input == "OK") {       more_work();    } else {       other_work();    }}So "more_work() and other_work()" are not in callback functions but theapplication simply waits for the user to answer the question.How can I code this in my Xt/Motif-application?Thanks very much in advance.Greetings, Huub.-- CWI, P.O. Box 4079 			Huub Bakker (huub@cwi.nl)1009 AB AmsterdamThe NetherlandsTel. 31 20 5924080

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -