ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jens-Uwe Morawski <morawski@gmx.net>
Subject: Re: Re[2]: [NTG-context] tooltips
Date: Mon, 21 Oct 2002 22:45:12 +0200	[thread overview]
Message-ID: <20021021224512.1db815c7.morawski@gmx.net> (raw)
In-Reply-To: <17835324293.20021021175601@iol.it>

On Mon, 21 Oct 2002 17:56:01 +0200
Giuseppe Bilotta <gip.bilotta@iol.it> wrote:

> 
> Monday, October 21, 2002 Jens-Uwe Morawski wrote:
> 
> JUM> On Sun, 20 Oct 2002 23:59:31 +0200
> JUM> Hans Hagen <pragma@wxs.nl> wrote:
> 
> >> i come back to the tooltips later

> JUM> \balloon[placement={below,centered},
> JUM>         frameclass=DropMenu,
> JUM>         opendirection=down,
> JUM>         openaction=OnClick]
> JUM>         {Chapters}
> JUM>         {\placelist
> JUM>             [chapter]
> JUM>             [criterium=all,
> JUM>              alternative=a,
> JUM>              pagenumber=no,
> JUM>              interaction=all]}
> 
> JUM> and tooltips are then:
> JUM> \defineballoon[tooltip][...]
> 
> I have a draft implementation for this.

will test it later
 
> By now, the only thing
> that can be configured is the framecommand. I decided to use this
> instead of a frameclass because it's even more flexible
> (with frameclass, you need to define a different frame class for each
> different ballon type, even if changes are small; this way, small
> changes can be applied more easily when defining new tooltips.)

i was thinking that the framedclass= option could mean that the object
inherits the configuration of the framed-class. So

\defineframed[MyFramed][frame=off,leftframe=on,topframe=on,framecolor=red]

can be used as \MyFramed, but even in

\balloon[framedclass=MyFramed,framecolor=green]{...}{...}

This balloon would have the top-frame and the left-frame visible,
but the frame is drawn in green instead of red. Thus you _can_ specify
a framedclass= to inherit a configuration but you have also all
other framed-parameters (see \setupframed) available.

For consistency this should be possible in all objects that support
framed-settings, not only in balloons. 

Jens
_______________________________________________
ntg-context mailing list
ntg-context@ref.ntg.nl
http://ref.ntg.nl/mailman/listinfo/ntg-context


  reply	other threads:[~2002-10-21 20:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-20 21:59 Hans Hagen
2002-10-21 12:26 ` Jens-Uwe Morawski
2002-10-21 13:45   ` Re[2]: " Giuseppe Bilotta
2002-10-21 15:56   ` Giuseppe Bilotta
2002-10-21 20:45     ` Jens-Uwe Morawski [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-17 17:01 [NTG-context] Tooltips Giuseppe Bilotta
2002-10-17 23:41 ` Jens-Uwe Morawski
2002-10-18 13:01   ` Re[2]: " Giuseppe Bilotta
2002-10-18 18:54     ` Henning Hraban Ramm

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=20021021224512.1db815c7.morawski@gmx.net \
    --to=morawski@gmx.net \
    /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).