test::MainWindow Class Reference

The main window of the UDS. It's the parent window of all ViewCtrls' windows. More...

#include <test_main_window.h>

Collaboration diagram for test::MainWindow:
Collaboration graph
[legend]

Data Structures

struct  SearchResultsContext
struct  TestBitmap

Public Member Functions

 MainWindow ()
 ~MainWindow ()
GtkWidget * get_main_window ()
 Retrieve Gtk widget directly. It serves as parent widget for all sub views.
 MainWindow ()
 ~MainWindow ()
GtkWidget * get_window ()
 Retrieve Gtk widget directly. It serves as parent widget for all sub views.
void show (bool show=true)
 Show window or hide the main window.

Detailed Description

The main window of the UDS. It's the parent window of all ViewCtrls' windows.

The main window.

Definition at line 68 of file test_main_window.h.


Constructor & Destructor Documentation

test::MainWindow::MainWindow (  ) 

Definition at line 36 of file test_main_window.cpp.

00037 : main_window(0)
00038 , source(this)
00039 , gc(0)
00040 , pixmap(0)
00041 , output_dev()
00042 , current_page_data(0)
00043 , search_results()
00044 {
00045     create();
00046 }

test::MainWindow::~MainWindow (  ) 

Definition at line 48 of file test_main_window.cpp.

00049 {
00050 }

test::MainWindow::MainWindow (  ) 
test::MainWindow::~MainWindow (  ) 

Member Function Documentation

GtkWidget* test::MainWindow::get_main_window (  )  [inline]

Retrieve Gtk widget directly. It serves as parent widget for all sub views.

Definition at line 76 of file test_main_window.h.

00076 { return main_window; }

GtkWidget* test::MainWindow::get_window (  )  [inline]

Retrieve Gtk widget directly. It serves as parent widget for all sub views.

Definition at line 51 of file main_window.h.

00051 { return main_window; }

void test::MainWindow::show ( bool  show = true  ) 

Show window or hide the main window.

Definition at line 124 of file main_window.cpp.

Referenced by main().

00127 {
00128     if (show)
00129     {
00130         gtk_widget_show(main_window);
00131     }
00132     else
00133     {
00134         gtk_widget_hide(main_window);

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208