File: gnomemm_tutorial_feedback

package info (click to toggle)
debtags-edit 1.2.3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 644 kB
  • ctags: 475
  • sloc: cpp: 3,045; sh: 788; makefile: 23
file content (22 lines) | stat: -rw-r--r-- 857 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ch08s04:
	Really there's no way to iterate the selection except via signals?
	We're not Java with inline functions: it's quite inconvenient... :(

ch08s04:
	refTreeSelection->selected_foreach( 
	    SigC::Slot(*this, &TheClass::selected_row_callback) );
	 should be
	refTreeSelection->selected_foreach( 
	    SigC::slot(*this, &TheClass::selected_row_callback) );

ch08s04:
	ItemList.cc:223: error: passing `const Gtk::TreeSelection' as `this' argument
	   of `void Gtk::TreeSelection::selected_foreach(const SigC::Slot1<void, const
	   Gtk::TreeIter&>&)' discards qualifiers
	Is there a way to get the list of rows from a
	   Glib::RefPtr<const Gtk::TreeSelection>

ch08s02:
	It says "or derive a custom CellRenderer."  However, it is never
	explained how to do to derive a custom CellRenderer, except by directly
	looking into cellrenderercustom example.