13
0
livetrax/libs/gtkmm2/gtk/gtkmm/separatortoolitem.h

126 lines
3.6 KiB
C
Raw Normal View History

// -*- 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:
protected:
//GTK+ Virtual Functions (override these to change behaviour):
//Default Signal Handlers::
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);
}
#endif /* _GTKMM_SEPARATORTOOLITEM_H */