ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: tooltips and buttons
Date: Wed, 02 Jun 1999 11:02:01 +0200	[thread overview]
Message-ID: <3754F309.575369E2@wxs.nl> (raw)

David asked me about tooltips under buttons. Try this: 

% interface=en output=pdf

\starttext

\startbuffer[setup]

\setuppapersize[S6][S6]

\setupbodyfont[pos,14.4pt]

\setupcolors[state=start]

\setupinteraction[state=start]

\stopbuffer

\startbuffer [rest]

There is a \gotobox {\tooltip {last page}
{indeed, klicking here will bring you to
the last page}} [lastpage] too in this
document.

\typebuffer[setup] \page

>From this it follows that there is also
a \gotobox {\tooltip {first page} {this
button lets you go to the first page}}
[firstpage].

\typebuffer[rest]  \page

\stopbuffer

\getbuffer[setup]

\getbuffer[rest]

\stoptext

I'll add this example to the suite (will be d-en-009). Watch out: some 4
runs are needed to sort out all pdf (sometimes forward) object
references (we could do with 2 or 3, but I prefer a robust mechanism
over a potential invalid pdf file).  

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


                 reply	other threads:[~1999-06-02  9:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3754F309.575369E2@wxs.nl \
    --to=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).