[lazarus] TCanvas
Baeseman, Cliff
Cliff.Baeseman at greenheck.com
Wed Jul 21 17:27:01 EDT 1999
I need to see the code that you actually got to work. I think somehow we
have to blast the gc back to the window...
Cliff
-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Wednesday, July 21, 1999 3:06 PM
To: lazarus at miraclec.com
Subject: Re: RE: [lazarus] TCanvas
Actually, that function doesn't exist. There is a gdk_window_set_background
and a gdk_gc_set_foreground.
I've tried both. When I get the GC from a window and change it, do I have
to set the gc back to the window? See,when I change the foreground or
background, it does nothing......
Shane
>>> "Baeseman, Cliff" <Cliff.Baeseman at greenheck.com> 07/21 2:43 PM >>>
gdk_set_foreground(window,gc,color)
something to that effect. the definition id in gdkmain.pp
Cliff
-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Wednesday, July 21, 1999 2:35 PM
To: lazarus at miraclec.com
Subject: Re: [lazarus] TCanvas
I HATE how GTK handles colors.....
OK, I simply don't understand it, that's why I hate it.
If I use gdk_draw_rectangle() how do I change the color of the rectangle?
If you know the answer, please include a little code.
Shane
>>> "Shane Miller" <SMiller1 at stvgb.org> 07/21 11:59 AM >>>
Hey, guess what I got the CANVAS to work by writing DIRECTLY to the
gdkwindow.....
I will have further details after I get done celebrating!!!!!!!!!!!!!!!
Shane
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list