Does wxRuby include Gizmos controls?

Hi,

I’m starting to use wxRuby for personal projects.

Originally, I used wxPython in my company because they don’t want to
install the Ruby environment just for me… But at home, I still
prefer the Ruby language…

So, wxWidgets is a great library, but wxPythons add some intersting
stuff.
I’m specially interested by the TreeListCtrl. it seems that this
control belongs to Gizmos C++ library.

I’m wondering if the Gizmos library is included in wxRuby or do you
plan to include it soon?

Bruno.

Hello Bruno,

I’ve looked at the Gizmos library, which was moved out of the core of
wxWidgets before version 2.8. And as far as I can see, the only
supported
ports for Gizmos library is wxMSW, according to wxCode’s page for it.

Unfortunately, we do not include support for Gizmos, as we try to keep
wxRuby cross-platform capable. If Gizmos is truely cross-platform, then
it
may be possible to build a wrapper around Gizmos, and have it work with
wxRuby. I do not know, as we have not officially tried to create
extensions
for other external libraries for wxWidgets, to work with wxRuby.

We would like to see something like this done, in particular with
wxWebKit
as a possible replacement for the wxWidgets wxHtmlCtrl class, but we
haven’t
had a chance to be able to do any work with it, at least I haven’t. I
think
Alex may have, but he would be the one to answer that.

hth,

Mario

On Sun, Jan 17, 2010 at 4:07 PM, bruno le hyaric

hi bruno

bruno le hyaric wrote:

I’m wondering if the Gizmos library is included in wxRuby or do you
plan to include it soon?

like Mario says, it’s not included at the moment. adding additional
classes isn’t uaully very hard using SWIG and the existing wxRuby glue
code. But we’ve tended to be pretty conservative in adding more build
dependencies to the core library for wxRuby 2.0, which compiles
everything into a single binary. wxRuby 3.0 is planned to be more
modular, so other developers could add on wxRuby wrappers around extra
C++ classes like Gizmos and the things on wxCode. But wxRuby 3.0 isn’t
being actively worked on just at the moment.

alex

Ok,

Thanks both of you, Alex and Mario.
I will use the standard TreeCtrl from wxRuby for the moment.

Bruno.

2010/1/17, bruno le hyaric [email protected]:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs