GTKWindow Class Reference

Base class for interactive plotters. More...

#include <gtkwindow.hpp>

Inheritance diagram for GTKWindow:
GTKFieldDiagWindow GTKGeomWindow GTKParticleDiagWindow

List of all members.

Public Member Functions

virtual ~GTKWindow ()
virtual void * build_preferences (GtkWidget *notebook)
virtual void read_preferences (GtkWidget *notebook, void *pdata)
void draw_and_expose (void)
void show (void)

Protected Member Functions

 GTKWindow (GTKPlotter *plotter)
virtual void zoom_fit (void)
virtual std::string track_text (double x, double y)
 Function which providies tracking text at (x,y).
void expose (int x, int y, int width, int height)

Protected Attributes

GTKPlotter_plotter
Frame _frame
GtkWidget * _window
GtkWidget * _darea
GtkWidget * _menubar
GtkWidget * _menu_file
GtkWidget * _toolbar
GtkWidget * _statusbar
GtkToolItem * _radioitem
double _track_px
double _track_py

Detailed Description

Base class for interactive plotters.

Provides all the common features for the interactive gtk based plotter windows.


Constructor & Destructor Documentation

GTKWindow::GTKWindow ( GTKPlotter plotter  )  [protected]
virtual GTKWindow::~GTKWindow (  )  [virtual]

Member Function Documentation

virtual void* GTKWindow::build_preferences ( GtkWidget *  notebook  )  [virtual]
void GTKWindow::draw_and_expose ( void   ) 
void GTKWindow::expose ( int  x,
int  y,
int  width,
int  height 
) [protected]
virtual void GTKWindow::read_preferences ( GtkWidget *  notebook,
void *  pdata 
) [virtual]
void GTKWindow::show ( void   ) 
virtual std::string GTKWindow::track_text ( double  x,
double  y 
) [protected, virtual]

Function which providies tracking text at (x,y).

Virtual function. Provides empty string by default but can be overwritten by implementations of GTKWindow.

virtual void GTKWindow::zoom_fit ( void   )  [protected, virtual]

Member Data Documentation

GtkWidget* GTKWindow::_darea [protected]
Frame GTKWindow::_frame [protected]
GtkWidget* GTKWindow::_menu_file [protected]
GtkWidget* GTKWindow::_menubar [protected]
GtkToolItem* GTKWindow::_radioitem [protected]
GtkWidget* GTKWindow::_statusbar [protected]
GtkWidget* GTKWindow::_toolbar [protected]
double GTKWindow::_track_px [protected]
double GTKWindow::_track_py [protected]
GtkWidget* GTKWindow::_window [protected]

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

Generated on 18 Apr 2011 for IBSimu by  doxygen 1.6.1