[Glade-users] glade newbie questions
Alexandre Moutinho Santos
alex.moutinho@netcabo.pt
Wed, 24 Sep 2003 11:40:20 +0100
Seb James wrote:
>Hello,
>
>I'm using Glade to help me to write my first gtk application (called
>VMUdiag). I've spent about a day on it and now have a nice interface for
>my program, with all the signals set up for me to write my handlers in
>callbacks.c. So far, so good, and it seems that Glade is an excellent
>tool.
>
>However, I'm having trouble with an image. In my 'about' dialog box, I
>want to include a logo image. The image is called logo.png, and so,
>using Glade, I place an image widget in the relevant position, and
>choose the browse button to set the Icon field of the image widget to be
>logo.png.
>
>I build the app, and Glade puts logo.png in the pixmaps directory of the
>project. Seems reasonable. However, it also puts a line like this in
>interface.c
>
>image3 = create_pixmap (about_dialog, "vmudiag/logo.png");
>
>And then complains when the window is drawn:
>
>** (vmudiag:5099): WARNING **: Couldn't find pixmap file: vmudiag/logo.png
>
>I've tried putting a directory called vmudiag containing logo.png in the
>pwd from which I run vmudiag, but this doesn't fix the problem.
>
>Can anyone help?
>
>best,
>
>Seb.
>
>_______________________________________________
>Glade-users maillist - Glade-users@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/glade-users
>
>
>
You have to do 'make install' after 'make' - this way the pic is copied
to the default pixmap location.
Alex