Re: [Java-gnome-developer] Java GDK
Brought to you by:
afcowie
From: Elias M. <el...@al...> - 2003-10-30 12:54:08
|
Jonas Berlin wrote: > Elias, the way to do custom components in GTK2 is to have a > DrawingArea widget. It's present in java-gnome, too, but currently as > Jeffrey said, there's not much that has been done on this front, so > you can't do much with it yet, or should I say anything.. =) Yes, I figured as much, but then I realised that there didn't exist any methods to actually draw in it. It was kind of a bummer. :-) > Elias btw have you tried using glade-2 to design the UIs? It works > great with java-gnome. For tricky ui:s, you can still choose to create > some of the widgets by code. Yes, that's what I used. It works great by the way, even though I would like some more control as to on which handler class the callbacks are called. Maybe there is, if so I'd love to know about it. I had to read the source and try to figure out how it was weant to work. Good work still. :-) > However, as I got a need to write a custom component myself (a complex > graph widget for plotting all sorts of data) I thought that I could > give it a try to implement the missing methods, or at least the most > important ones. If you don't hear from me on this front in a few weeks > then I probably got too busy to finish it. Otherwise, you'll hear from > me soon.. wish me luck :) Good luck! I'll be waiting for it. :-) The test application I intended to write while learning java-gnome was a small paint program. And for that you need graphics methods. :-) Regards Elias |