GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gtk::SeparatorToolItem Class Reference

A GtkSeparatorToolItem C++ wrapper class. More...

#include <gfc/gtk/separatortoolitem.hh>

Inheritance diagram for GFC::Gtk::SeparatorToolItem:

GFC::Gtk::ToolItem GFC::Gtk::Bin GFC::Gtk::Container GFC::Gtk::Widget GFC::Gtk::Object GFC::Atk::Implementor GFC::G::Object GFC::G::TypeInterface GFC::G::TypeInstance GFC::G::TypeInstance GFC::Trackable GFC::Trackable List of all members.

Public Member Functions

Constructors
Accessors
Methods

Protected Member Functions

Constructors

Detailed Description

A GtkSeparatorToolItem C++ wrapper class.

SeparatorToolItem is a tool item that separates groups of other ToolItems. Depending on the theme, a SeparatorToolItem will often look like a vertical line on horizontally docked toolbars.

If the property 'expand' is true and the property 'draw' is false, a SeparatorToolItem will act as a "spring" that forces other items to the ends of the toolbar.


Constructor & Destructor Documentation

GFC::Gtk::SeparatorToolItem::SeparatorToolItem GtkSeparatorToolItem *  item,
bool  owns_reference = false
[explicit, protected]
 

Construct a new SeparatorToolItem from an existing GtkSeparatorToolItem.

Parameters:
item A pointer to a GtkSeparatorToolItem.
owns_reference Set false if the initial reference count is floating, set true if it's not.

The item can be a newly created GtkSeparatorToolItem or an existing SeparatorToolItem (see G::Object::Object).


Member Function Documentation

bool GFC::Gtk::SeparatorToolItem::get_draw  )  const
 

Determines whether the separator tool item is drawn as a line, or just blank (see set_draw()).

Returns:
true if the separator tool item is drawn as a line.

void GFC::Gtk::SeparatorToolItem::set_draw bool  draw  ) 
 

Sets whether the separator tool item is drawn as a vertical line, or just blank.

Parameters:
draw Whether the separator tool item is drawn as a vertical line.

Setting draw false along with Gtk::ToolItem::set_expand() is useful to create an item that forces following items to the end of the toolbar.


The documentation for this class was generated from the following file:
Generated on Tue Aug 24 00:34:42 2004 for GFC-UI by doxygen 1.3.8