Re: pixmap width and height



<harsha vishvakannada com> writes:

I have created a GdkPixmap from gdk_pixmap_create_from_xpm
it returned me a GdkPixmap*

Now how can i retrieve the width and height of the pixmap ?

void          gdk_window_get_size        (GdkWindow       *window,
                                          gint            *width,
                                          gint            *height);

[ In GTK+-2, it's gdk_drawable_get_size() ]

Regards,
                                        Owen



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