RE: Pixmaps/Bitmaps & CTrees
- From: Matt Hillebrand <hill9361 uidaho edu>
- To: "Esquibel, Rick" <Rick Esquibel ARZ Boeing com>
- Cc: "'gtk-list gnome org'" <gtk-list gnome org>
- Subject: RE: Pixmaps/Bitmaps & CTrees
- Date: Wed, 21 Feb 2001 15:23:27 -0800 (PST)
Thanks for responding.
On Wed, 21 Feb 2001, Esquibel, Rick wrote:
> GdkPixmap *close = NULL;
> GdkPixmap *open = NULL;
> GdkBitmap *transparent;
You must have meant to type GdkColor *transparent; right?
> close = gdk_pixmap_colormap_create_from_xpm(NULL,
> gdk_colormap_get_system(),
> &transparent, NULL, "../pixmaps/dir.xpm");
>
> open = gdk_pixmap_colormap_create_from_xpm(NULL,
> gdk_colormap_get_system(),
> &transparent, NULL, "../pixmaps/info.xpm");
This does work. However, the little directory pixmap in my CTree doesn't
have a transparent background. It's nasty looking when you select that
row.
Another thing that's making me quite frustrated is the fact that I
*cannot* associate any text with any of my CTree nodes. If I put anything
other than NULL in the gchar *text parameter of insert_node, I get a
segmentation fault.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]