reformatted the Live Mode table

This commit is contained in:
fgerlits 2005-05-06 16:23:27 +00:00
parent 125d6ceb64
commit d56c8131fd
6 changed files with 113 additions and 41 deletions

View file

@ -22,7 +22,7 @@
Author : $Author: fgerlits $
Version : $Revision: 1.10 $
Version : $Revision: 1.11 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/widgets/include/LiveSupport/Widgets/ZebraTreeView.h,v $
------------------------------------------------------------------------------*/
@ -92,7 +92,7 @@ using namespace LiveSupport::Core;
* 3) connected with a TreeModelColumn using set_renderer().
*
* @author $Author: fgerlits $
* @version $Revision: 1.10 $
* @version $Revision: 1.11 $
*/
class ZebraTreeView : public Gtk::TreeView
{
@ -158,6 +158,23 @@ class ZebraTreeView : public Gtk::TreeView
WidgetFactory::ImageButtonType buttonType,
int minimumWidth = 0)
throw ();
/**
* Add a centered text column to the TreeView.
*
* @param title the title of the column
* @param modelColumn the model column this view will display
* @param minimumWidth the minimum width of the column, in pixels
* (optional)
* @return the number of columns after adding this one
*/
int
appendCenteredColumn(
const Glib::ustring& title,
const Gtk::TreeModelColumn<Glib::ustring>& modelColumn,
int minimumWidth = 0)
throw ();
};