Question about defining own signals
- From: Matthias Kaeppler <nospam digitalraid com>
- To: gtkmm-list gnome org
- Subject: Question about defining own signals
- Date: Sat, 16 Apr 2005 16:03:36 +0200
Hello,
I want my gtkmm widget to have own signals.
Now I thought it'd be better to use the Glib::SignalProxy templates
instead of raw sigc signals, but I don't know how I am suposed to call
the constructor:
class MyWidget
{
Glib::SignalProxy0<void> m_my_signal;
// ...
}
It doesn't have a default ctor, so I looked at the source code:
SignalProxy0(ObjectBase* obj, const SignalProxyInfo* info)
: SignalProxyNormal(obj, info) {}
What am I supposed to pass to this constructor? I have to do this in the
init list of my widget's ctor.
--
Matthias Kaeppler
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]