texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Popup Message


From: Henri Lesourd
Subject: Re: [Texmacs-dev] Popup Message
Date: Tue, 03 Jul 2007 19:25:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030821

Michael Klein wrote:

Hallo Henri,

can you please send the attachment again? I seem to not have got it.

Good remark ;), because I forgot it...

The file is *really* contained as an attachment to the
current email, now :-).


2007/7/3, Henri Lesourd < address@hidden <mailto:address@hidden>>:

    Michael Klein wrote:

    > Dear List,
    >
    > how can I produce a popup from scheme?
    >
    > Best regards
    > Michael Klein
    >
    "Edit->Preferences->Interactive questions->In popup windows" should
    be selected. Then the example file attached to this email shows you
    how to open a popup which inputs one parameter.


<TeXmacs|1.0.6.10>

<style|generic>

<\body>
  <underline|<em|<strong|Interactive:>>>

  <with|prog-language|scheme|prog-session|default|<\session>
    <\input|scheme] >
      (tm-define (finput my-parameter)

      \ \ \ (display* "parm=" my-parameter $cr))
    </input>

    <\output>
      #\<less\>directory (guile-user) 8438990\<gtr\>
    </output>

    <\input|scheme] >
      finput
    </input>

    <\output>
      #\<less\>procedure finput (my-parameter)\<gtr\>
    </output>

    <\input|scheme] >
      (interactive finput)
    </input>

    <\input|scheme] >
      \;
    </input>
  </session>>
</body>

<\initial>
  <\collection>
    <associate|language|british>
    <associate|page-type|letter>
  </collection>
</initial>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]