data in signal association. (user_data on GTK+)
- From: John Holmes <merli renato gmail com>
- To: gtkmm-list gnome org
- Subject: data in signal association. (user_data on GTK+)
- Date: Wed, 20 Jan 2010 19:42:32 -0300
In GTK+ we have a gpointer (called user_data) associeted with signal handlers that are specificated in the signal association. So, its a per-association value. How to have something like this in GTKMM (libsig++).
The following code don´t work:
Gtk::MenuItem * tmp_item;
refXml->get_widget("mn_add_dvd", tmp_item);
(tmp_item)->signal_activate().connect( sigc::bind( sigc::slot (*this, app::cb_menu_click, "test")));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]