28 #ifndef STATUSCHOICE_H 29 #define STATUSCHOICE_H 32 #include <cwidget/generic/util/eassert.h> 55 statuschoice(
const std::wstring &_prompt,
const std::wstring &_choices)
56 :
widget(), prompt(_prompt), choices(_choices)
58 eassert(choices.size()>0);
63 const std::wstring &choices)
71 int height_request(
int w);
73 bool get_cursorvisible();
74 point get_cursorloc();
76 bool focus_me() {
return true;}
78 void paint(
const style &st);
80 sigc::signal1<void, int> chosen;
85 static void init_bindings();