Damon Chaplin wrote:
> 
> Kuehbauch Stefan wrote:
> >
> > Hello,
> >
> > well, this is not a post about developing glade, but I have a question which
> > (I think) only the developers of glade can answer.
> >
> > After a some newsgroups and mailing lists I finally got here.
> >
> > We are currently working on an small "windowing" system. This system sits on
> > top of some other gui-interface (Java swing to be exact) and has nothing to
> > do with Gtk.
> >
> > So we will have our own widgets, which are totally self-defined. The widgets
> > are very simple like buttons, text, a simple list box... We want to use XML
> > as description format of the application screens.
> >
> > So guess whats missing ???
> >
> > Yes, a GUI development kit, as we dont want to hack the XML code on
> > designing the application.
> >
> > Well, I used glade for developing some small tools already and find it
> > pretty good.
> >
> > Do You have some kind of interface in Glade, to get our own widgets in it?
> >
> > I read in the to do list, that You are working on it, right?
> >
> > You think it will be possible with our totally different widget set?
> 
> Glade is very closely tied to GTK+, so I'm afraid it can't really be used
> for other toolkits like Java's swing library.
> 
While true this isn't the whole story.  There are two ways I can see to
generate a non-Gtk+ widget set in glade.

1) Write your own gbwidget's that emulate the behaviour of your target
widget-set, integrate them into glade (I'm still working on making this
easier, but time is currently a problem).

2) Use the existing gtk+ gbwidgets, and emulate the Gtk+ behaviour with
the foreign widgets.

Then either a libglade style approach (trivial withava's excelent
reflection facilities), or a source-code generator.  The easiest
approach will of course depend on the how similar the foreign widget set
is to Gtk+.

Andrae Muys


-- 
Andrae Muys            "Basically, ioctl's will _never_ be done right, 
Professional Engineer   because of the way people think about them. They 
Shortech International  are a back door. They are by design typeless and
Ph: +61 7 38535 346     without rules. They are, in fact, the Microsoft 
[EMAIL PROTECTED]   of UNIX." -- Linus Torvalds to linux-kernel

_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to