00001 /*************************************************************************** 00002 * Copyright (C) 2007 by Rick L. Vinyard, Jr. * 00003 * rvinyard@cs.nmsu.edu * 00004 * * 00005 * This file is part of the papyrus library. * 00006 * * 00007 * papyrus is free software; you can redistribute it and/or modify * 00008 * it under the terms of the GNU Lesser General Public License * 00009 * version 3.0 as published by the Free Software Foundation. * 00010 * * 00011 * papyrus is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU Lesser General Public License version 3.0 for more details. * 00015 * * 00016 * You should have received a copy of the GNU Lesser General Public * 00017 * License along with the papyrus library. If not, see * 00018 * <http://www.gnu.org/licenses/>. * 00019 ***************************************************************************/ 00020 #ifndef PAPYRUS_GTKSCROLLEDDRAWABLETREEVIEW_H 00021 #define PAPYRUS_GTKSCROLLEDDRAWABLETREEVIEW_H 00022 00023 #include <gtkmm.h> 00024 00025 #include <papyrus-gtkmm/drawabletreeview.h> 00026 00027 namespace Papyrus 00028 { 00029 00030 namespace Gtk 00031 { 00032 00036 class ScrolledDrawableTreeView : public ::Gtk::ScrolledWindow 00037 { 00038 public: 00039 ScrolledDrawableTreeView ( Drawable::pointer d = Drawable::pointer() ); 00040 00041 ~ScrolledDrawableTreeView(); 00042 00043 DrawableTreeView& tree_view(); 00044 00045 const DrawableTreeView& tree_view() const; 00046 00047 void set_drawable ( Drawable::pointer d ); 00048 00049 protected: 00050 00051 DrawableTreeView m_tree_view; 00052 00053 }; 00054 00055 } 00056 00057 } 00058 00059 #endif