]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.h
Enable loading dropdown items from datafile
[libs/gltk.git] / source / dropdown.h
index 825b8002d2427bfd6e8f426785fb91f61020d1ea..d1a2609772fbe85047664f33a599c9c9d008d009 100644 (file)
@@ -18,6 +18,15 @@ class List;
 
 class Dropdown: public Widget
 {
+public:
+       class Loader: public Widget::Loader
+       {
+       public:
+               Loader(Dropdown &);
+       private:
+               void item(const std::string &);
+       };
+
 private:
        List *list;
        std::string text;