java-gnome-developer Mailing List for The java-gnome language bindings project (Page 124)
Brought to you by:
afcowie
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(37) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
(20) |
Mar
(20) |
Apr
(8) |
May
|
Jun
(1) |
Jul
(6) |
Aug
(39) |
Sep
(37) |
Oct
(34) |
Nov
(50) |
Dec
(22) |
2002 |
Jan
(7) |
Feb
(13) |
Mar
(32) |
Apr
(16) |
May
(26) |
Jun
(20) |
Jul
(32) |
Aug
(7) |
Sep
(2) |
Oct
(11) |
Nov
(3) |
Dec
(35) |
2003 |
Jan
(11) |
Feb
(3) |
Mar
(8) |
Apr
(3) |
May
(11) |
Jun
(20) |
Jul
(11) |
Aug
(29) |
Sep
(13) |
Oct
(91) |
Nov
(185) |
Dec
(207) |
2004 |
Jan
(108) |
Feb
(171) |
Mar
(207) |
Apr
(113) |
May
(22) |
Jun
(53) |
Jul
(69) |
Aug
(43) |
Sep
(34) |
Oct
(182) |
Nov
(101) |
Dec
(61) |
2005 |
Jan
(86) |
Feb
(45) |
Mar
(106) |
Apr
(67) |
May
(70) |
Jun
(47) |
Jul
(19) |
Aug
(34) |
Sep
(24) |
Oct
(45) |
Nov
(20) |
Dec
(58) |
2006 |
Jan
(21) |
Feb
(21) |
Mar
(16) |
Apr
(24) |
May
(24) |
Jun
(47) |
Jul
(20) |
Aug
(8) |
Sep
(13) |
Oct
(7) |
Nov
(23) |
Dec
(2) |
2007 |
Jan
|
Feb
(14) |
Mar
(3) |
Apr
(11) |
May
(1) |
Jun
(15) |
Jul
(2) |
Aug
(5) |
Sep
(10) |
Oct
(5) |
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(13) |
Mar
(13) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
(5) |
Aug
(7) |
Sep
(2) |
Oct
(14) |
Nov
(11) |
Dec
(12) |
2009 |
Jan
(30) |
Feb
(4) |
Mar
(16) |
Apr
(9) |
May
(9) |
Jun
(7) |
Jul
(6) |
Aug
(3) |
Sep
(14) |
Oct
(8) |
Nov
(12) |
Dec
(9) |
2010 |
Jan
(4) |
Feb
(27) |
Mar
(6) |
Apr
(4) |
May
(3) |
Jun
(13) |
Jul
(6) |
Aug
(15) |
Sep
(15) |
Oct
(12) |
Nov
(11) |
Dec
(9) |
2011 |
Jan
(12) |
Feb
(11) |
Mar
|
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
(8) |
Nov
(1) |
Dec
|
2012 |
Jan
|
Feb
(10) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
(2) |
Sep
(7) |
Oct
(7) |
Nov
|
Dec
(4) |
2013 |
Jan
(8) |
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
(3) |
Jul
(16) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2014 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Linuxhippy <lin...@we...> - 2003-01-08 21:47:47
|
Hi there again! My laptop is still broken, I write this mail with my old 15´ 60Hz Monotir ;-) Very often I hear about OpenSource-VMs like Kaffe, GCJ, ORP and many others. Many oft them are supporting AWT none of them have builtin-support for SWING. My IDEA (its only an idea!) is, to make not the same fault as SUN did with SWING (althought SWING is not bad, but its really slow and does absolutly not integrate in the native gui-interface). I thought that it should be possible to reinvent SWING an the top of a native gui-toolkit, but I want to ask you here, because of here are the real gui-gurus! (especally Jeff!!!) This implementation does not need to be exatly 100% compytible, I know this is not possible.... So please let me ask some questions relating to this theme: 1.) Would it be possible to use Java-GTK as the underlaying "platform". I know many things need to be reinvented in SWING style, but its better to code SWING in a "high-level-way" with java-gtk than dealing with native funktions. java-gtk does so many nice things for me (e.g. Memory handling), that I think it would be much easier to start with jgtk than from scratch... 2.) What about events and layouts? a) Would it be possible to widly emulate swing event, using and extending the current java-gtk event-model? b)How would it be possible to recode the swing-layouts using java-gtk. I know that swt has realized some java-like layouts using gtk... Would it be possible too rebuild all the layout-managers using a gtk-layout with fixed position? Would it be possible with boxes and tables? 3.)Is it important to rebuild exactly that heredity-hirachy (I´m sorry for my bad english, I know that word is wrong..) like sun does in swing? I know I not experienced with both Java/JNI/java-gtk enough to start a such project, but so many people are asking, and nobody does begin. This really bothers me so much, so that I want to start. I know I´m always a little bit rash, but so I´m ;-) I want to start this project, if its possible in most parts. I know its a very big amount of work, SWING is very big and SUN did not design SWING to be easy portable to native guis. But I´ve heard of a static-win32 Java-Compilier which translates SWING to native MFC-Programs, so its theoretical possible! Good luck again, Clemens PS: I was able to built Java-GTK on Windows using Cygwin. Hmm, but thats quite a very dirty port. It still requires an X-Server. The whole libraries (without the X-Server) are around ~20Mb (only GTK2, Pango, ZLIB.......). |
From: Ot <ota...@bo...> - 2002-12-31 05:37:57
|
Hi Mark I asure you gtk.jar and gnome.jar are in ther correct paths. The lib file= s are also ok. Some examples compile and run fine, but others don't. I go= t the tutorial from the website. The First.java example compiles and work= s ok. The Second.java and Third.java are also fine. But the Fourth.java s= ends me the following messagens when compiling: chacal@Insanidade:~/progJava/GTK$ javac Fourth.java Fourth.java:150: cannot resolve symbol symbol : method setDefaultValues (gnu.gtk.GtkVScale) location: class Fourth setDefaultValues(vscale); ^ Fourth.java:156: cannot resolve symbol symbol : method setDefaultValues (gnu.gtk.GtkHScale) location: class Fourth setDefaultValues(hscale); ^ Fourth.java:174: cannot resolve symbol symbol : method makeMenuItem (java.lang.String,java.lang.String,java.lan= g.Integer) location: class Fourth GtkMenuItem item =3D makeMenuItem("Top", Do I have to update my java-gnome version? Thanks=20 Ot=E1vio Augusto On 26 Dec 2002 12:49:53 +0000 Mark Howard <mh...@ti...> wrote: > Hi, > I don't think any of the tutorial apps have been updated, so none of > these will work. The code in src/examples, however should all work now. >=20 > On Wed, 2002-12-25 at 20:40, Ot wrote: > > FileEntryTest.java:4: package org.gnu.gnome does not exist > > import org.gnu.gnome.App; > This looks like you don't have gnome.jar in your classpath. >=20 >=20 > > runs ok. But some others don't even compile. Is there a new API versi= on? > The code in CVS is changing constantly. If you find things don't work, > the first thing you should do is upgrade to the latest from cvs. >=20 >=20 > --=20 > .''`. Mark Howard > : :' : > `. `' http://www.tildemh.com=20 > `- mh...@de... | mh...@ti... | mh...@ca...=20 >=20 >=20 |
From: Mark H. <mh...@ti...> - 2002-12-24 10:22:04
|
Hi, For using the code in CVS: 1) Checkout the java-gnome module from the cvs repository. Details can be found at http://sourceforge.net/cvs/?group_id=1522 2) run ./configure to set up Make files 3) run Make. This will compile the libraries, producing shared libraries (.so files) and java bytecode in jar files. These will all be placed in the java-gnome-dir/lib directory. Example applications can be found in src/examples/[gtk|gnome|..]. Before using them, you must set up your environment: export LD_LIBRARY_PATH=/path-to-java-gnome/lib/ -this will make the system search here for the shared libraries. export CLASSPATH=/path-to-jg/lib/gtk.jar:/path-to-jg/lib/gnome.jar:$CLASSPATH -this will allow java to find the java bytecode. then compile the example, e.g. javac buttonbox/ButtonBoxes.java and run: java buttonbox/ButtonBoxes Hope that helps. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: <ota...@bo...> - 2002-12-23 23:53:56
|
I get this erros messagens when compiling some of the examples from the C= VS repository: FileEntryTest.java:6: package org.gnu.gnome does not exist import org.gnu.gnome.Program; ^ FileEntryTest.java:7: package org.gnu.gtk does not exist import org.gnu.gtk.Gtk; Mark Howard has told me some has changed since last java-gnome released v= ersion...is that the reason? thanks Ot=E1vio Augusto |
From: Ot <ota...@bo...> - 2002-12-23 22:41:18
|
hi again. I've received this message in another mail box, wich is no long= er in the list. Well, I'm not facing problems with installation and compi= lation of the package and examples any more. But I'm gonna download the n= ew version and examples of it, as suggested by Mark Howard Thanks Ot=E1vio Augusto On 21 Dec 2002 14:15:53 -0500 Jeffrey Morgan <ku...@zo...> wrote: > On Sat, 2002-12-21 at 01:15, Ot=C3=A1vio Augusto R. de Fran=C3=A7a wrot= e: > > hi all. > > is there someone here? please, show up ;) I've been > > facing problems with an Exception.Its output is as > > follows: >=20 > Sorry for not responding quickly. >=20 > >=20 > > chacal@Insanidade:~/progJava/GTK$ java First > > Exception in thread "main" > > java.lang.UnsatisfiedLinkError: no GTKJava in > > java.library.path > > at > > java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) > > at > > java.lang.Runtime.loadLibrary0(Runtime.java:788) > > at > > java.lang.System.loadLibrary(System.java:832) > > at gnu.gnome.Gnome.<clinit>(Gnome.java:35) > > at First.main(First.java:8) > >=20 >=20 > The problem is that the java runtime cannot find the > java-gnome shared object that is part of the library. > These shared objects are located under the java-gnome/lib > directory once the build is completed. You should be > able to update your LD_LIBRARY_PATH environment variable > to include this directory. An easy place to set this is > in the .bash_profile (or another startup config file if > you are using a different shell). Please let me know if > you are still having problems. |
From: Dhek B. K. <bh...@ch...> - 2002-12-21 15:04:51
|
On Sat, 2002-12-21 at 01:15, Ot=E1vio Augusto R. de Fran=E7a wrote: > chacal@Insanidade:~/progJava/GTK$ java First > Exception in thread "main" > java.lang.UnsatisfiedLinkError: no GTKJava in Have you set the LD_LIBRARY_PATH to the library? I don't know what the GTKJava library is called (I guess libGTKJava.so), find the path where it lives, then: export LD_LIBRARY_PATH=3D/path/where/lib/is/ |
From: Mark H. <mh...@ti...> - 2002-12-21 13:48:47
|
On Sat, 2002-12-21 at 06:15, Otávio Augusto R. de França wrote: > hi all. hi! > is there someone here? please, show up ;) Yes, there's lots of ppl here. We were quite confused with your previous message with subject send messagens. Hopefully you have now discovered how to subscribe properly ( https://lists.sourceforge.net/lists/listinfo/java-gnome-developer) > I've been > facing problems with an Exception. Java-Gnome is currently been rewritten for GTK+2. Our efforts so far are available in CVS. These do work, however they are as of yet incomplete - that's why we haven't released them officially as 0.8.0. On the website, you may also download version 0.7. This is an old version based on GTK1.2. This is obsolete and we highly recommend that it is not used. I believe the problem you are encountering is that you are trying to run one of the java-gnome 0.7 tutorial applications using the latest code from cvs. This will not work as much has changed since 0.7. If you do want to try out the latest code, many of the examples in cvs (in the src/examples directories) do work. At present, however, there is no tutorial for the latest code. Documentation exists only in the form of API references produced by javadoc. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: <oa...@ya...> - 2002-12-21 06:15:12
|
hi all. is there someone here? please, show up ;) I've been facing problems with an Exception.Its output is as follows: chacal@Insanidade:~/progJava/GTK$ java First Exception in thread "main" java.lang.UnsatisfiedLinkError: no GTKJava in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:832) at gnu.gnome.Gnome.<clinit>(Gnome.java:35) at First.main(First.java:8) The same Exception occurs when trying to run both of the examples in the package. My system is slackware 8.0. All my java apps compile and work fine. What am I forgetting? Thanks a lot Otávio Augusto _______________________________________________________________________ Busca Yahoo! O melhor lugar para encontrar tudo o que você procura na Internet http://br.busca.yahoo.com/ |
From: <oa...@ya...> - 2002-12-20 07:10:40
|
my email is oa...@ya... thanks a lot _______________________________________________________________________ Yahoo! GeoCities Tudo para criar o seu site: ferramentas fáceis de usar, espaço de sobra e acessórios. http://br.geocities.yahoo.com/ |
From: Neven B. <nb...@en...> - 2002-12-14 19:22:12
|
Hi, I'm trying to build java-gnome from cvs and I'm getting the following error: gcc -g -O2 -fPIC -shared -o ../lib/libGladeJava.so.0.8.0 \ jni/org_gnu_glade_LibGlade.o \ -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -I /usr/java/j2sdk1.4.1/include -I /usr/java/j2sdk1.4.1/include/linux \ -L../lib -lGTKJava -Xlinker --no-undefined buildfile ../build.xml glade-jar make[1]: buildfile: Command not found make[1]: [glade] Error 127 (ignored) make[1]: Leaving directory `/home/neven/download/java-gnome/src' make -C test gtk glade make[1]: Entering directory `/home/neven/download/java-gnome/test' make[1]: Nothing to be done for `gtk'. make[1]: Nothing to be done for `glade'. make[1]: Leaving directory `/home/neven/download/java-gnome/test' I'm using redhat 8.0 with all updates and java jdk 1.4.1 Thanks in advance -- Neven Boric <nb...@en...> |
From: Linuxhippy <lin...@we...> - 2002-12-13 21:58:51
|
Wow, really thank you for wasting so much time for me!! >In a label widget, for example, you can use the >setJustification(Justification.CENTER ) method. > Hmm, I tried this Method when the widget was stored in a hbox, but it had no affect. I tried all values like left, right but the widget was always centered.... thx Linuxhippy |
From: Mark H. <mh...@ti...> - 2002-12-13 20:53:26
|
On Tue, 2002-12-03 at 15:11, Clemens Eisserer wrote: > Hi there! > > Please excuse that I´m asking so much, but I really didnt find a solution. > A want to create a Tree-Widget wich has a pixmap at its node. It seems you are supposed to use pointer type and set the pointer to a gdk pixbuf - but this all means c pointers, not java pointers. I have modified the glib and tree files so this should now be possible in java-gnome. However, the required gdk.Pixbuf classes haven't been implemented yet. I've just been looking at the docs and it seems like these are huge classes, so it may be a while before they are complete. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Mark H. <mh...@ti...> - 2002-12-13 20:52:44
|
On Wed, 2002-12-04 at 15:57, Clemens Eisserer wrote: > Hi there! Hi! > How can I make the text of a widget right-alligned, i read that i´ve to work with pango-tags, and I looked at the pango-site, but I dont understand anything.... > Only a very short answer would do it, so I dont waste too much of your time *sorry* Pango markup tags don't apply for alignment. They're used for things like fonts and colours. There is a pango attribute for alignment, however you should rarely need to use this as many widgets will provide their own method for aligning text. In a label widget, for example, you can use the setJustification(Justification.CENTER ) method. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: FORT D. <pop...@fr...> - 2002-12-12 23:42:49
|
The example of FileSelector doesn't catch the clicked signal of the Ok button, and i have the impression that it's because in GTK2.0 the signal registration is dynamic. In org.gnu.gtk.event.ButtonEvent types of signal are allocated as 1, 2, 3... were they should be get by using g_signal_lookup. My impression is that if buttons are created first everything is fine because signals are registered in the expected order, but in the FileSelectionBox the Gtk core registers other signal before registering the signal for Button, so it's not anymore 1, 2, 3.... And finally as the signal aren't registered correctly the corresponding callbacks are never called. Please correct me if i'm wrong, and consider telling me "It's late your should be sleeping, or please drink another cup of coffee". -- %--LINUX-HTTPD-PIOGENE----------------------------------------------------% % -datamining <-/ | .~. % % -networking/PHP/java/JSPs | /V\ L I N U X % % -opensource | // \\ >Fear the Penguin< % % -GNOME/enlightenment/GIMP | /( )\ % % feel enlightened.... | ^^-^^ % % HomePage: http://www.enlightened-popo.net % %-------- -- This was sent by Djinn running Linux 2.4.20 -- --------------% |
From: Clemens E. <Lin...@we...> - 2002-12-06 14:32:17
|
Hi there! > I *think* that you are supposed to use a string, containing the filename= > of the image. I=B4ve tried it, no sucess. GTK says that it cant convert a gchararray to a = gpointer ;-(( I=B4ll first do it without any pix, only text, and later when the whole funk= tionality is added ill try it again.. =20 > If you have any specific > suggestions for how we can make improvements, please give them.=20 O.K., I=B4m happy that my suggestions are welcome. But I think as far as I c= ant program java-gtk really good, suggestions from me arent really great..= . ;-) thx Linuxhippy =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F Finger wund tippen beim SMS Schreiben=3F Schluss damit!=20 Web.de FreeMail - http://freemail.web.de/features/=3Fmc=3D021148 |
From: Mark H. <mh...@ca...> - 2002-12-06 13:57:49
|
On Thu, 2002-12-05 at 20:18, Linuxhippy wrote: > Hi! > > I´ve read alle the examples, and wow, this widget isnt easy. > > My problem is, that I need to create a TreeStore with Objects defined > in Class Type... > But which Object is an Image? I *think* that you are supposed to use a string, containing the filename of the image. Unfortunately, I haven't tested all features of the tree widgets in great detail, so cannot give exact details. As previously said, this is work in progress, so should improve with time. If you have any specific suggestions for how we can make improvements, please give them. Good luck! -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Clemens E. <Lin...@we...> - 2002-12-06 06:36:03
|
Hi there! > Once we get this working > well we will probably try to create a higher level wrapper > that will hide much of this complexity (much like we did with > the list widget). That would be great! The List-idget is really fine and enhances productivt= y for simple lists extremly! > Please don't give up on us just yet. We are working very > hard to fix the current problems. I dont wont to give up, dont worry. I want to produce a mainstream-app usi= ng Java-GTK and GCJ, two technics whch are not very common, but great. Hmm= , I dont have the choice, because SWT doesnt understand GC, so its out of = the race ;-) May I ask one question: The store needs an array with types of the type Ty= pe defined in glib, but there is no suitable type for image. A shrt descri= ption would do it, please dont give up helping me *althought I=B4m not the b= est coder ;-)*, I wont give up using java-gtl ;-) Thanks for doing this great stuff! Mfg Linuxhippy =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F Keine Zeit fur Firlefanz=3F Blitz-SMS von WEB.DE FreeMail! Die SMS, die direkt auf's Display kommt! http://freemail.web.de/features/=3Fmc=3D021166 |
From: Jeffrey M. <Jef...@Br...> - 2002-12-05 20:19:14
|
> I=B4ve read alle the examples, and wow, this widget isnt easy. I couldn't agree with you more. Our first pass is just an attempt to wrap the widget as it exists in the native library to make sure we can get all of the functionality working properly. We are not quite there yet. Once we get this working well we will probably try to create a higher level wrapper that will hide much of this complexity (much like we did with the list widget). > I=B4m really frustrated, I want to learn Java-GTK, but some=20 > parts are so=20 > counterintuitive, I dont really understand this widget.. Please don't give up on us just yet. We are working very hard to fix the current problems. We will be addressing the complexity of these libraries over time. We will also be providing more documentation as time goes on. Your input will help us make this better. |
From: Linuxhippy <lin...@we...> - 2002-12-05 19:19:50
|
Hi! I´ve read alle the examples, and wow, this widget isnt easy. My problem is, that I need to create a TreeStore with Objects defined in Class Type... But which Object is an Image? - Is it O.K. to use a Image, I dindt find any useful Pixbuf-stuff I tried it with several types, but I only became this: (java-gnome:1653): Gtk-WARNING **: gtktreestore.c:801: Unable to convert from gpointer to GObject I´m really frustrated, I want to learn Java-GTK, but some parts are so counterintuitive, I dont really understand this widget.. Has anybody already written an app using images in Treeview? Some sourcecode would help extremly.... Sorry, but I really, really read very much documentation... thx Linuxhippy It only says >On Tue, 2002-12-03 at 15:11, Clemens Eisserer wrote: > > >>Hi there! >> >>Please excuse that I´m asking so much, but I really didnt find a solution. >> >> >No problem. We'll help wherever possible & I'm sure other readers of >this list are glad to hear such advice. > > > >>A want to create a Tree-Widget wich has a pixmap at its node. >> >> > >Look at src/example/gtk/tree/TreeExample. > >You can add multiple renderers to each column (as is done in the first >column of the example). If the first one you add is a >CellRendererPixbuf, then you should get your desired effect. > >You will have to (for now) store the names of the image to be displayed >at each node in one of the data blocks of the treestore and map this to >the renderer in the column using something like >myTreeColumn.addAttributeMapping( myPixbufRenderer, >CellRendererPixBuf.Attibute.PIXBUF, 1) > > > > >>PUH this widget is complex and a little bit contraintuitive..... >> >> >... but also very powerful. We should, probably, create more simple >wrapper classes, like SimpleList. > > > |
From: Clemens E. <Lin...@we...> - 2002-12-04 15:57:33
|
Hi there! Only one short questions..: How can I make the text of a widget right-alligned, i read that i=B4ve to wo= rk with pango-tags, and I looked at the pango-site, but I dont understand = anything.... Only a very short answer would do it, so I dont waste too much of your tim= e *sorry* Mfg Linuxhippy =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F Virenschutz inklusive: Bei WEB.DE FreeMail k=F6nnen Sie jeden Dateianhang auf Viren pr=FCfen http://freemail.web.de/features/=3Fmc=3D021130 |
From: Jeffrey M. <Jef...@Br...> - 2002-12-04 14:21:11
|
This is very good news. I a future version of the bindings we hope to provide bonobo integration. At that time I would like to talk to you in detail about this code. Currently we are trying to stabilize the bindings after a major rewrite so we can produce our next release. > On Tue, 2002-12-03 at 21:02, Tom Ball wrote: > > The only related work is a Swing L&F which *simulates* GTK=20 > by reading > > the theme info and using the referenced graphics files. =20 > Perhaps a demo > > of that work got the writer excited, so that he jumped to=20 > an unwarranted > > conclusion. >=20 > The only other work that I am personally aware of is java-bonobo > integration work. The work in that area that I am aware of is = public, > and personally I think it may be more promising for general = java/GNOME > integration for some projects than the java/gtk+ bindings that this > mailing lists members are working on. >=20 > A GTK+ Swing look and feel would make embedding of Swing apps=20 > into GNOME > (and vice-versa) considerably more attractive however. >=20 > Erdi Gergo (ca...@ru...) had a project called 'monkeybeans' some > time ago that was an attempt to provide a bonobo implementation for > Java. I think he got frustrated with it; but we (GNOME accessibility > folks) needed to do this as part of our work, too. So we discovered > some of the reasons why monkeybeans was blocked (I think) and now we > have GNOME's Bonobo::Unknown and bits of the other base libbonobo IDL > implemented in Java, along with all of the GNOME Accessibility IDL in > 'at-spi'. (Unfortunately the CORBA support in versions of Java = before > 1.4 was pretty broken, it's not too surprising that Erdi was having > problems. Also there were misunderstandings about how the "POA" > worked...) >=20 > Erdi has blessed the idea of calling the new work "monkeybeans2". At > present the code lives in GNOME CVS's "java-access-bridge" for > historical reasons, but we have agreed that Java/Bonobo = implementation > code and bindings are of general interest and the Bonobo:: parts of > java-access-bridge should be split out into a new "monkeybeans2" > module. So far I haven't had time, but it's not a big job to do this > bit of surgery and it makes a lot of sense, since other GNOME CVS > modules are also using this work. For instance 'gnome-speech' which > provides text-to-speech services; one of the available=20 > drivers (for the > FreeTTS service) is implemented in Java and thus uses java-bonobo. >=20 > At the moment we've mostly just implemented Unknown and some of the > basic PropertyBag APIs from Bonobo, but most of libbonobo will soon = be > required, and libbonoboui (the GUI embedding and control stuff) would > make sense to do. Having this would make embedding, control, and the > ability to write GNOME components in Java (and vice-versa) possible. >=20 > If someone on this list is interested in this type of java/GNOME > integration, and would like to help split the existing work=20 > into the new > CVS module (monkeybeans2), or even help maintain it, I would be > grateful. >=20 > best regards, >=20 > Bill Haneman > GNOME Accessibility Project >=20 > > Although it's possible some random engineer is working on a GTK AWT > > toolkit (Sun's a big place), neither the Mad Hatter or=20 > JavaSoft teams > > are, and they are where such a project would get released. > >=20 > > Tom > >=20 > > On Tue, 2002-12-03 at 02:22, Jan Blunck wrote: > > > On Tue, 3 Dec 2002, Clemens Eisserer wrote: > > >=20 > > > >=20 > > > > The article says that sun has already created bindnigs=20 > and as far as I an look into the future, this bidings wont=20 > work with GCJ. > > > > Hmm, I=C2=B4m not sure if this should be a=20 > swing-like-bindings, because it would be very hard to emulate=20 > that stuff that swing does nativ... > > > >=20 > > >=20 > > > I overlooked that in the article. So they reimplemented=20 > AWT for GTK+2???=20 > > > The article is really missing the important facts. > > > Anybody ever heard about that project before??? > > >=20 > > > jan > > > --=20 > > > Jan Blunck Technische=20 > Universit=C3=A4t Hamburg-Harburg > > > J.B...@tu... =20 > http://www.tu-harburg.de/~sejb3103/ > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Get the new Palm Tungsten T > > > handheld. Power & Color in a compact size! > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > > > _______________________________________________ > > > java-gnome-developer mailing list > > > jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft Visual Studio.NET=20 > > comprehensive development tool, built to increase your=20 > > productivity. Try a free online hosted session at: > > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Microsoft Visual Studio.NET=20 > comprehensive development tool, built to increase your=20 > productivity. Try a free online hosted session at: > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 |
From: Clemens E. <Lin...@we...> - 2002-12-04 12:26:46
|
Hi there! > The only other work that I am personally aware of is java-bonobo > integration work. The work in that area that I am aware of is public, > and personally I think it may be more promising for general java/GNOME > integration for some projects than the java/gtk+ bindings that this > mailing lists members are working on. > A GTK+ Swing look and feel would make embedding of Swing apps into GNOME= > (and vice-versa) considerably more attractive however. Why, I dont understand. As far as I know, java-gnome was made for people w= ho doesnt like SWING or have already coded in GTK+ and want to use the adv= anced language-features of Java. The main-goal of java-gnome is not to provide a java/gnome integrations, i= t was made (as far as I know!) to let programmers code in a great language= and have a fast, native gui! Mfg Linuxhippy > > Although it's possible some random engineer is working on a GTK AWT > > toolkit (Sun's a big place), neither the Mad Hatter or JavaSoft teams > > are, and they are where such a project would get released. > >=20 > > Tom > >=20 > > On Tue, 2002-12-03 at 02:22, Jan Blunck wrote: > > > On Tue, 3 Dec 2002, Clemens Eisserer wrote: > > >=20 > > > >=20 > > > > The article says that sun has already created bindnigs and as far = as I an look into the future, this bidings wont work with GCJ. > > > > Hmm, I=C2=B4m not sure if this should be a swing-like-bindings, becaus= e it would be very hard to emulate that stuff that swing does nativ... > > > >=20 > > >=20 > > > I overlooked that in the article. So they reimplemented AWT for GTK+= 2=3F=3F=3F=20 > > > The article is really missing the important facts. > > > Anybody ever heard about that project before=3F=3F=3F > > >=20 > > > jan > > > --=20 > > > Jan Blunck Technische Universit=C3=A4t Hamburg-= Harburg > > > J.B...@tu... http://www.tu-harburg.de/~sej= b3103/ > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Get the new Palm Tungsten T > > > handheld. Power & Color in a compact size! > > > http://ads.sourceforge.net/cgi-bin/redirect.pl=3Fpalm0002en > > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > > java-gnome-developer mailing list > > > jav...@li... > > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft Visual Studio.NET=20 > > comprehensive development tool, built to increase your=20 > > productivity. Try a free online hosted session at: > > http://ads.sourceforge.net/cgi-bin/redirect.pl=3Fmicr0003en > > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Microsoft Visual Studio.NET=20 > comprehensive development tool, built to increase your=20 > productivity. Try a free online hosted session at: > http://ads.sourceforge.net/cgi-bin/redirect.pl=3Fmicr0003en > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F Immer auf dem Laufenden - mit der SMS-Benachrichtigung bei WEB.DE FreeMail. http://freemail.web.de/features/=3Fmc=3D021185 |
From: Bill H. <bil...@su...> - 2002-12-04 11:34:46
|
On Tue, 2002-12-03 at 21:02, Tom Ball wrote: > The only related work is a Swing L&F which *simulates* GTK by reading > the theme info and using the referenced graphics files. Perhaps a demo > of that work got the writer excited, so that he jumped to an unwarranted > conclusion. The only other work that I am personally aware of is java-bonobo integration work. The work in that area that I am aware of is public, and personally I think it may be more promising for general java/GNOME integration for some projects than the java/gtk+ bindings that this mailing lists members are working on. A GTK+ Swing look and feel would make embedding of Swing apps into GNOME (and vice-versa) considerably more attractive however. Erdi Gergo (ca...@ru...) had a project called 'monkeybeans' some time ago that was an attempt to provide a bonobo implementation for Java. I think he got frustrated with it; but we (GNOME accessibility folks) needed to do this as part of our work, too. So we discovered some of the reasons why monkeybeans was blocked (I think) and now we have GNOME's Bonobo::Unknown and bits of the other base libbonobo IDL implemented in Java, along with all of the GNOME Accessibility IDL in 'at-spi'. (Unfortunately the CORBA support in versions of Java before 1.4 was pretty broken, it's not too surprising that Erdi was having problems. Also there were misunderstandings about how the "POA" worked...) Erdi has blessed the idea of calling the new work "monkeybeans2". At present the code lives in GNOME CVS's "java-access-bridge" for historical reasons, but we have agreed that Java/Bonobo implementation code and bindings are of general interest and the Bonobo:: parts of java-access-bridge should be split out into a new "monkeybeans2" module. So far I haven't had time, but it's not a big job to do this bit of surgery and it makes a lot of sense, since other GNOME CVS modules are also using this work. For instance 'gnome-speech' which provides text-to-speech services; one of the available drivers (for the FreeTTS service) is implemented in Java and thus uses java-bonobo. At the moment we've mostly just implemented Unknown and some of the basic PropertyBag APIs from Bonobo, but most of libbonobo will soon be required, and libbonoboui (the GUI embedding and control stuff) would make sense to do. Having this would make embedding, control, and the ability to write GNOME components in Java (and vice-versa) possible. If someone on this list is interested in this type of java/GNOME integration, and would like to help split the existing work into the new CVS module (monkeybeans2), or even help maintain it, I would be grateful. best regards, Bill Haneman GNOME Accessibility Project > Although it's possible some random engineer is working on a GTK AWT > toolkit (Sun's a big place), neither the Mad Hatter or JavaSoft teams > are, and they are where such a project would get released. >=20 > Tom >=20 > On Tue, 2002-12-03 at 02:22, Jan Blunck wrote: > > On Tue, 3 Dec 2002, Clemens Eisserer wrote: > >=20 > > >=20 > > > The article says that sun has already created bindnigs and as far as = I an look into the future, this bidings wont work with GCJ. > > > Hmm, I=C2=B4m not sure if this should be a swing-like-bindings, becau= se it would be very hard to emulate that stuff that swing does nativ... > > >=20 > >=20 > > I overlooked that in the article. So they reimplemented AWT for GTK+2??= ?=20 > > The article is really missing the important facts. > > Anybody ever heard about that project before??? > >=20 > > jan > > --=20 > > Jan Blunck Technische Universit=C3=A4t Hamburg= -Harburg > > J.B...@tu... http://www.tu-harburg.de/~sejb31= 03/ > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: Get the new Palm Tungsten T > > handheld. Power & Color in a compact size! > > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > > _______________________________________________ > > java-gnome-developer mailing list > > jav...@li... > > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Microsoft Visual Studio.NET=20 > comprehensive development tool, built to increase your=20 > productivity. Try a free online hosted session at: > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Tom B. <Tom...@Su...> - 2002-12-03 21:15:59
|
The only related work is a Swing L&F which *simulates* GTK by reading the theme info and using the referenced graphics files. Perhaps a demo of that work got the writer excited, so that he jumped to an unwarranted conclusion. Although it's possible some random engineer is working on a GTK AWT toolkit (Sun's a big place), neither the Mad Hatter or JavaSoft teams are, and they are where such a project would get released. Tom On Tue, 2002-12-03 at 02:22, Jan Blunck wrote: > On Tue, 3 Dec 2002, Clemens Eisserer wrote: >=20 > >=20 > > The article says that sun has already created bindnigs and as far as I = an look into the future, this bidings wont work with GCJ. > > Hmm, I=B4m not sure if this should be a swing-like-bindings, because it= would be very hard to emulate that stuff that swing does nativ... > >=20 >=20 > I overlooked that in the article. So they reimplemented AWT for GTK+2???=20 > The article is really missing the important facts. > Anybody ever heard about that project before??? >=20 > jan > --=20 > Jan Blunck Technische Universit=E4t Hamburg-Harb= urg > J.B...@tu... http://www.tu-harburg.de/~sejb3103= / >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer |
From: Mark H. <mh...@ca...> - 2002-12-03 15:36:07
|
On Tue, 2002-12-03 at 15:11, Clemens Eisserer wrote: > Hi there! > > Please excuse that I´m asking so much, but I really didnt find a solution. No problem. We'll help wherever possible & I'm sure other readers of this list are glad to hear such advice. > A want to create a Tree-Widget wich has a pixmap at its node. Look at src/example/gtk/tree/TreeExample. You can add multiple renderers to each column (as is done in the first column of the example). If the first one you add is a CellRendererPixbuf, then you should get your desired effect. You will have to (for now) store the names of the image to be displayed at each node in one of the data blocks of the treestore and map this to the renderer in the column using something like myTreeColumn.addAttributeMapping( myPixbufRenderer, CellRendererPixBuf.Attibute.PIXBUF, 1) > PUH this widget is complex and a little bit contraintuitive..... ... but also very powerful. We should, probably, create more simple wrapper classes, like SimpleList. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |