pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgaccess: backgroud colors
3+ messages / 2 participants
[nested] [flat]

* pgaccess: backgroud colors
@ 2002-07-21 14:57  Salustiano Villanueva <salusv2@arnet.com.ar>
  0 siblings, 1 reply; 3+ messages in thread

From: Salustiano Villanueva @ 2002-07-21 14:57 UTC (permalink / raw)
  To: pgsql-interfaces

Hey there!

Is it possible to give some background color to  Pgaccess windows ?
(just to soften the glare of the white surfaces).
If so, would somebody tell me how to do it?

What i have is pgaccess 0.98.7 running on Linux RedHat 7.1 with Tcl/Tk 8.4

TIA

Salustiano




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgaccess: backgroud colors
@ 2002-07-21 18:54  Salustiano Villanueva <salusv2@arnet.com.ar>
  parent: Constantin Teodorescu <teo@flex.ro>
  0 siblings, 0 replies; 3+ messages in thread

From: Salustiano Villanueva @ 2002-07-21 18:54 UTC (permalink / raw)
  To: ; +Cc: pgsql-interfaces

Done!
I put #dcdcdc in place of #fefefe, and a nice light grey appear.
Thanks for your help and .. for the program,

Salustiano


Constantin Teodorescu wrote:

> Salustiano Villanueva wrote:
> 
>> Hey there!
>> 
>> Is it possible to give some background color to  Pgaccess windows ?
>> (just to soften the glare of the white surfaces).
>> If so, would somebody tell me how to do it?
> 
> 
> I think you mean the background of table windows.
> You should enter into the source (possible)
> 
> /usr/share/pgsql/pgaccess/lib/tables.tcl
> 
> or search for the source
> 
> locate tables.tcl
> 
> then learn a drop of Tcl and change the canvas background color when 
> creating new windows in procedure createWindow
> 
> canvas $base.c  -background #fefefe
> 
> change #fefefe to other color
> 
> teo
> 
> 
> 




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgaccess: backgroud colors
@ 2002-07-21 22:05  Constantin Teodorescu <teo@flex.ro>
  parent: Salustiano Villanueva <salusv2@arnet.com.ar>
  0 siblings, 1 reply; 3+ messages in thread

From: Constantin Teodorescu @ 2002-07-21 22:05 UTC (permalink / raw)
  To: Salustiano Villanueva <salusv2@arnet.com.ar>; +Cc: pgsql-interfaces

Salustiano Villanueva wrote:
> Hey there!
> 
> Is it possible to give some background color to  Pgaccess windows ?
> (just to soften the glare of the white surfaces).
> If so, would somebody tell me how to do it?

I think you mean the background of table windows.
You should enter into the source (possible)

/usr/share/pgsql/pgaccess/lib/tables.tcl

or search for the source

locate tables.tcl

then learn a drop of Tcl and change the canvas background color when 
creating new windows in procedure createWindow

canvas $base.c  -background #fefefe

change #fefefe to other color

teo




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-07-21 22:05 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-21 14:57 pgaccess: backgroud colors Salustiano Villanueva <salusv2@arnet.com.ar>
2002-07-21 22:05 ` Constantin Teodorescu <teo@flex.ro>
2002-07-21 18:54   ` Salustiano Villanueva <salusv2@arnet.com.ar>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox