Re: [gtkmm] Basic signal handling problem



On Sat, 2002-10-26 at 16:25, Mussol Trek wrote:
> I don't understantd it, because the documentation says
> that we can use any kind of function (static, class
> member, ....). But if I use a member function from a
> GTK derived class, such Gtk::Window, all it's correct.
> All handled class member functions must be from a Gtk
> derived class?
> Anybody can helps me? Thanks.

It's a libsigc++ limitation - the class needs to derive from
SigC::Object. gtkmm classes do derive from SigC::Object.

By the way, you can avoid that delete/destroy/impl stuff with gtkmm2.

-- 
Murray Cumming
murray usa net
www.murrayc.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]