how to know width and height of a pixmap



Hi all,

I create a pixmap from a XPM file:

gdk_pixmap = gdk_pixmap_create_from_xpm( window->window, &mask, 
	&style->bg[GTK_STATE_NORMAL], "my_pixmap_file");

pixmap = gtk_pixmap_new( gdk_pixmap, mask );

How can I get width and height of a pixmap created as shown?

Thanks, Elisa.



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