From 905e69b74fe6e822e0d00245e2c210e9aadb6437 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 15 Nov 2012 01:45:32 +0100 Subject: make it possible for interface classes to define a get_options() method to add an options group to the help menu --- interface-gtk.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'interface-gtk.h') diff --git a/interface-gtk.h b/interface-gtk.h index 76868fd..e6b9166 100644 --- a/interface-gtk.h +++ b/interface-gtk.h @@ -20,6 +20,11 @@ public: InterfaceGtk(); //~InterfaceGtk(); + inline GOptionGroup * + get_options(void) + { + return gtk_get_option_group(TRUE); + } inline void parse_args(int &argc, char **&argv) { -- cgit v1.2.3