GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

GwindowMgr Class Reference

#include <GwindowMgr.h>

List of all members.

Public Methods

 GwindowMgr ()
 ~GwindowMgr ()
bool Add (Gwidget *parent, Gwidget *child)
void Remove (Gwidget *w)
GwidgetTreeGetWidgetTree ()
GwidgetGetParentWidget (Gwidget *w)
void Serialize (const char *filename)

Static Public Methods

GwindowMgr* GetWindowMgr ()


Detailed Description

The Window manager provide a class that manage the widget in a tree. The GTK events are captured and the correspondance between GtkWidget and Gwidget is made. Event are sending directly to the Gwidget an treated by the OnEvent Method of the Gwidget. This class is the base of GtkFC Event System
Author(s):
Thibaut Nicolas
Version:
0.1.0


Constructor & Destructor Documentation

GwindowMgr::GwindowMgr ( )
 

Construct a new Gwindow Manager. NORMALLY NOT USED BY USERS but declared public for use in Gapplication.


Member Function Documentation

bool GwindowMgr::Add ( Gwidget * parent,
Gwidget * child )
 

Add a widget in the widget tree

Parameters:
parent   the widget where child is added
child   the widget to add

Gwidget * GwindowMgr::GetParentWidget ( Gwidget * w )
 

Get the parent of a widget in the widget tree

GwidgetTree * GwindowMgr::GetWidgetTree ( )
 

Return the widget tree as a GwidgetTree

void GwindowMgr::Remove ( Gwidget * w )
 

Remove a widget from the widget tree. The widget and all is child are DESTROYED by the window manager

void GwindowMgr::Serialize ( const char * filename )
 

write the tree of the widgets in a file as text format


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