cell renderer setting: assertion failed
- From: Lab51 <lab51 introscopy tpu ru>
- To: gtkmm-list gnome org
- Subject: cell renderer setting: assertion failed
- Date: Wed, 07 Apr 2010 15:43:24 +0700
Hi,
I'm creating the TreeView object that has boolean column (with check
buttons). I'm connecting signal_toggled() of the renderer with some
function. But where I'm trying to set renderer for this column, program
works, but prints following message:
(irrad:21845): Gtk-CRITICAL **:
gtk_tree_view_column_cell_layout_add_attribute: assertion `info != NULL'
failed
Toggling of the check button have no effect.
Gtk::CellRendererToggle *toggle_renderer = manage(new
Gtk::CellRendererToggle());
toggle_renderer->signal_toggled().connect(sigc::ptr_fun(&on_togg));
int
cols_count=tview->append_column_editable("Установл.",columns.is_exposed);
Gtk::TreeViewColumn* column=tview->get_column(cols_count - 1);
column->set_renderer(*toggle_renderer,columns.is_exposed); //
<<******** it happens here
Why it happens?
Thanks,
Michael.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]