Re: Changing the background color
- From: Jamie Lahowetz <jlahowetz gmail com>
- To: gianmt gnome org
- Cc: goocanvas-list gnome org
- Subject: Re: Changing the background color
- Date: Sun, 19 Apr 2009 11:07:55 -0500
Thanks. I added the line:
g_object_set(G_OBJECT(canvas),"background-color","black",NULL);
I recieved this error when I try to run it:
./goo_0.01: error while loading shared libraries: libgoocanvas.so.3:
cannot open shared object file: No such file or directory
The file is there:
/usr/local/lib/libgoocanvas.so.3
so did I compile it wrong?:
gcc -Wall -g goo_0.01.c -o /home/deadpickle/Desktop/goo_0.01
`pkg-config --cflags gtk+-2.0 goocanvas` `pkg-config --libs gtk+-2.0
goocanvas`
On Sun, Apr 19, 2009 at 10:49 AM, Gian Mario Tagliaretti
<gianmt gnome org> wrote:
> On Sun, Apr 19, 2009 at 5:23 PM, Jamie Lahowetz <jlahowetz gmail com> wrote:
>
> Hi Jamie,
>
>> I am new to C language and am not sure how to change the background
>> color of my goocanvas. The canvas is contained in a scrolled window.
>> Any help would be appreciated?
>
> Look at goocanvas demo, it does that. See demo/demo.c line 493
>
> cheers
> --
> Gian Mario Tagliaretti
> GNOME Foundation member
> gianmt gnome org
>
--
Jamie Ryan Lahowetz
University of Nebraska - Lincoln
Graduate Student - Geosciences
402.304.0766
jlahowetz gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]