GdkPixbuf and gtk_widget_shape_combine_mask()
- From: Trevor Spiteri <tspiteri falmalta com>
- To: gtk-list gnome org
- Subject: GdkPixbuf and gtk_widget_shape_combine_mask()
- Date: 17 Jun 2002 16:00:03 +0200
gtk_widget_shape_combine_mask() requires a GdkBitmap * parameter. How do
I get such a GdkBitmap * when I have a GdkPixbuf *?
I tried to use gdk_pixbuf_render_pixmap_and_mask(), but could not figure
a way to unref the resulting pixmap and bitmap after using
gtk_widget_shape_combine_mask(). This is because I use
GDK_DISABLE_DEPRECATED, so gdk_pixmap_unref(), gdk_bitmap_unref() and
gdk_drawable_unref() are all disabled. Is there a non-deprecated way to
unref the pixmap and bitmap?
Thanks
Trevor Spiteri
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]