
19 Oct
2005
19 Oct
'05
4:36 p.m.
Quoting Ralf Stephan <ralf@...748...>:
Hello, the modified signal on SPNamedView is emitted when someone sets the attribute of doc->rroot to sodipodi:modified.
How can I connect to this signal the sigc++ way? Or, what to replace
g_signal_connect (G_OBJECT (namedview), "modified",
G_CALLBACK (fun), this); sp_signal_disconnect_by_data (G_OBJECT (namedview), this);
If namedview's modified signal were a sigc++ signal, then you would need to remember the sigc::connection returned by the connect() method, and then call disconnect() on that later.
-mental