Skip to content

Instantly share code, notes, and snippets.

@zedtux
Created January 12, 2014 18:54
Show Gist options
  • Select an option

  • Save zedtux/8388795 to your computer and use it in GitHub Desktop.

Select an option

Save zedtux/8388795 to your computer and use it in GitHub Desktop.
Add multiple embedded lines to the parent line in a Gtk::TreeStore
Gtk::TreeModel::Row childOne = *( refTreeStore->append( row.children() ) );
row[ modelColumns.columnId ] = 11;
row[ modelColumns.columnName ] = "Test enfant";
Gtk::TreeModel::Row childTwo = *( refTreeStore->append( row.children() ) );
row[ modelColumns.columnId ] = 12;
row[ modelColumns.columnName ] = "Test enfant 2";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment