Pixmap oddity



Hello all,

I am having trouble with some pixmaps.  Here are my scenarios:

Scenario 1:
I have a button into which I put a pixmap created with
gdk_pixmap_create_from_xpm_d.  I then insert this button into a table and show
everything.  This scenario works as expected, no problems here.

But, Scenario 2:
I have the same button with the same pixmap, but this time I insert the button
into an hbox, then put the hbox in the table.  When I do this I get:
Gdk-WARNING **: Creating pixmap from xpm with NULL window and colormap

Can anyone help me understand why I'm getting this error?  Is there a way
around it?  Everything displays fine, and the pixmaps are all seemingly
correct, so I'm not sure why I get this error.

Thanks,
Scott



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]