Re: [gtk-list] Pixmap in a button
- From: Tom Bech <tomb ii uib no>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Pixmap in a button
- Date: Tue, 26 Aug 1997 08:46:50 +0200
Pavel Greenfield wrote:
>
> 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
>
I posted a patch for this (at least for gtk_pixmap_set()) on
gimp-developer a
while back, search for "pixmap patch" or something. Hint: Take a close
look
at the assert statement in gtp_pixmap_set() (if memory serves me :P )
Tom
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]