You are correct in that there are no methods to set
the plus or minus pixmaps. There are members of
the GtkTreeItem structure that represent these
widgets and that a C programmer would set directly.
The methods I added to the bindings are there to allow
a Java developer to access the structure elements.
Drag and Drop is not supported at this time.
-Jeff
>
> It seems like there are no function like these in the GtkTreeItem, in
> the doc on developer.gnome.org and in the source ....
>
> Another thing, is there support for drag & drop ?
>
> Dam
>
> On ven, 2001-09-14 at 16:51, Jeffrey Morgan wrote:
> > This could be a bug in the GtkTreeItem widget.
> > After looking at the gdkdraw.c file I can
> > see that the assertion is caused when the GdkPixmap
> > is NULL. The constructor you are using to create
> > the GtkPixmap was hand written and is located in
> > src/code/jni/glue/GtkPixmap.c. You might add
> > some code to this file to perform a check to make
> > sure the GdkPixmap is valid. Let me know your
> > results
> >
> > -Jeff
> >
> > >
> > >
> > > Hello
> > >
> > > I'm having problem changing the small pixmaps in the
> > > GtkTreeItem widget:
> > >
> > > using mytreeitem.setMinusPixWidget(new GtkPixmap( win, transpa,
> > > "dir_open.xpm" ));
> > >
> > > I get this error: Gdk-CRITICAL **: file gdkdraw.c: line 380
> > > (gdk_draw_pixmap): assertion `src != NULL' failed.
> > >
> > > When I just had my GtkPixmap in a gtk window, I get the small
> > > cross wich
> > > normally appears in the GtkTreeItem widget (this is
> strange, it has
> > > nothing to do with my pixmap).
> > >
> > > Any idea ?
> > >
> > > dam
> > >
> > >
> > >
> > > _______________________________________________
> > > java-gnome-developer mailing list
> > > jav...@li...
> > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
> > >
>
>
|