[Gtk-sharp-list] Stetic GUI Designer Move to Glade for Gtk#3
bertrand.lorentz at gmail.com
Tue May 20 18:00:42 UTC 2014
On Tue, May 20, 2014 at 7:14 PM, Sven Baus <s.baus86 at gmx.net> wrote:
> Hello everybody,
> I'm currently working at an audiobackend binding for my application.
> Since I want to use gstreamer, I found out, that I need to use GTK#3,
> because this is needed by gstreamer-sharp. Since I'm currently working
> with monodevelop, which uses stetic for GUI design, I wanted to ask,
> what is the best way, moving towards GTK#3. I see, that it uses .ui
> files for GUI definition, which can be generated by glade (I also tried
> a little bit around with glade). But my application has 4 windows with
> much code, so how can I easily transport this to GTK#3? Has anybody done
> this already?
MonoDevelop is a GTK#2 app, and as you can't mix GTK 2 and 3, there's
currently no way to use Stetic on a GTK#3 app.
During our hackfest last year, Stephan Sundermann came up with a
quick-and-dirty converter from stetic to .ui glade files. You can read
about it on his blog, with a link to the GitHub repo:
The idea I think is to do the conversion, adjust the result manually
if needed, and then edit the UI separately in Glade.
I'm more of a "build UI in C#" person, so I haven't needed to use this
approach, and can't comment on its merits.
I hope this helps.
More information about the Gtk-sharp-list