Re: [Java-gnome-developer] Create a custom GTK RoundedFrame in Java Gnome
Brought to you by:
afcowie
|
From: bob <loi...@pa...> - 2010-10-29 17:53:58
|
Hello, Good news, I successful create a custom CellRenderer in Vala and use this CellRenderer in Java with Java Gnome. Now I compile the vala source manually but I will update my configure and Makefile script. It's a hack but it's work, the screenshot is accessible at this URL : https://www.papaye.me/wiki/librebook/screenshot There are still some problems : I create my custom CellRenderer in the org.java.gnome package because a lot of generated methods are in package visibility so I couldn't use these object methods in another package. And I don't use the bindings_java_memory_cleanup() call in my JNI source because I don't how to do this, I'm not a C programmer and I don't know how to link my library with the libgtkjni.so. Best regards, Loïc Dreux Le samedi 23 octobre 2010 à 14:58 +0200, bob a écrit : > I work on the librebook project https://launchpad.net/librebook and for > reproduce the same look that Rhythmbox or Banshee, I read the source of > these projects and I saw that developers use custom widget for the tree > navigator or for the list. > > It is very important that I could increase the look of my project so I > would like to use some customs GTK widget. > > Do you think it's possible to create pure java like a complex navigator > tree with the DrawingArea object ? > > Loïc Dreux > > Le samedi 23 octobre 2010 à 14:37 +0200, Andrew Cowie a écrit : > > On Wed, 2010-10-20 at 16:15 +0200, bob wrote: > > > > > There is a solution to create a custom widget in Java? > > > > For what most people need, they just use (or subclass, whatever) > > DrawingArea. Could you perhaps explain what you're actually trying to > > do? > > > > > // The custom GTK widget RoundedFrame > > > > I don't read .Net, sorry. > > > > AfC > > A Coruña > > > > > > > > ------------------------------------------------------------------------------ > > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > > http://p.sf.net/sfu/nokia-dev2dev > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > n > > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |