// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _LIBSEXYMM_TREE_VIEW_H
#define _LIBSEXYMM_TREE_VIEW_H

#include <glibmm.h>

/**
 * @file libsexymm/tree-view.hg A treeview subclass which can display
                                tooltips for items in the tree.
 *
 * @Copyright (C) 2006 Christian Hammond.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA  02111-1307, USA.
 */

#include <gtkmm/treeview.h>
#include <libsexy/sexy-tree-view.h>


#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _SexyTreeView SexyTreeView;
typedef struct _SexyTreeViewClass SexyTreeViewClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */


namespace Sexy
{ class TreeView_Class; } // namespace Sexy
namespace Sexy
{


class TreeView
	: public Gtk::TreeView
{
	public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  typedef TreeView CppObjectType;
  typedef TreeView_Class CppClassType;
  typedef SexyTreeView BaseObjectType;
  typedef SexyTreeViewClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */

  virtual ~TreeView();

#ifndef DOXYGEN_SHOULD_SKIP_THIS

private:
  friend class TreeView_Class;
  static CppClassType treeview_class_;

  // noncopyable
  TreeView(const TreeView&);
  TreeView& operator=(const TreeView&);

protected:
  explicit TreeView(const Glib::ConstructParams& construct_params);
  explicit TreeView(SexyTreeView* castitem);

#endif /* DOXYGEN_SHOULD_SKIP_THIS */

public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
  static GType get_type()      G_GNUC_CONST;
  static GType get_base_type() G_GNUC_CONST;
#endif

  ///Provides access to the underlying C GtkObject.
  SexyTreeView*       gobj()       { return reinterpret_cast<SexyTreeView*>(gobject_); }

  ///Provides access to the underlying C GtkObject.
  const SexyTreeView* gobj() const { return reinterpret_cast<SexyTreeView*>(gobject_); }


public:
  //C++ methods used to invoke GTK+ virtual functions:

protected:
  //GTK+ Virtual Functions (override these to change behaviour):

  //Default Signal Handlers::
  virtual Gtk::Widget* on_get_tooltip(const Gtk::TreeModel::Path& path, const Gtk::TreeViewColumn& column);


private:


public:
	TreeView();

	void set_tooltip_label_column(const Gtk::TreeModelColumnBase& column);
	
  void set_tooltip_label_column(guint column);

	
  Glib::SignalProxy2< Gtk::Widget*,const Gtk::TreeModel::Path&,const Gtk::TreeViewColumn& > signal_get_tooltip();


};

} /* namespace Sexy */

// vim: syntax=cpp


namespace Glib
{
  /** @relates Sexy::TreeView
   * @param object The C instance
   * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
   * @result A C++ instance that wraps this C instance.
   */
  Sexy::TreeView* wrap(SexyTreeView* object, bool take_copy = false);
}
#endif /* _LIBSEXYMM_TREE_VIEW_H */

