Re: [gnomemm] libglademm2 help
- From: murrayc t-online de (Murray Cumming)
- To: Mark Wittenberg <Mark_Wittenberg schonfeld com>
- Cc: gnomemm-list <gnomemm-list gnome org>
- Subject: Re: [gnomemm] libglademm2 help
- Date: 28 Jan 2003 09:42:02 +0100
On Tue, 2003-01-28 at 03:20, Mark Wittenberg wrote:
> I can't find doc on the new libglademm2 API,
http://www.gtkmm.org/gnomemm2/reference/html/namespaceGnome_1_1Glade.html
and
http://www.gtkmm.org/gtkmm2/docs/tutorial/html/ch19.html
[snip]
> . For example,
> what is the 2.0 equivalent of "Libglade::XML::connect_all"?
There is none. Nobody tried to add that to libglademm 2.
> And how do
> I connect signals to slots now?
Manually, in code.
> It appears that the signature of
> SigC::slot() has changed, because it doesn't like the (global) function
> pointer I pass in
> -- its signature is
> void
> (*action)(
> GtkButton *button,
> gpointer user_data);
>
> I see hints that the new signature must be
> void
> (*GladeXMLConnectFunc)(
> const gchar *handler_name,
> GObject *object,
> const gchar *signal_name,
> const gchar *signal_data,
> GObject *connect_object,
> gboolean after,
> gpointer user_data);
What signal are you trying to connect to?
[snip]
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]