Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   GTK Window to JFrame converter? (http://www.velocityreviews.com/forums/t615230-gtk-window-to-jframe-converter.html)

Shafik 05-16-2008 07:07 PM

GTK Window to JFrame converter?
 
Hello folks,

Any java gui geniuses out there?

I have this rather interesting problem: I have a shell application
written in GTK that uses the GTK socket-plug architecture to allow
third party programs to plug into that shell.

The problem is that I would like to write a Java Swing application and
plug it in to that architecture ... is that even possible?

The GTK shell returns a GTK Window object for the third party
application to display it's gui on. Can I somehow convert that Window
object to a JFrame object so I can write native Swing code for the
Java application?

Any creative insight will be much appreciated.

Thanks,
--Shafik


Mark Space 05-16-2008 08:08 PM

Re: GTK Window to JFrame converter?
 
Shafik wrote:
> Hello folks,
>
> Any java gui geniuses out there?
>
> I have this rather interesting problem: I have a shell application
> written in GTK that uses the GTK socket-plug architecture to allow
> third party programs to plug into that shell.


Could you provide a link to the documentation for GTK's "socket-plug
architecture"? I did a Google search but nothing looked reasonable.


Shafik 05-16-2008 08:21 PM

Re: GTK Window to JFrame converter?
 
On May 16, 1:08 pm, Mark Space <marksp...@sbc.global.net> wrote:
> Shafik wrote:
> > Hello folks,

>
> > Any java gui geniuses out there?

>
> > I have this rather interesting problem: I have a shell application
> > written in GTK that uses the GTK socket-plug architecture to allow
> > third party programs to plug into that shell.

>
> Could you provide a link to the documentation for GTK's "socket-plug
> architecture"? I did a Google search but nothing looked reasonable.



http://www.pygtk.org/docs/pygtk/class-gtksocket.html


Cheers,
--Shafik


Mark Space 05-16-2008 10:41 PM

Re: GTK Window to JFrame converter?
 
Shafik wrote:
> On May 16, 1:08 pm, Mark Space <marksp...@sbc.global.net> wrote:
>> Shafik wrote:
>>> Hello folks,
>>> Any java gui geniuses out there?
>>> I have this rather interesting problem: I have a shell application
>>> written in GTK that uses the GTK socket-plug architecture to allow
>>> third party programs to plug into that shell.

>> Could you provide a link to the documentation for GTK's "socket-plug
>> architecture"? I did a Google search but nothing looked reasonable.

>
>
> http://www.pygtk.org/docs/pygtk/class-gtksocket.html
>


Thanks! I surely don't know any Java class or package that connects to
this, but I appreciate the info. GTK is a cool API.


All times are GMT. The time now is 04:20 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.