/[ghosts]/ghosts/gedcomviewer/src/MMIglade/src/WidgetPlace.hh
ViewVC logotype

Diff of /ghosts/gedcomviewer/src/MMIglade/src/WidgetPlace.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by cpcp, Tue Nov 12 21:25:22 2002 UTC revision 1.3 by cpcp, Tue Feb 11 21:09:52 2003 UTC
# Line 2  Line 2 
2  #define _WIDGET_PLACE_HH_  #define _WIDGET_PLACE_HH_
3    
4  #include <gtk--/optionmenu.h>  #include <gtk--/optionmenu.h>
5    #include <gtk--/menuitem.h>
6    #include <gtk--/entry.h>
7    
8  #include <string>  #include <string>
9    
10  class WidgetPlace : public Gtk::OptionMenu  class WidgetPlace : public Gtk::OptionMenu
11  {  {
12  public:  public:
13      WidgetPlace(void);
14    void set_text(std::string const &values);    void set_text(std::string const &values);
15    void clear(void);    void clear(void);
16      Gtk::Entry * getEntryWidget(void);
17    private:
18      class WidgetEntryPlace : public Gtk::MenuItem
19      {
20      public:
21        WidgetEntryPlace(void);
22        void set_text(std::string const &value);
23        Gtk::Entry * getEntryWidget(void);
24      private:
25        Gtk::Entry * _entry;
26      };
27      WidgetEntryPlace * _entry_place;
28      int on_Place_clicked(GdkEventFocus*);
29      std::string _value;
30  };  };
31    
32  #endif  #endif

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26