The main window of the UDS. It's the parent window of all ViewCtrls' windows. More...
#include <test_main_window.h>
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. |
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.
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.
test::MainWindow::MainWindow | ( | ) |
test::MainWindow::~MainWindow | ( | ) |
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.
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.
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);