views:

16

answers:

0

Hi.

I'm creating GTK+ application that has embedded Ruby interpreter, small logic functions w/o side effects (those who only return some values) are working ok already, but I would like Ruby scripts to interact with main programs widgets. I know there is ruby-gtk2 gem, but how do I tell Ruby that widget passed from C must be wrapped with this class?

Thank you.