Go to the documentation of this file.00001 #ifndef INCLUDED_MEANING_H
00002 #define INCLUDED_MEANING_H
00003
00004 #include "ut_compiler.h"
00005 ABI_W_NO_CONST_QUAL
00006 #include <gtk/gtk.h>
00007 ABI_W_POP
00008 #include <vector>
00009 #include <string>
00010 using namespace std;
00011
00012 namespace AiksaurusGTK_impl
00013 {
00014 class Display;
00015 class Meaning
00016 {
00017 private:
00018 string d_title;
00019 vector<string> d_words;
00020 Display& d_display;
00021 vector<GtkWidget*> d_lists;
00022 vector<GtkListStore*> d_models;
00023
00024 GtkWidget* d_masterLayout;
00025 GtkWidget* d_mainLayout;
00026 GtkWidget* d_labelLayout;
00027 GtkWidget* d_subLayout;
00028 GtkWidget* d_label;
00029
00030 static gint _wordclick(GtkTreeSelection *sel,
00031 gpointer data) noexcept(false);
00032
00033 public:
00034
00035 Meaning(const string& title, vector<string>& words, Display& display)
00036 noexcept(false);
00037
00038 ~Meaning() noexcept(false);
00039
00040 GtkWidget* getLayout() noexcept(false);
00041
00042 void unselectListsExcept(GtkWidget* me) noexcept(false);
00043 };
00044 }
00045
00046 #endif // INCLUDED_MEANING_H