GtkFC API Reference version 0.1.0

Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Examples  

GnoteBook::GnoteBookPage Class Reference

#include <GnoteBook.h>

Inheritance diagram for GnoteBook::GnoteBookPage:

Gcontainers Gwidget Gobject List of all members.

Public Methods

 GnoteBookPage (Gstring name, Gwidget *label, Gcontainers *layout, int position, GnoteBook *parent)
 ~GnoteBookPage ()
void Add (Gwidget *w)
virtual bool Init ()
virtual void OnEvent (GdkEvent *e, void *user_data)
virtual void OnAction (Gwidget *w, GdkEvent *e)

Detailed Description

A notebook page is an internal class used to stock individual notebook pages.
Author(s):
Thibaut Nicolas
Version:
0.1.0


Constructor & Destructor Documentation

GnoteBook::GnoteBookPage::GnoteBookPage ( Gstring name,
Gwidget * label,
Gcontainers * layout,
int position,
GnoteBook * parent )
 

Build a new GnoteBook page

Parameters:
name   the name of the page correspond to the hashcode
label   the label widget (can be a container)
layout   the main container of the page
position   the position of the page $param parent the parent notebook


Member Function Documentation

void GnoteBook::GnoteBookPage::Add ( Gwidget * w ) [virtual]
 

Add a widget to the container

Reimplemented from Gcontainers.

virtual bool GnoteBook::GnoteBookPage::Init ( ) [virtual]
 

Init the widget

Reimplemented from Gwidget.

virtual void GnoteBook::GnoteBookPage::OnAction ( Gwidget * w,
GdkEvent * e ) [virtual]
 

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

Reimplemented from Gcontainers.

virtual void GnoteBook::GnoteBookPage::OnEvent ( GdkEvent * e,
void * user_data ) [virtual]
 

Action performed when an event occur

Reimplemented from Gwidget.


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