ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tooltips and buttons
@ 1999-06-02  9:02 Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 1999-06-02  9:02 UTC (permalink / 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
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-02  9:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-02  9:02 tooltips and buttons Hans Hagen

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).