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

GFC::Gtk::Bin Class Reference

A GtkBin C++ wrapper class. More...

#include <gfc/gtk/bin.hh>

Inheritance diagram for 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 GFC::Gtk::Alignment GFC::Gtk::Button GFC::Gtk::ComboBox GFC::Gtk::EventBox GFC::Gtk::Expander GFC::Gtk::Frame GFC::Gtk::HandleBox GFC::Gtk::Item GFC::Gtk::ScrolledWindow GFC::Gtk::ToolItem GFC::Gtk::Viewport GFC::Gtk::Window List of all members.

Public Member Functions

Constructors
Accessors

Protected Member Functions

Constructors

Detailed Description

A GtkBin C++ wrapper class.

The Bin widget is a container with just one child. It is not very useful itself, but it is useful for deriving subclasses, since it provides common code needed for handling a single child widget. Many widgets are subclasses of Bin, including Window, Button, Frame, HandleBox, and ScrolledWindow.


Constructor & Destructor Documentation

GFC::Gtk::Bin::Bin GtkBin *  bin,
bool  owns_reference = false
[explicit, protected]
 

Construct a new Bin from an existing GtkBin.

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

The bin can be a newly created GtkBin or an existing GtkBin. (see G::Object::Object).


Member Function Documentation

Widget* GFC::Gtk::Bin::get_child  )  const
 

Gets the child of the bin, or null if the bin contains no child widget.

Returns:
A pointer to the child of the Bin. The returned widget does not have a reference added, so you do not need to unref it.


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