summaryrefslogtreecommitdiff
path: root/LibGUI/GWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'LibGUI/GWindow.h')
-rw-r--r--LibGUI/GWindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGUI/GWindow.h b/LibGUI/GWindow.h
index ece4b14cc3..08e79daea6 100644
--- a/LibGUI/GWindow.h
+++ b/LibGUI/GWindow.h
@@ -37,6 +37,8 @@ public:
void close();
+ GWidget* main_widget() { return m_main_widget; }
+ const GWidget* main_widget() const { return m_main_widget; }
void set_main_widget(GWidget*);
GraphicsBitmap* backing() { return m_backing.ptr(); }