Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_View_Imp_Gtk1Widget.cpp File Reference


Defines

#define SCROLL_DELAY_LENGTH   300
#define CP_VIEW_DEFAULT_SIZE   100

Functions

static void CP_View_GtkWidget_class_init (CP_View_GtkWidgetClass *klass)
static void CP_View_GtkWidget_init (CP_View_GtkWidget *cpView)
static void CP_View_GtkWidget_destroy (GtkObject *inObject)
static void CP_View_GtkWidget_realize (GtkWidget *inWidget)
static void CP_View_GtkWidget_size_request (GtkWidget *inWidget, GtkRequisition *requisition)
static void CP_View_GtkWidget_size_allocate (GtkWidget *inWidget, GtkAllocation *inAllocation)
static gint CP_View_GtkWidget_expose (GtkWidget *inWidget, GdkEventExpose *event)
static gint CP_View_GtkWidget_event (GtkWidget *inWidget, GdkEvent *event)
guint CP_View_GtkWidget_get_type ()
GtkWidget * CP_View_GtkWidget_new (CP_View_Imp_Gtk *inDestView)

Variables

static GtkWidgetClass * parent_class = NULL

Define Documentation

#define SCROLL_DELAY_LENGTH   300
 

#define CP_VIEW_DEFAULT_SIZE   100
 


Function Documentation

static void CP_View_GtkWidget_class_init CP_View_GtkWidgetClass inClass  )  [static]
 

Initializes the widgets class fields and methods to be called upon various events.

Parameters:
inClass The widget class structure to fill in the various fields for.
Exceptions:
none 
Returns:
void

static void CP_View_GtkWidget_init CP_View_GtkWidget inGtkView  )  [static]
 

Finish initializing the passed in widget. Currently none is needed.

Parameters:
inWidget The widget to finish initializing.
Exceptions:
none 
Returns:
void

static void CP_View_GtkWidget_destroy GtkObject *  inObject  )  [static]
 

Deallocate the passed in object.

Parameters:
inObject The object we are deallocating.
Exceptions:
none 
Returns:
void

static void CP_View_GtkWidget_realize GtkWidget *  inWidget  )  [static]
 

Called when the Gtk widget needs to allocate or create the underlying Gdk window object.

Parameters:
inWidget The widget we are allocating resources for.
Exceptions:
none 
Returns:
void

static void CP_View_GtkWidget_size_request GtkWidget *  inWidget,
GtkRequisition *  requisition
[static]
 

Called when the Gtk widget needs to determine the default size to make the underlying Gtk widget.

Parameters:
inWidget The widget we are requesting a size for.
inRequisition The requisition object to fill in the size.
Exceptions:
none 
Returns:
void

static void CP_View_GtkWidget_size_allocate GtkWidget *  inWidget,
GtkAllocation *  inAllocation
[static]
 

Resizes the underlying Gdk window to the passed in allocation request.

Parameters:
inWidget The widget we are resizing.
inRequisition The requisition object with the size information.
Exceptions:
none 
Returns:
void

static gint CP_View_GtkWidget_expose GtkWidget *  inWidget,
GdkEventExpose *  inEvent
[static]
 

Called when the underlying Gtk widget needs to be drawn. This calls the CP_View_Imp object to let the CP_View classes handle the actual drawing.

Parameters:
inWidget The Gtk widget to draw.
inEvent The Gtk event describing the area to be drawn.
Exceptions:
none 
Returns:
void

static gint CP_View_GtkWidget_event GtkWidget *  inWidget,
GdkEvent *  inEvent
[static]
 

Called when we need to handle a Gtk event. This will route the event to the CP_View_Imp event handling methods.

Parameters:
inWidget The Gtk widget to handle the event for.
inEvent The Gtk event describing the event.
Exceptions:
none 
Returns:
void

guint CP_View_GtkWidget_get_type void   ) 
 

Returns the unique type of widget for this class. If the widget has not been registered first, it is registered to get a unique type with the Gtk object system.

Exceptions:
none 
Returns:
void

GtkWidget* CP_View_GtkWidget_new CP_View_Imp_Gtk inDestView  ) 
 

Allocate a new Gtk1 widget of our class type. This is called by the various CP_View classes when they need to create a custom view implementation widget to implement a non Gtk view.

Parameters:
inDestView The CP_View_Imp class that we are providing support for.
Exceptions:
none 
Returns:
GtkWidget * The created widget.


Variable Documentation

GtkWidgetClass* parent_class = NULL [static]
 


Generated on Sat Sep 17 20:01:18 2005 for CPLAT by  doxygen 1.4.0