X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fentry.h;h=2c9c31448cd4f2c6c3b6403297956109427b412e;hb=131ac8ff2c06f94d40f4bf98d4a6ec0d113cdffc;hp=b09ecb1f024d131161d76771d6b1a5ff7dd33059;hpb=e9455430a6e765b6184532f160f6fde4a67b4a2f;p=libs%2Fgltk.git diff --git a/source/entry.h b/source/entry.h index b09ecb1..2c9c314 100644 --- a/source/entry.h +++ b/source/entry.h @@ -11,13 +11,13 @@ class Entry: public Widget public: Entry(const Resources &, const std::string & =std::string()); void set_text(const std::string &); + const std::string &get_text() const { return text; } void key_press(unsigned, unsigned, wchar_t); void focus_in(); void focus_out(); private: std::string text; unsigned edit_pos; - bool active; const char *get_class() const { return "entry"; } void render_part(const Part &) const;