[gtkmm] Signal and Widget



class A : public SigC::Object {
	// ...
}

class B : public A {
  public:
	A ();
	~A();

	on_event();
  private:
	Type Label_;

}

A::A()
{
	Label_ = new Type();
	Label->signal_event().connect(slot(*this, &A::on_event));
}


Can I have trouble with this pattern?
Please, help me!!
-- 
Rocker
  alias "Davide Anastasia"
"Everything you know is wrong"
Linux User #341094

Mail signed with GnuPG <http://www.gnupg.org/faq.html>

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata



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