/* 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 Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, see .
*/
#include
_DEFS(gtkmm,gtk)
_PINCLUDE(gtkmm/private/toolitem_p.h)
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 true and the property "draw"
* is false, a Gtk::SeparatorToolItem will act as a "spring" that forces other items to the
* ends of the toolbar.
*
* @ingroup Widgets
*/
class GTKMM_API SeparatorToolItem : public ToolItem
{
_CLASS_GTKOBJECT(SeparatorToolItem, GtkSeparatorToolItem, GTK_SEPARATOR_TOOL_ITEM, Gtk::ToolItem, GtkToolItem, , , GTKMM_API)
public:
_CTOR_DEFAULT()
_WRAP_METHOD(bool get_draw() const, gtk_separator_tool_item_get_draw)
_WRAP_METHOD(void set_draw(bool should_draw = true), gtk_separator_tool_item_set_draw)
_WRAP_PROPERTY("draw", bool)
};
} // namespace Gtk