Base class for interactive plotters. More...
#include <gtkwindow.hpp>
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 |
Base class for interactive plotters.
Provides all the common features for the interactive gtk based plotter windows.
GTKWindow::GTKWindow | ( | GTKPlotter * | plotter | ) | [protected] |
virtual GTKWindow::~GTKWindow | ( | ) | [virtual] |
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] |
GtkWidget* GTKWindow::_darea [protected] |
Frame GTKWindow::_frame [protected] |
GtkWidget* GTKWindow::_menu_file [protected] |
GtkWidget* GTKWindow::_menubar [protected] |
GTKPlotter* GTKWindow::_plotter [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] |