Lisp HUG Maillist Archive

CAPI Colors on LWM

Hi

on LWM there are a few annoying effects when setting up buttons and  
other elements on an interface.  Often there is a white background  
around the (rounded) buttons on an otherwise grey background.  Setting  
the :BACKGROUND slot does not seem to have an effect.  Check for example

(contain (make-instance 'option-pane :items (list "Bar" "Baz"  
Foobarbaz") :background :red))

is there any way to "fix" such behaviors (there are more...)

Cheers

--
Marco Antoniotti, Associate Professor				tel.	+39 - 02 64 48 79 01
DISCo, Università Milano Bicocca U14 2043
Viale Sarca 336
I-20126 Milan (MI) ITALY

Please note that I am not checking my Spam-box anymore.






Re: CAPI Colors on LWM

Use a real interface rather than capi::contain. For instance :

(capi::display
 (make-instance 'capi::interface
                :window-styles '(:internal-borderless)
                :layout (make-instance 'capi::column-layout
                                       :visible-min-height 100
                                       :background :red
                                       :description (list nil (make-instance
'capi::option-pane :items (list "Bar" "Baz"  "Foobarbaz")) nil))))


Best regards

Denis


Le 27/11/08 11:11, « [NOM] » <[ADRESSE]> a écrit :

> 
> Hi
> 
> on LWM there are a few annoying effects when setting up buttons and
> other elements on an interface.  Often there is a white background
> around the (rounded) buttons on an otherwise grey background.  Setting
> the :BACKGROUND slot does not seem to have an effect.  Check for example
> 
> (contain (make-instance 'option-pane :items (list "Bar" "Baz"
> Foobarbaz") :background :red))
> 
> is there any way to "fix" such behaviors (there are more...)
> 
> Cheers
> 
> --
> Marco Antoniotti, Associate Professor    tel. +39 - 02 64 48 79 01
> DISCo, Università Milano Bicocca U14 2043
> Viale Sarca 336
> I-20126 Milan (MI) ITALY
> 
> Please note that I am not checking my Spam-box anymore.
> 
> 
> 
> 
> 

-------------------------------------------------------
Denis Pousseur
70 rue de Wansijn
1180 Bruxelles, Belgique

Tel : 32 (0)2 219 31 09
Mail :  denis.pousseur@gmail.com
-------------------------------------------------------



Updated at: 2020-12-10 08:41 UTC