00001 // -*- c++ -*- 00002 //------------------------------------------------------------------------------ 00003 // ModelColumns.h 00004 //------------------------------------------------------------------------------ 00005 // $Id: ModelColumns.h,v 1.1 2003/02/07 05:15:10 vlg Exp $ 00006 //------------------------------------------------------------------------------ 00007 // Copyright (c) 2002 by Vladislav Grinchenko 00008 // 00009 // This program is free software; you can redistribute it and/or 00010 // modify it under the terms of the GNU General Public License 00011 // as published by the Free Software Foundation; either version 00012 // 2 of the License, or (at your option) any later version. 00013 //------------------------------------------------------------------------------ 00014 // Created: 00015 //------------------------------------------------------------------------------ 00016 #ifndef MODEL_COLUMNS_H 00017 #define MODEL_COLUMNS_H 00018 00019 #include <gtkmm/textview.h> 00020 00021 class ModelColumns : public Gtk::TreeModelColumnRecord 00022 { 00023 public: 00024 Gtk::TreeModelColumn<Glib::ustring> row_a; 00025 Gtk::TreeModelColumn<Glib::ustring> row_b; 00026 00027 ModelColumns () { add (row_a); add (row_b); } 00028 }; 00029 00030 #endif /* MODEL_COLUMNS_H */ 00031