Re: [glade--] Glib::SignalProxyProperty Problem
Christof Petig <[email protected]> Tue, 15 Feb 2005 16:17:45 +0100
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Organization | Adolf Petig GmbH & Co. KG |
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============1655582747==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig46A8E705E95D6A6663D93939"
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig46A8E705E95D6A6663D93939
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Gunther Laure schrieb:
> 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) == 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?
Try it on the _lib_glade-- list ([email protected] IIRC)
Christof
Murray: You really should create a user visible list for libglademm so
that users need not confuse glademm and libglademm more than necessary.
Kindest Regards, Christof
--------------enig46A8E705E95D6A6663D93939
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
iD8DBQFCEhKZng+R+0ucfO0RAodlAJ4mt8juSHvzvV0wpgcSbs4k8q24XQCfTSES
trRK9RIT+JMv60D0OYAVDnU=
=E/zD
-----END PGP SIGNATURE-----
--------------enig46A8E705E95D6A6663D93939--
--===============1655582747==
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
--===============1655582747==--