RSS

GladeXMLからGtkBuilderへ

    付与されたタグ:
  • GTK+

signalを登録するあたりでちょっと違うなあ…。

void                glade_xml_signal_connect_data       (GladeXML *self,
                                                         const char *handlername,
                                                         GCallback func,
                                                         gpointer user_data);

void                glade_xml_signal_connect_data       (GladeXML *self,
                                                         const char *handlername,
                                                         GCallback func,
                                                         gpointer user_data);

void                (*GladeXMLConnectFunc)              (const gchar *handler_name,
                                                         GObject *object,
                                                         const gchar *signal_name,
                                                         const gchar *signal_data,
                                                         GObject *connect_object,
                                                         gboolean after,
                                                         gpointer user_data);

void                (*GtkBuilderConnectFunc)            (GtkBuilder *builder,
                                                         GObject *object,
                                                         const gchar *signal_name,
                                                         const gchar *handler_name,
                                                         GObject *connect_object,
                                                         GConnectFlags flags,
                                                         gpointer user_data);

signal_dataはどこに消えたんだろう。