GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

Gcontainers Class Reference

#include <Gcontainers.h>

Inheritance diagram for Gcontainers:

Gwidget Gobject GboxLayout GbuttonBox GfixedLayout GnoteBook::GnoteBookPage Gpanel Gscroll List of all members.

Public Types

enum  alignement { HORIZONTAL, VERTICAL }

Public Methods

 Gcontainers ()
virtual void Add (Gwidget *w)=0
bool IsOrdonned ()

Protected Methods

virtual void OnAction (Gwidget *w, GdkEvent *e)

Protected Attributes

bool ordonned

Detailed Description

The Gcontainers class is a base class for the containers such as GTK box_layout or vpanel. A container can Add child widgets into itself. Each windows of the application have a Gcontainer and insert widget with the Gwindow::Insert method. Theorically, users does not used directly Gcontainers method.
Author(s):
Thibaut Nicolas
Version:
0.1.0
Examples:

layout.cpp.


Member Function Documentation

void Gcontainers::Add ( Gwidget * w ) [pure virtual]
 

Add a widget to the container

Reimplemented in GfixedLayout, GboxLayout, Gpanel, Gscroll, GbuttonBox, and GnoteBook::GnoteBookPage.

Examples:
layout.cpp.

bool Gcontainers::IsOrdonned ( )
 

Return true if the container is ordonned. A container is ordonned if coordinates are used or any other system is used to determine the position of a widget in the container.

void Gcontainers::OnAction ( Gwidget * w,
GdkEvent * e ) [protected, virtual]
 

Override the Gwidget function OnAction. By default the event is sending to the parent widget of the container

Reimplemented from Gwidget.

Reimplemented in GnoteBook::GnoteBookPage.


The documentation for this class was generated from the following file:

Copyright © 2002 Thibaut Nicolas
Last modified  lun sep 23 23:41:26 EDT 2002