[gtk-list] Re: Button with Image for Toolbar
- From: Otto Hammersmith <otto redhat com>
- To: gtk-list redhat com
- Subject: [gtk-list] Re: Button with Image for Toolbar
- Date: Sat, 10 May 1997 12:27:45 -0400
On Sat, May 10, 1997 at 11:12:16AM +0200, Sascha Ziemann wrote:
> Otto Hammersmith wrote:
> > Check the prototype for gtk_pixmap_new. You're passing it a bitmap
> > when it's expecting a pixmap. Try using gdk_pixmap_create_from_data.
>
> GdkPixmap *
> gdk_bitmap_create_from_data (GdkWindow *window,
> gchar *data,
> gint width,
> gint height)
> GtkWidget*
> gtk_pixmap_new (GdkPixmap *normal,
> GdkPixmap *active,
> GdkPixmap *prelight,
> GdkPixmap *selected,
> GdkPixmap *insensitive)
>
> gdk_bitmap_create_from_data returns a GdkPixmap type and gtk_pixmap_new
> wants such a type. I can not see any type conflict.
That's what we call a brain fart. Doh.
--
-Otto.
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]