Re: [tcljava-user] combining java and tk widgets...possible?
Brought to you by:
mdejong
|
From: <Mar...@HS...> - 2001-08-02 17:01:58
|
I just realized that this is possible. You can embed a Java generated widget(s) within a Tk widget, to be packed/gridded/placed, as you like. Seemless integration, particularily with tclblend. You will need to load another extension, although I recently saw a TIP, that if implemented (which appears likely from what I've heard), will provide this capability natively to Tk. For now, use the BLT extension. See the container widget. (the man page isn't installed because of a bug in the BLT man makefile. But the man page is in the source BLT distribution). I haven't tried Java yet, but I did embed a Netscape window within a Tk application. Looked pretty cool. Marty "Bryan Oakley" <bo...@au...>@lists.sourceforge.net on 07/12/2001 11:00:24 AM Please respond to tcl...@li... Sent by: tcl...@li... To: <tcl...@li...> cc: Subject: [tcljava-user] combining java and tk widgets...possible? Using tclBlend, can I create a java window (either an awt or swing object) and embed it in a tk window (either frame or toplevel specified with "-container true")? Or conversely, can I create a tk window and embed it in a java window (via the -use argument of toplevel)? About the only direct answer I found on the net for this question is "no", but that came from a paper Mo wrote back in 1998. Has the state of the tclblend art progressed much in this regard since? ---- Bryan Oakley bo...@au... _______________________________________________ tcljava-user mailing list tcl...@li... http://lists.sourceforge.net/lists/listinfo/tcljava-user |