added custom cell renderer (doesn't do anything yet)
This commit is contained in:
parent
827d6ed31d
commit
c034ca25e2
6 changed files with 373 additions and 7 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
|
||||
Author : $Author: fgerlits $
|
||||
Version : $Revision: 1.4 $
|
||||
Version : $Revision: 1.5 $
|
||||
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/include/LiveSupport/Widgets/ZebraTreeView.h,v $
|
||||
|
||||
------------------------------------------------------------------------------*/
|
||||
|
@ -72,7 +72,7 @@ using namespace LiveSupport::Core;
|
|||
* A list of items, in rows colored alternately grey and light blue.
|
||||
*
|
||||
* @author $Author: fgerlits $
|
||||
* @version $Revision: 1.4 $
|
||||
* @version $Revision: 1.5 $
|
||||
*/
|
||||
class ZebraTreeView : public Gtk::TreeView
|
||||
{
|
||||
|
@ -109,6 +109,18 @@ class ZebraTreeView : public Gtk::TreeView
|
|||
virtual
|
||||
~ZebraTreeView(void) throw ();
|
||||
|
||||
/**
|
||||
* Add a column to the TreeView.
|
||||
*
|
||||
* @param title the title of the column
|
||||
* @param modelColumn the model column this view will display
|
||||
* @return the number of columns after adding this one
|
||||
*/
|
||||
int
|
||||
appendColumn(const Glib::ustring& title,
|
||||
const Gtk::TreeModelColumn<Glib::ustring>& modelColumn)
|
||||
throw ();
|
||||
|
||||
/**
|
||||
* Set the callback function for every column.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue