/*
- Copyright (C) 1999 Paul Barton-Davis
+ Copyright (C) 1999 Paul Barton-Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <gtkmm/dialog.h>
#include <sigc++/sigc++.h>
+#include "gtkmm2ext/visibility.h"
+
namespace Gtk {
class Window;
}
namespace Gtkmm2ext {
-class Prompter : public Gtk::Dialog
+class LIBGTKMM2EXT_API Prompter : public Gtk::Dialog
{
public:
Gtk::Entry& the_entry() { return entry; }
void on_entry_changed ();
+ void on_show ();
private:
Gtk::Entry entry;
Gtk::HBox entryBox;
Gtk::Label entryLabel;
-
+ bool first_show;
+ bool can_accept_from_entry;
+
void init ();
+ void entry_activated ();
};
} /* namespace */