13
0
livetrax/libs/gtkmm2/gtk/gtkmm/separatortoolitem.h
Carl Hetherington 61c990dfba Upgrade gtkmm to 2.10.8, glibmm to 2.13.3 and add cairomm 1.2.4
git-svn-id: svn://localhost/ardour2/trunk@2630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-12 23:44:49 +00:00

135 lines
3.8 KiB
C++

// -*- c++ -*-
// Generated by gtkmmproc -- DO NOT MODIFY!
#ifndef _GTKMM_SEPARATORTOOLITEM_H
#define _GTKMM_SEPARATORTOOLITEM_H
#include <glibmm.h>
/* $Id$ */
/* separatortoolitem.h
*
* Copyright (C) 2003 The gtkmm Development Team
*
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include <gtkmm/toolitem.h>
#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef struct _GtkSeparatorToolItem GtkSeparatorToolItem;
typedef struct _GtkSeparatorToolItemClass GtkSeparatorToolItemClass;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
namespace Gtk
{ class SeparatorToolItem_Class; } // namespace Gtk
namespace Gtk
{
/** A toolbar item that separates groups of other toolbar items.
*
* A Gtk::SeparatorToolItem is a Gtk::ToolItem that separates groups of other Gtk::ToolItems.
* Depending on the theme, it will often look like a vertical line on
* horizontally docked toolbars. If the property "expand" is <tt>true</tt> and the property "draw"
* is <tt>false</tt>, a Gtk::SeparatorToolItem will act as a "spring" that forces other items to the
* ends of the toolbar.
*
* @ingroup Widgets
*/
class SeparatorToolItem : public ToolItem
{
public:
#ifndef DOXYGEN_SHOULD_SKIP_THIS
typedef SeparatorToolItem CppObjectType;
typedef SeparatorToolItem_Class CppClassType;
typedef GtkSeparatorToolItem BaseObjectType;
typedef GtkSeparatorToolItemClass BaseClassType;
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
virtual ~SeparatorToolItem();
#ifndef DOXYGEN_SHOULD_SKIP_THIS
private:
friend class SeparatorToolItem_Class;
static CppClassType separatortoolitem_class_;
// noncopyable
SeparatorToolItem(const SeparatorToolItem&);
SeparatorToolItem& operator=(const SeparatorToolItem&);
protected:
explicit SeparatorToolItem(const Glib::ConstructParams& construct_params);
explicit SeparatorToolItem(GtkSeparatorToolItem* 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.
GtkSeparatorToolItem* gobj() { return reinterpret_cast<GtkSeparatorToolItem*>(gobject_); }
///Provides access to the underlying C GtkObject.
const GtkSeparatorToolItem* gobj() const { return reinterpret_cast<GtkSeparatorToolItem*>(gobject_); }
public:
//C++ methods used to invoke GTK+ virtual functions:
#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED
protected:
//GTK+ Virtual Functions (override these to change behaviour):
#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED
//Default Signal Handlers::
#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
private:
public:
SeparatorToolItem();
};
} // namespace Gtk
namespace Glib
{
/** @relates Gtk::SeparatorToolItem
* @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.
*/
Gtk::SeparatorToolItem* wrap(GtkSeparatorToolItem* object, bool take_copy = false);
} //namespace Glib
#endif /* _GTKMM_SEPARATORTOOLITEM_H */