[glade--] Glib::SignalProxyProperty Problem
Gunther Laure <[email protected]> Tue, 15 Feb 2005 14:28:14 +0100
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <1108474094.5103.10.camel@localhost> |
--===============0776255192==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="=-c+iVwuu7FFpHQJA/AHC8"
--=-c+iVwuu7FFpHQJA/AHC8
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Hi!
As I understand, Glib::SignalProxyProperty allows to query a Gtk::Widget
for an existing signal using the signals string name ("clicked")
The method Glib::SignalProxyProperty::connect then should allow me to
connect the signal to an arbitrary method handler (eg sigc::ptr_fun ...)
as long as the method signature matches.
Am I wrong in this assumptions? My test program using
Glib::SignalProxyProperty with libglade created widget instantias
compiles but does nothing...
I peeked into the source code and saw that the static method
SignalProxyProperty::callback is called by the widgets "notify" signal.
if(strcmp(property_name_changed, property_name_monitored) =3D=3D 0)
is never true here, because property_name_changed is eg "clicked" for a
button, but property_name_monitored seems always to be "style"? (I do
not know why)
Any hints or tips for me?
By Gunther
--=-c+iVwuu7FFpHQJA/AHC8
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iEYEABECAAYFAkIR+O4ACgkQi2KWosOP/BHC8QCfXsPks+LVl4+J+Ip1FK0NFHAl
07wAnjXKZ6Q9i+cW0Ebk8bmXNXv87BWr
=Q+Nz
-----END PGP SIGNATURE-----
--=-c+iVwuu7FFpHQJA/AHC8--
--===============0776255192==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
glademm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/glademm-list
--===============0776255192==--