On Mon, Jul 31, 2006 at 03:10:08PM +0100, Thomas Adam wrote:
> Before I attempt to do this, I just wanted to make sure that this is
> something worthwhile doing.  Currently, FvwmPager is about the only module
> that implements balloons to easily tell which window is which.  For a long
> time now, one of the biggest feature requests has been for FvwmButtons to
> support a similar feature.  (I have no doubt if we get this right,
> FvwmIconMan might follow, since this has an applicable use for balloons also.)
> 
> Before I do this though I just want to check with you to make sure my
> approach is correct.  I was thinking of using libs/FTips.h to do this in
> FvwmButtons since this lib has been present for a while but never used.  I
> assume it is a refactor of what FvwmPager currently has [1].

Yes, this is all correct.

> How should balloons work in FvwmButtons?  I was thinking of something akin to
> the following:
> 
>       *FvwmButtons: BalloonTitleFormat %t
> 
> Where '%w' could be the swallowed window's title.

I wouldn't mind.  Just allow to specify a balloon string manually
or display the button's title or swallow string otherwise.

>  Although this represents
> some problems since not all FvwmButtons have swallowed windows, because
> they're there to perform some action.  So, I am assuming instead such
> balloons would be used on a per-button basis with the user supplying the
> string, as in:
> 
>       *FvwmButtons: (12x60, Swallow (...) "MyApplication" \
>       "Exec exec MyApplication", Balloon "This is MyApplication")
> 
> Within this of course, perhaps one could then use some form of '%t', '%i'
> symbols to represent a window's title or icon name without having to do it
> manually for swallowed windows.
> 
> I would assume that for sundry options such as:
> 
>       BalloonColorset <n>
> 
> That would be a global option to FvwmButtons rather than a per-button
> option?

Yes, global.

>  (I say this only because FvwmPager does it this way -- but that
> doesn't mean to say it's correct.  :P)
> 
> I'm open to suggestions on how to do this -- I can envisage some updates to
> FTips.h to accommodate some of this.  I've not looked too deeply into it yet,
> and wanted to seek approval/recommendations, etc., before I went ahead to try
> and do this.

We're not using Ftips yet.  Feel free to make changes.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to