[Gambas-user] Colour button - colour not displaying after selecting.

Karl Reinl karl.reinl at fen-net.de
Tue Dec 1 23:10:35 CET 2020


Am Mittwoch, den 02.12.2020, 05:52 +0800 schrieb Ian Roper via User:
>     Thanks Bruce,
>     As you can see by the attached image , it replicates the problem.
>     I have switched between the various graphics entities but there
>       is no change to the outcome.
>     It has worked in the past on the same machine I'm using now, but
>       can't remember how long ago.
>     Obviously, a previous version of Gambas and the previous version
>       of Mint (19)
>     
> 
>     
>     Cheers,
> 
>     
>     I.
> 
>     
>     
> 
>     
>     
> 
>     
>     
> 
>     
>     On 1/12/20 10:54 pm, Bruce wrote:
> 
>     
>     
> > On
> >       1/12/20 9:31 am, Ian Roper wrote:
> >       
> > 
> >       
> > > Added a colour button to a form.
> > >         
> > > 
> > >         
> > > 
> > >         At run time, I can select a colour and set the background
> > > colour
> > >         of another control from the returned value.
> > >         
> > > 
> > >         
> > > 
> > >         However the colour button control stays 'white'
> > >         
> > > 
> > >         
> > > 
> > >         
> > > 
> > >         Any ideas ?
> > >         
> > > 
> > >         
> > > 
> > >         
> > > 
> > >         Cheers,
> > >         
> > > 
> > >         
> > > 
> > >         Ian
> > >         
> > > 
> > >         
> > > 
> > >         
> > > 
> > >       
> > 
> >       ...
> >       
> > 
> >       
> > >         
> > > 
> > >         [Libraries]
> > >         
> > > 
> > >         Cairo=libcairo.so.2.11600.0
> > >         
> > > 
> > >         Curl=libcurl.so.4.6.0
> > >         
> > > 
> > >         DBus=libdbus-1.so.3.19.11
> > >         
> > > 
> > >         GDK2=libgdk-x11-2.0.so.0.2400.32
> > >         
> > > 
> > >         GDK3=libgdk-3.so.0.2404.16
> > >         
> > > 
> > >         GStreamer=libgstreamer-1.0.so.0.1602.0
> > >         
> > > 
> > >         GTK+2=libgtk-x11-2.0.so.0.2400.32
> > >         
> > > 
> > >         GTK+3=libgtk-3.so.0.2404.16
> > >         
> > > 
> > >         OpenGL=libGL.so.1.7.0
> > >         
> > > 
> > >         Poppler=libpoppler.so.97.0.0
> > >         
> > > 
> > >         QT5=libQt5Core.so.5.12.8
> > >         
> > > 
> > >       
> > 
> >       
> > 
> >       ...
> >       
> > 
> >       
> > > GB_GUI=gb.qt5
> > >         
> > > 
> > >       
> > 
> >       
> > 
> >       
> > 
> >       Interesting...? The attached works properly here for QT4 and
> > QT5
> >       but not for GTK3 and yet your sysinfos says you are usinf
> > QT5.
> >       
> > 
> >       
> > 
> >       What does the attached project show?
> >       
> > 
> >       
> > 
> >       regards
> >       
> > 
> >       bruce
> >       
> > 
> >       
> > 
> >       

Salut Ian ,

do you use  gtk3? I ran into 'drawing problems' with gtk3 witch i had
not with gtk2 and qt4/qt5.


-- 
Amicalement
Charlie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201201/84166611/attachment.htm>


More information about the User mailing list