[842] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Pixmap in a button
daemon@ATHENA.MIT.EDU (Pavel Greenfield)
Mon Aug 25 20:20:42 1997
Date: Mon, 25 Aug 1997 20:20:30 -0400 (EDT)
From: Pavel Greenfield <pavel@riskdevel.ml.com>
To: gtk-list <gtk-list@redhat.com>
In-Reply-To: <340208C3.65F1011B@geocities.com>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
I know I'm doing something wrong...
I try to shove a bitmap (*.xpm) into a button according to Ian's tutorial
but I do not succeed.
The error I'm getting is this:
** WARNING **: file gtkpixmap.c: line 95 (gtk_pixmap_set): "val != NULL"
** WARNING **: file gdkdraw.c: line 202 (gdk_draw_pixmap): "src != NULL"
I use a dialog instead of a window (as in Ian's example). What's the
fundamental difference anyway?
In fact, I don't understand why the overall window matters at all if I'm
only trying to stick an innocent little pixmap into an insignificant
button!
Thanks...
Pavel
------------------------------------------------------
Pavel Grinfeld | www.geocities.com/SoHo/5277
pavel@ml.com |
(212) 449 1318 (w) | (212) 797 1688 (h)
______________________________________________________
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null