[gtkmm-documentation] Examples: Do not use virtual on all methods.



commit 005eb9876d65f988de3b56cd4b9704a0c4b06979
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon Sep 28 14:17:52 2009 +0200

    Examples: Do not use virtual on all methods.
    
    * examples/*.h: Removed unnecessary virtual keywords. I once thought
    this was a good default, but changed my mind at some point.

 ChangeLog                                          |    7 +++++
 examples/book/alignment/examplewindow.h            |    2 +-
 examples/book/box/examplewindow.h                  |    2 +-
 examples/book/builder/derived/deriveddialog.h      |    2 +-
 examples/book/buttonbox/examplewindow.h            |    2 +-
 examples/book/buttons/button/buttons.h             |    2 +-
 examples/book/buttons/checkbutton/examplewindow.h  |    2 +-
 examples/book/buttons/radiobutton/radiobuttons.h   |    2 +-
 examples/book/buttons/togglebutton/examplewindow.h |    2 +-
 examples/book/clipboard/ideal/examplewindow.h      |   12 ++++----
 examples/book/clipboard/simple/examplewindow.h     |    6 ++--
 examples/book/combo/examplewindow.h                |    2 +-
 examples/book/combobox/complex/examplewindow.h     |    2 +-
 examples/book/combobox/text/examplewindow.h        |    2 +-
 .../book/comboboxentry/complex/examplewindow.h     |    2 +-
 examples/book/comboboxentry/text/examplewindow.h   |    2 +-
 .../book/custom/custom_container/examplewindow.h   |    2 +-
 .../book/custom/custom_container/mycontainer.h     |    2 +-
 examples/book/custom/custom_widget/examplewindow.h |    2 +-
 .../dialogs/colorselectiondialog/examplewindow.h   |    2 +-
 .../book/dialogs/filechooserdialog/examplewindow.h |    4 +-
 .../book/dialogs/fileselection/examplewindow.h     |    4 +-
 .../dialogs/fontselectiondialog/examplewindow.h    |    2 +-
 .../book/dialogs/messagedialog/examplewindow.h     |    4 +-
 examples/book/dialogs/simple/examplewindow.h       |    2 +-
 examples/book/drag_and_drop/dndwindow.h            |    4 +-
 examples/book/entry/completion/examplewindow.h     |    6 ++--
 examples/book/entry/simple/examplewindow.h         |    6 ++--
 examples/book/helloworld/helloworld.h              |    2 +-
 examples/book/helloworld2/helloworld.h             |    2 +-
 examples/book/iconview/examplewindow.h             |    6 ++--
 examples/book/infobar/examplewindow.h              |    8 +++---
 examples/book/menus/main_menu/examplewindow.h      |   10 +++---
 examples/book/menus/popup/examplewindow.h          |    2 +-
 examples/book/menus_and_toolbars/examplewindow.h   |    6 ++--
 examples/book/notebook/examplewindow.h             |    4 +-
 examples/book/paned/messagetext.h                  |    2 +-
 examples/book/printing/advanced/examplewindow.h    |   18 ++++++------
 examples/book/printing/advanced/previewdialog.h    |   14 +++++-----
 .../book/printing/advanced/printformoperation.h    |    2 +-
 examples/book/printing/simple/examplewindow.h      |   18 ++++++------
 examples/book/progressbar/examplewindow.h          |    8 +++---
 examples/book/range_widgets/examplewindow.h        |   12 ++++----
 examples/book/recent_files/examplewindow.h         |    6 ++--
 examples/book/scrolledwindow/examplewindow.h       |    2 +-
 examples/book/signals/custom/client.h              |    2 +-
 examples/book/signals/custom/server.h              |    2 +-
 examples/book/spinbutton/examplewindow.h           |   10 +++---
 examples/book/table/examplewindow.h                |    4 +-
 examples/book/textview/examplewindow.h             |    8 +++---
 examples/book/toolbar/examplewindow.h              |    4 +-
 examples/book/tooltips/examplewindow.h             |    6 ++--
 .../book/treeview/combo_renderer/examplewindow.h   |    4 +-
 .../book/treeview/drag_and_drop/examplewindow.h    |    2 +-
 .../book/treeview/editable_cells/examplewindow.h   |    8 +++---
 examples/book/treeview/filter/examplewindow.h      |    2 +-
 .../book/treeview/filter_modify/examplewindow.h    |    4 +-
 examples/book/treeview/list/examplewindow.h        |    2 +-
 .../book/treeview/listviewtext/examplewindow.h     |    2 +-
 examples/book/treeview/modelsort/examplewindow.h   |    2 +-
 examples/book/treeview/popup/examplewindow.h       |    2 +-
 examples/book/treeview/popup/treeview_withpopup.h  |    2 +-
 examples/book/treeview/tree/examplewindow.h        |    4 +-
 examples/book/update_ui/examplewindow.h            |    4 +-
 examples/others/dnd/dndwindow.h                    |   28 ++++++++++----------
 examples/others/treemodelcustom/examplewindow.h    |    2 +-
 66 files changed, 162 insertions(+), 155 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ef6c285..c592cc7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-28  Murray Cumming  <murrayc murrayc com>
+
+	Examples: Do not use virtual on all methods.
+
+	* examples/*.h: Removed unnecessary virtual keywords. I once thought 
+	this was a good default, but changed my mind at some point.
+
 2009-09-22  José Alburquerque  <jaalburqu svn gnome org>
 
 	Book: Add a Gtk::InfoBar example.
diff --git a/examples/book/alignment/examplewindow.h b/examples/book/alignment/examplewindow.h
index 750d548..b84337e 100644
--- a/examples/book/alignment/examplewindow.h
+++ b/examples/book/alignment/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::Alignment m_Alignment;
diff --git a/examples/book/box/examplewindow.h b/examples/book/box/examplewindow.h
index d3981df..0debed2 100644
--- a/examples/book/box/examplewindow.h
+++ b/examples/book/box/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit_clicked();
+  void on_button_quit_clicked();
 
   //Child widgets:
   Gtk::Button m_button;
diff --git a/examples/book/builder/derived/deriveddialog.h b/examples/book/builder/derived/deriveddialog.h
index 73ae63c..8012e7d 100644
--- a/examples/book/builder/derived/deriveddialog.h
+++ b/examples/book/builder/derived/deriveddialog.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   Glib::RefPtr<Gtk::Builder> m_refGlade;
   Gtk::Button* m_pButton;
diff --git a/examples/book/buttonbox/examplewindow.h b/examples/book/buttonbox/examplewindow.h
index 396c4ef..903d050 100644
--- a/examples/book/buttonbox/examplewindow.h
+++ b/examples/book/buttonbox/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::VBox m_VBox_Main, m_VBox;
diff --git a/examples/book/buttons/button/buttons.h b/examples/book/buttons/button/buttons.h
index 6c8a16d..4b70ca4 100644
--- a/examples/book/buttons/button/buttons.h
+++ b/examples/book/buttons/button/buttons.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::Button m_button;
diff --git a/examples/book/buttons/checkbutton/examplewindow.h b/examples/book/buttons/checkbutton/examplewindow.h
index 3a8eda2..981c89a 100644
--- a/examples/book/buttons/checkbutton/examplewindow.h
+++ b/examples/book/buttons/checkbutton/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::CheckButton m_button;
diff --git a/examples/book/buttons/radiobutton/radiobuttons.h b/examples/book/buttons/radiobutton/radiobuttons.h
index 1d88cfc..51d134e 100644
--- a/examples/book/buttons/radiobutton/radiobuttons.h
+++ b/examples/book/buttons/radiobutton/radiobuttons.h
@@ -32,7 +32,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::VBox m_Box_Top, m_Box1, m_Box2;
diff --git a/examples/book/buttons/togglebutton/examplewindow.h b/examples/book/buttons/togglebutton/examplewindow.h
index e0507c7..767e031 100644
--- a/examples/book/buttons/togglebutton/examplewindow.h
+++ b/examples/book/buttons/togglebutton/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::ToggleButton m_button;
diff --git a/examples/book/clipboard/ideal/examplewindow.h b/examples/book/clipboard/ideal/examplewindow.h
index 9c8d3ed..ae3cdb6 100644
--- a/examples/book/clipboard/ideal/examplewindow.h
+++ b/examples/book/clipboard/ideal/examplewindow.h
@@ -29,14 +29,14 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_copy();
-  virtual void on_button_paste();
+  void on_button_copy();
+  void on_button_paste();
 
-  virtual void on_clipboard_get(Gtk::SelectionData& selection_data, guint info);
-  virtual void on_clipboard_clear();
+  void on_clipboard_get(Gtk::SelectionData& selection_data, guint info);
+  void on_clipboard_clear();
 
-  virtual void on_clipboard_received(const Gtk::SelectionData& selection_data);
-  virtual void on_clipboard_received_targets(const Glib::StringArrayHandle& targets_array);
+  void on_clipboard_received(const Gtk::SelectionData& selection_data);
+  void on_clipboard_received_targets(const Glib::StringArrayHandle& targets_array);
    
   virtual void update_paste_status(); //Disable the paste button if there is nothing to paste.
 
diff --git a/examples/book/clipboard/simple/examplewindow.h b/examples/book/clipboard/simple/examplewindow.h
index d8d5a1c..75f6feb 100644
--- a/examples/book/clipboard/simple/examplewindow.h
+++ b/examples/book/clipboard/simple/examplewindow.h
@@ -29,9 +29,9 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_copy();
-  virtual void on_button_paste();
-  virtual void on_clipboard_text_received(const Glib::ustring& text);
+  void on_button_copy();
+  void on_button_paste();
+  void on_clipboard_text_received(const Glib::ustring& text);
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/combo/examplewindow.h b/examples/book/combo/examplewindow.h
index a71abef..ae88d0d 100644
--- a/examples/book/combo/examplewindow.h
+++ b/examples/book/combo/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_combo_changed();
+  void on_combo_changed();
 
   //Child widgets:
   Gtk::Combo m_Combo;
diff --git a/examples/book/combobox/complex/examplewindow.h b/examples/book/combobox/complex/examplewindow.h
index a680dcf..2c0cf4b 100644
--- a/examples/book/combobox/complex/examplewindow.h
+++ b/examples/book/combobox/complex/examplewindow.h
@@ -31,7 +31,7 @@ public:
 
 protected:  
   //Signal handlers:
-  virtual void on_combo_changed();
+  void on_combo_changed();
 
   //Tree model columns:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/combobox/text/examplewindow.h b/examples/book/combobox/text/examplewindow.h
index 9e0f237..b7b6f19 100644
--- a/examples/book/combobox/text/examplewindow.h
+++ b/examples/book/combobox/text/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_combo_changed();
+  void on_combo_changed();
 
   //Child widgets:
   Gtk::ComboBoxText m_Combo;
diff --git a/examples/book/comboboxentry/complex/examplewindow.h b/examples/book/comboboxentry/complex/examplewindow.h
index bcd4e2d..d8af68f 100644
--- a/examples/book/comboboxentry/complex/examplewindow.h
+++ b/examples/book/comboboxentry/complex/examplewindow.h
@@ -31,7 +31,7 @@ public:
 
 protected:  
   //Signal handlers:
-  virtual void on_combo_changed();
+  void on_combo_changed();
 
   //Tree model columns:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/comboboxentry/text/examplewindow.h b/examples/book/comboboxentry/text/examplewindow.h
index 12778f1..ff13a25 100644
--- a/examples/book/comboboxentry/text/examplewindow.h
+++ b/examples/book/comboboxentry/text/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_combo_changed();
+  void on_combo_changed();
 
   //Child widgets:
   Gtk::ComboBoxEntryText m_Combo;
diff --git a/examples/book/custom/custom_container/examplewindow.h b/examples/book/custom/custom_container/examplewindow.h
index 23fd503..fa9d8c9 100644
--- a/examples/book/custom/custom_container/examplewindow.h
+++ b/examples/book/custom/custom_container/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/custom/custom_container/mycontainer.h b/examples/book/custom/custom_container/mycontainer.h
index fe5f0af..a80c18a 100644
--- a/examples/book/custom/custom_container/mycontainer.h
+++ b/examples/book/custom/custom_container/mycontainer.h
@@ -27,7 +27,7 @@ public:
   MyContainer();
   virtual ~MyContainer();
 
-  virtual void set_child_widgets(Gtk::Widget& child_one, Gtk::Widget& child_two);
+  void set_child_widgets(Gtk::Widget& child_one, Gtk::Widget& child_two);
 
 protected:
 
diff --git a/examples/book/custom/custom_widget/examplewindow.h b/examples/book/custom/custom_widget/examplewindow.h
index 6b14db0..5e231a2 100644
--- a/examples/book/custom/custom_widget/examplewindow.h
+++ b/examples/book/custom/custom_widget/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/dialogs/colorselectiondialog/examplewindow.h b/examples/book/dialogs/colorselectiondialog/examplewindow.h
index fc335d1..ecc8806 100644
--- a/examples/book/dialogs/colorselectiondialog/examplewindow.h
+++ b/examples/book/dialogs/colorselectiondialog/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_color_set();
+  void on_button_color_set();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/dialogs/filechooserdialog/examplewindow.h b/examples/book/dialogs/filechooserdialog/examplewindow.h
index e24e85d..b136587 100644
--- a/examples/book/dialogs/filechooserdialog/examplewindow.h
+++ b/examples/book/dialogs/filechooserdialog/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_file_clicked();
-  virtual void on_button_folder_clicked();
+  void on_button_file_clicked();
+  void on_button_folder_clicked();
 
   //Child widgets:
   Gtk::VButtonBox m_ButtonBox;
diff --git a/examples/book/dialogs/fileselection/examplewindow.h b/examples/book/dialogs/fileselection/examplewindow.h
index e24e85d..b136587 100644
--- a/examples/book/dialogs/fileselection/examplewindow.h
+++ b/examples/book/dialogs/fileselection/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_file_clicked();
-  virtual void on_button_folder_clicked();
+  void on_button_file_clicked();
+  void on_button_folder_clicked();
 
   //Child widgets:
   Gtk::VButtonBox m_ButtonBox;
diff --git a/examples/book/dialogs/fontselectiondialog/examplewindow.h b/examples/book/dialogs/fontselectiondialog/examplewindow.h
index f5eda77..cb4569b 100644
--- a/examples/book/dialogs/fontselectiondialog/examplewindow.h
+++ b/examples/book/dialogs/fontselectiondialog/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_font_set();
+  void on_button_font_set();
 
   //Child widgets:
   Gtk::FontButton m_Button;
diff --git a/examples/book/dialogs/messagedialog/examplewindow.h b/examples/book/dialogs/messagedialog/examplewindow.h
index a766bad..66416c8 100644
--- a/examples/book/dialogs/messagedialog/examplewindow.h
+++ b/examples/book/dialogs/messagedialog/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_info_clicked();
-  virtual void on_button_question_clicked();
+  void on_button_info_clicked();
+  void on_button_question_clicked();
 
   //Child widgets:
   Gtk::VButtonBox m_ButtonBox;
diff --git a/examples/book/dialogs/simple/examplewindow.h b/examples/book/dialogs/simple/examplewindow.h
index a7e2644..d0e63e3 100644
--- a/examples/book/dialogs/simple/examplewindow.h
+++ b/examples/book/dialogs/simple/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Child widgets:
   Gtk::Button m_Button;
diff --git a/examples/book/drag_and_drop/dndwindow.h b/examples/book/drag_and_drop/dndwindow.h
index d56256f..8ad318e 100644
--- a/examples/book/drag_and_drop/dndwindow.h
+++ b/examples/book/drag_and_drop/dndwindow.h
@@ -33,10 +33,10 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_drag_data_get(
+  void on_button_drag_data_get(
           const Glib::RefPtr<Gdk::DragContext>& context,
           Gtk::SelectionData& selection_data, guint info, guint time);
-  virtual void on_label_drop_drag_data_received(
+  void on_label_drop_drag_data_received(
           const Glib::RefPtr<Gdk::DragContext>& context, int x, int y,
           const Gtk::SelectionData& selection_data, guint info, guint time);
 
diff --git a/examples/book/entry/completion/examplewindow.h b/examples/book/entry/completion/examplewindow.h
index 6cef73a..4d39722 100644
--- a/examples/book/entry/completion/examplewindow.h
+++ b/examples/book/entry/completion/examplewindow.h
@@ -29,12 +29,12 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_close();
+  void on_button_close();
 
-  virtual void on_completion_action_activated(int index);
+  void on_completion_action_activated(int index);
 
   //See the comment in the implementation:
-  //virtual bool on_completion_match(const Glib::ustring& key, const Gtk::TreeModel::const_iterator& iter);
+  //bool on_completion_match(const Glib::ustring& key, const Gtk::TreeModel::const_iterator& iter);
 
 
   //Tree model columns, for the EntryCompletion's filter model:
diff --git a/examples/book/entry/simple/examplewindow.h b/examples/book/entry/simple/examplewindow.h
index 079ead0..015e903 100644
--- a/examples/book/entry/simple/examplewindow.h
+++ b/examples/book/entry/simple/examplewindow.h
@@ -29,9 +29,9 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_checkbox_editable_toggled();
-  virtual void on_checkbox_visibility_toggled();
-  virtual void on_button_close();
+  void on_checkbox_editable_toggled();
+  void on_checkbox_visibility_toggled();
+  void on_button_close();
 
   //Child widgets:
   Gtk::HBox m_HBox;
diff --git a/examples/book/helloworld/helloworld.h b/examples/book/helloworld/helloworld.h
index 167bbb9..8fb825e 100644
--- a/examples/book/helloworld/helloworld.h
+++ b/examples/book/helloworld/helloworld.h
@@ -31,7 +31,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_clicked();
+  void on_button_clicked();
 
   //Member widgets:
   Gtk::Button m_button;
diff --git a/examples/book/helloworld2/helloworld.h b/examples/book/helloworld2/helloworld.h
index af62c55..0cc221d 100644
--- a/examples/book/helloworld2/helloworld.h
+++ b/examples/book/helloworld2/helloworld.h
@@ -33,7 +33,7 @@ protected:
 
   // Signal handlers:
   // Our new improved on_button_clicked(). (see below)
-  virtual void on_button_clicked(Glib::ustring data);
+  void on_button_clicked(Glib::ustring data);
 
   // Child widgets:
   Gtk::HBox m_box1;
diff --git a/examples/book/iconview/examplewindow.h b/examples/book/iconview/examplewindow.h
index 2c19e2d..19eef1e 100644
--- a/examples/book/iconview/examplewindow.h
+++ b/examples/book/iconview/examplewindow.h
@@ -31,9 +31,9 @@ public:
 protected:
   // Signal handlers:
   //
-  virtual void on_button_quit();
-  virtual void on_item_activated(const Gtk::TreeModel::Path& path);
-  virtual void on_selection_changed();
+  void on_button_quit();
+  void on_item_activated(const Gtk::TreeModel::Path& path);
+  void on_selection_changed();
 
   void add_entry(const std::string& filename, const Glib::ustring& description);
 
diff --git a/examples/book/infobar/examplewindow.h b/examples/book/infobar/examplewindow.h
index e48c537..ffb3aa2 100644
--- a/examples/book/infobar/examplewindow.h
+++ b/examples/book/infobar/examplewindow.h
@@ -27,10 +27,10 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
-  virtual void on_button_clear();
-  virtual void on_textbuffer_changed();
-  virtual void on_infobar_response(int response);
+  void on_button_quit();
+  void on_button_clear();
+  void on_textbuffer_changed();
+  void on_infobar_response(int response);
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/menus/main_menu/examplewindow.h b/examples/book/menus/main_menu/examplewindow.h
index df0a051..b1569d5 100644
--- a/examples/book/menus/main_menu/examplewindow.h
+++ b/examples/book/menus/main_menu/examplewindow.h
@@ -29,12 +29,12 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_menu_file_new_generic();
-  virtual void on_menu_file_quit();
-  virtual void on_menu_others();
+  void on_menu_file_new_generic();
+  void on_menu_file_quit();
+  void on_menu_others();
 
-  virtual void on_menu_choices_one();
-  virtual void on_menu_choices_two();
+  void on_menu_choices_one();
+  void on_menu_choices_two();
 
   //Child widgets:
   Gtk::VBox m_Box;
diff --git a/examples/book/menus/popup/examplewindow.h b/examples/book/menus/popup/examplewindow.h
index 8edb5d9..7683061 100644
--- a/examples/book/menus/popup/examplewindow.h
+++ b/examples/book/menus/popup/examplewindow.h
@@ -30,7 +30,7 @@ public:
 protected:
   //Signal handlers:
   virtual bool on_button_press_event(GdkEventButton* event);
-  virtual void on_menu_file_popup_generic();
+  void on_menu_file_popup_generic();
 
   //Child widgets:
   Gtk::VBox m_Box;
diff --git a/examples/book/menus_and_toolbars/examplewindow.h b/examples/book/menus_and_toolbars/examplewindow.h
index 8aa054f..fd1fc67 100644
--- a/examples/book/menus_and_toolbars/examplewindow.h
+++ b/examples/book/menus_and_toolbars/examplewindow.h
@@ -34,9 +34,9 @@ protected:
                       const Glib::ustring& id, const Glib::ustring& label);
 
   //Signal handlers:
-  virtual void on_action_file_new();
-  virtual void on_action_file_quit();
-  virtual void on_action_others();
+  void on_action_file_new();
+  void on_action_file_quit();
+  void on_action_others();
 
   //Child widgets:
   Gtk::VBox m_Box;
diff --git a/examples/book/notebook/examplewindow.h b/examples/book/notebook/examplewindow.h
index e663397..0d5359f 100644
--- a/examples/book/notebook/examplewindow.h
+++ b/examples/book/notebook/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
-  virtual void on_notebook_switch_page(GtkNotebookPage* page, guint page_num);
+  void on_button_quit();
+  void on_notebook_switch_page(GtkNotebookPage* page, guint page_num);
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/paned/messagetext.h b/examples/book/paned/messagetext.h
index d445d5c..1882c9e 100644
--- a/examples/book/paned/messagetext.h
+++ b/examples/book/paned/messagetext.h
@@ -27,7 +27,7 @@ public:
   MessageText();
   virtual ~MessageText();
 
-  virtual void insert_text();
+  void insert_text();
 
 protected:
   Gtk::TextView m_TextView;
diff --git a/examples/book/printing/advanced/examplewindow.h b/examples/book/printing/advanced/examplewindow.h
index 16c6d5b..af81514 100644
--- a/examples/book/printing/advanced/examplewindow.h
+++ b/examples/book/printing/advanced/examplewindow.h
@@ -33,23 +33,23 @@ public:
 
 protected:
 
-  virtual void build_main_menu();
+  void build_main_menu();
 
-  virtual void print_or_preview(Gtk::PrintOperationAction print_action);
+  void print_or_preview(Gtk::PrintOperationAction print_action);
 
   //PrintOperation signal handlers.
   //We handle these so can get necessary information to update the UI or print settings.
   //Our derived PrintOperation class also overrides some default signal handlers.
-  virtual void on_printoperation_status_changed(Glib::RefPtr<PrintFormOperation>* operation);
+  void on_printoperation_status_changed(Glib::RefPtr<PrintFormOperation>* operation);
 
-  virtual void on_printoperation_done(Gtk::PrintOperationResult result, Glib::RefPtr<PrintFormOperation>* operation);
+  void on_printoperation_done(Gtk::PrintOperationResult result, Glib::RefPtr<PrintFormOperation>* operation);
   
   //Action signal handlers:
-  virtual void on_menu_file_new();
-  virtual void on_menu_file_page_setup();
-  virtual void on_menu_file_print_preview();
-  virtual void on_menu_file_print();
-  virtual void on_menu_file_quit();
+  void on_menu_file_new();
+  void on_menu_file_page_setup();
+  void on_menu_file_print_preview();
+  void on_menu_file_print();
+  void on_menu_file_quit();
 
   //Printing-related objects:
   Glib::RefPtr<Gtk::PageSetup> m_refPageSetup;
diff --git a/examples/book/printing/advanced/previewdialog.h b/examples/book/printing/advanced/previewdialog.h
index c86eb63..434d100 100644
--- a/examples/book/printing/advanced/previewdialog.h
+++ b/examples/book/printing/advanced/previewdialog.h
@@ -23,23 +23,23 @@ class PrintFormOperation;
 
 class PreviewDialog : public Gtk::Window
 {
- public:
+public:
   explicit PreviewDialog(PrintFormOperation* pfo, const Glib::RefPtr<Gtk::PrintOperationPreview>& preview, const Glib::RefPtr<Gtk::PrintContext>& context, Gtk::Window& parent);
   ~PreviewDialog();
 
- protected:
+protected:
 
-  virtual void on_drawing_area_realized();
+  void on_drawing_area_realized();
 
-  virtual void on_page_number_changed();
-  virtual void on_close_clicked();
+  void on_page_number_changed();
+  void on_close_clicked();
   virtual void on_hide();
 
   virtual bool on_drawing_area_expose_event(GdkEventExpose* event);
 
   //PrintOperationPreview signal handlers:
-  virtual void on_popreview_ready(const Glib::RefPtr<Gtk::PrintContext>& print_ctx);
-  virtual void on_popreview_got_page_size(const Glib::RefPtr<Gtk::PrintContext>& context, const Glib::RefPtr<Gtk::PageSetup>& page_setup);
+  void on_popreview_ready(const Glib::RefPtr<Gtk::PrintContext>& print_ctx);
+  void on_popreview_got_page_size(const Glib::RefPtr<Gtk::PrintContext>& context, const Glib::RefPtr<Gtk::PageSetup>& page_setup);
 
   PrintFormOperation* m_pOperation;
 
diff --git a/examples/book/printing/advanced/printformoperation.h b/examples/book/printing/advanced/printformoperation.h
index 0619a52..94dc6a3 100644
--- a/examples/book/printing/advanced/printformoperation.h
+++ b/examples/book/printing/advanced/printformoperation.h
@@ -49,7 +49,7 @@ class PrintFormOperation : public Gtk::PrintOperation
 
   virtual bool on_preview(const Glib::RefPtr<Gtk::PrintOperationPreview>& preview, const Glib::RefPtr<Gtk::PrintContext>& context, Gtk::Window* parent);
 
-  virtual void on_preview_window_hide();
+  void on_preview_window_hide();
 
   PreviewDialog* m_pDialog;
 
diff --git a/examples/book/printing/simple/examplewindow.h b/examples/book/printing/simple/examplewindow.h
index 95cf302..83626b3 100644
--- a/examples/book/printing/simple/examplewindow.h
+++ b/examples/book/printing/simple/examplewindow.h
@@ -33,23 +33,23 @@ public:
 
 protected:
 
-  virtual void build_main_menu();
+  void build_main_menu();
 
-  virtual void print_or_preview(Gtk::PrintOperationAction print_action);
+  void print_or_preview(Gtk::PrintOperationAction print_action);
 
   //PrintOperation signal handlers.
   //We handle these so can get necessary information to update the UI or print settings.
   //Our derived PrintOperation class also overrides some default signal handlers.
-  virtual void on_printoperation_status_changed(const Glib::RefPtr<PrintFormOperation>& operation);
+  void on_printoperation_status_changed(const Glib::RefPtr<PrintFormOperation>& operation);
 
-  virtual void on_printoperation_done(Gtk::PrintOperationResult result, const Glib::RefPtr<PrintFormOperation>& operation);
+  void on_printoperation_done(Gtk::PrintOperationResult result, const Glib::RefPtr<PrintFormOperation>& operation);
 
   //Action signal handlers:
-  virtual void on_menu_file_new();
-  virtual void on_menu_file_page_setup();
-  virtual void on_menu_file_print_preview();
-  virtual void on_menu_file_print();
-  virtual void on_menu_file_quit();
+  void on_menu_file_new();
+  void on_menu_file_page_setup();
+  void on_menu_file_print_preview();
+  void on_menu_file_print();
+  void on_menu_file_quit();
 
   //Printing-related objects:
   Glib::RefPtr<Gtk::PageSetup> m_refPageSetup;
diff --git a/examples/book/progressbar/examplewindow.h b/examples/book/progressbar/examplewindow.h
index 0f1f879..c12aa7d 100644
--- a/examples/book/progressbar/examplewindow.h
+++ b/examples/book/progressbar/examplewindow.h
@@ -29,11 +29,11 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_checkbutton_text();
-  virtual void on_checkbutton_activity();
-  virtual void on_checkbutton_orientation();
+  void on_checkbutton_text();
+  void on_checkbutton_activity();
+  void on_checkbutton_orientation();
   virtual bool on_timeout();
-  virtual void on_button_close();
+  void on_button_close();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/range_widgets/examplewindow.h b/examples/book/range_widgets/examplewindow.h
index 2d5226a..b00ee63 100644
--- a/examples/book/range_widgets/examplewindow.h
+++ b/examples/book/range_widgets/examplewindow.h
@@ -29,12 +29,12 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_checkbutton_toggled();
-  virtual void on_menu_position(Gtk::PositionType type);
-  virtual void on_menu_policy(Gtk::UpdateType type);
-  virtual void on_adjustment1_value_changed();
-  virtual void on_adjustment2_value_changed();
-  virtual void on_button_quit();
+  void on_checkbutton_toggled();
+  void on_menu_position(Gtk::PositionType type);
+  void on_menu_policy(Gtk::UpdateType type);
+  void on_adjustment1_value_changed();
+  void on_adjustment2_value_changed();
+  void on_button_quit();
 
   //Child widgets:
   Gtk::VBox m_VBox_Top, m_VBox2, m_VBox_HScale;
diff --git a/examples/book/recent_files/examplewindow.h b/examples/book/recent_files/examplewindow.h
index d768925..de852d2 100644
--- a/examples/book/recent_files/examplewindow.h
+++ b/examples/book/recent_files/examplewindow.h
@@ -29,9 +29,9 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_menu_file_recent_files_dialog();
-  virtual void on_menu_file_quit();
-  virtual void on_menu_file_new();
+  void on_menu_file_recent_files_dialog();
+  void on_menu_file_quit();
+  void on_menu_file_new();
 
   //Child widgets:
   Gtk::VBox m_Box;
diff --git a/examples/book/scrolledwindow/examplewindow.h b/examples/book/scrolledwindow/examplewindow.h
index 6d35c78..eb1d699 100644
--- a/examples/book/scrolledwindow/examplewindow.h
+++ b/examples/book/scrolledwindow/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_close();
+  void on_button_close();
 
   //Child widgets:
   Gtk::ScrolledWindow m_ScrolledWindow;
diff --git a/examples/book/signals/custom/client.h b/examples/book/signals/custom/client.h
index d1fc63f..89b27f3 100644
--- a/examples/book/signals/custom/client.h
+++ b/examples/book/signals/custom/client.h
@@ -30,7 +30,7 @@ public:
   virtual ~Client();
 
   //Signal handler:
-  virtual void on_server_something(bool a, int b);
+  void on_server_something(bool a, int b);
 };
 
 #endif //GTKMM_EXAMPLE_CLIENT_H
diff --git a/examples/book/signals/custom/server.h b/examples/book/signals/custom/server.h
index e27418a..b29340e 100644
--- a/examples/book/signals/custom/server.h
+++ b/examples/book/signals/custom/server.h
@@ -27,7 +27,7 @@ public:
   Server();
   virtual ~Server();
 
-  virtual void do_something();
+  void do_something();
 
   //signal accessor:
   typedef sigc::signal<void, bool, int> type_signal_something;
diff --git a/examples/book/spinbutton/examplewindow.h b/examples/book/spinbutton/examplewindow.h
index 547c37c..23b6949 100644
--- a/examples/book/spinbutton/examplewindow.h
+++ b/examples/book/spinbutton/examplewindow.h
@@ -29,17 +29,17 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_checkbutton_snap();
-  virtual void on_checkbutton_numeric();
-  virtual void on_spinbutton_digits_changed();
-  virtual void on_button_close();
+  void on_checkbutton_snap();
+  void on_checkbutton_numeric();
+  void on_spinbutton_digits_changed();
+  void on_button_close();
 
   enum enumValueFormats
   {
     VALUE_FORMAT_INT,
     VALUE_FORMAT_FLOAT
   };
-  virtual void on_button_getvalue(enumValueFormats display);
+  void on_button_getvalue(enumValueFormats display);
 
   //Child widgets:
   Gtk::Frame m_Frame_NotAccelerated, m_Frame_Accelerated;
diff --git a/examples/book/table/examplewindow.h b/examples/book/table/examplewindow.h
index 926266c..99cf405 100644
--- a/examples/book/table/examplewindow.h
+++ b/examples/book/table/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
-  virtual void on_button_numbered(Glib::ustring data);
+  void on_button_quit();
+  void on_button_numbered(Glib::ustring data);
 
   //Child widgets:
   Gtk::Table m_Table;
diff --git a/examples/book/textview/examplewindow.h b/examples/book/textview/examplewindow.h
index 85323a7..19896af 100644
--- a/examples/book/textview/examplewindow.h
+++ b/examples/book/textview/examplewindow.h
@@ -29,12 +29,12 @@ public:
 
 protected:
 
-  virtual void fill_buffers();
+  void fill_buffers();
   
   //Signal handlers:
-  virtual void on_button_quit();
-  virtual void on_button_buffer1();
-  virtual void on_button_buffer2();
+  void on_button_quit();
+  void on_button_buffer1();
+  void on_button_buffer2();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/toolbar/examplewindow.h b/examples/book/toolbar/examplewindow.h
index 66f6d1b..46df3f8 100644
--- a/examples/book/toolbar/examplewindow.h
+++ b/examples/book/toolbar/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_close();
-  virtual void on_toolbar_item();
+  void on_button_close();
+  void on_toolbar_item();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/tooltips/examplewindow.h b/examples/book/tooltips/examplewindow.h
index a576fd7..30289b4 100644
--- a/examples/book/tooltips/examplewindow.h
+++ b/examples/book/tooltips/examplewindow.h
@@ -35,9 +35,9 @@ protected:
   void connect_signals();
 
   //Signal handlers:
-  virtual void on_markup_checkbutton_click();
-  virtual bool on_textview_query_tooltip(int x, int y, bool keyboard_tooltip, const Glib::RefPtr<Gtk::Tooltip>& tooltip);
-  virtual bool on_button_query_tooltip(int x, int y, bool keyboard_tooltip, const Glib::RefPtr<Gtk::Tooltip>& tooltip);
+  void on_markup_checkbutton_click();
+  bool on_textview_query_tooltip(int x, int y, bool keyboard_tooltip, const Glib::RefPtr<Gtk::Tooltip>& tooltip);
+  bool on_button_query_tooltip(int x, int y, bool keyboard_tooltip, const Glib::RefPtr<Gtk::Tooltip>& tooltip);
 
   //Child widgets:
   Gtk::VBox m_vbox;
diff --git a/examples/book/treeview/combo_renderer/examplewindow.h b/examples/book/treeview/combo_renderer/examplewindow.h
index 1f74a2b..c783535 100644
--- a/examples/book/treeview/combo_renderer/examplewindow.h
+++ b/examples/book/treeview/combo_renderer/examplewindow.h
@@ -29,9 +29,9 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
-  virtual void on_cellrenderer_choice_edited(const Glib::ustring& path_string, const Glib::ustring& new_text);
+  void on_cellrenderer_choice_edited(const Glib::ustring& path_string, const Glib::ustring& new_text);
  
   //Tree model columns for the TreeView:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/treeview/drag_and_drop/examplewindow.h b/examples/book/treeview/drag_and_drop/examplewindow.h
index 367d796..0413121 100644
--- a/examples/book/treeview/drag_and_drop/examplewindow.h
+++ b/examples/book/treeview/drag_and_drop/examplewindow.h
@@ -31,7 +31,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
 
   //Child widgets:
diff --git a/examples/book/treeview/editable_cells/examplewindow.h b/examples/book/treeview/editable_cells/examplewindow.h
index 58a06a0..00452f3 100644
--- a/examples/book/treeview/editable_cells/examplewindow.h
+++ b/examples/book/treeview/editable_cells/examplewindow.h
@@ -29,11 +29,11 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
-  virtual void treeviewcolumn_validated_on_cell_data(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
-  virtual void cellrenderer_validated_on_editing_started(Gtk::CellEditable* cell_editable, const Glib::ustring& path);
-  virtual void cellrenderer_validated_on_edited(const Glib::ustring& path_string, const Glib::ustring& new_text);
+  void treeviewcolumn_validated_on_cell_data(Gtk::CellRenderer* renderer, const Gtk::TreeModel::iterator& iter);
+  void cellrenderer_validated_on_editing_started(Gtk::CellEditable* cell_editable, const Glib::ustring& path);
+  void cellrenderer_validated_on_edited(const Glib::ustring& path_string, const Glib::ustring& new_text);
 
   //Tree model columns:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/treeview/filter/examplewindow.h b/examples/book/treeview/filter/examplewindow.h
index c59eaa5..35bef30 100644
--- a/examples/book/treeview/filter/examplewindow.h
+++ b/examples/book/treeview/filter/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   virtual bool on_filter_row_visible(const Gtk::TreeModel::const_iterator& iter);
 
diff --git a/examples/book/treeview/filter_modify/examplewindow.h b/examples/book/treeview/filter_modify/examplewindow.h
index 3dfc7c2..df9eb97 100644
--- a/examples/book/treeview/filter_modify/examplewindow.h
+++ b/examples/book/treeview/filter_modify/examplewindow.h
@@ -29,9 +29,9 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
-  virtual void on_filter_modify(const Gtk::TreeModel::iterator& iter, Glib::ValueBase& value, int column);
+  void on_filter_modify(const Gtk::TreeModel::iterator& iter, Glib::ValueBase& value, int column);
 
   //Tree model columns:
   //These are the types of the columns in the child model:
diff --git a/examples/book/treeview/list/examplewindow.h b/examples/book/treeview/list/examplewindow.h
index 6c32565..839cd85 100644
--- a/examples/book/treeview/list/examplewindow.h
+++ b/examples/book/treeview/list/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   //Tree model columns:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/treeview/listviewtext/examplewindow.h b/examples/book/treeview/listviewtext/examplewindow.h
index 3eec1be..b4be55d 100644
--- a/examples/book/treeview/listviewtext/examplewindow.h
+++ b/examples/book/treeview/listviewtext/examplewindow.h
@@ -34,7 +34,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   //Child widgets:
   Gtk::VBox m_VBox;
diff --git a/examples/book/treeview/modelsort/examplewindow.h b/examples/book/treeview/modelsort/examplewindow.h
index 5afd95d..d622228 100644
--- a/examples/book/treeview/modelsort/examplewindow.h
+++ b/examples/book/treeview/modelsort/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   //Tree model columns:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/treeview/popup/examplewindow.h b/examples/book/treeview/popup/examplewindow.h
index fc931ab..346cc8f 100644
--- a/examples/book/treeview/popup/examplewindow.h
+++ b/examples/book/treeview/popup/examplewindow.h
@@ -30,7 +30,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
  
 
diff --git a/examples/book/treeview/popup/treeview_withpopup.h b/examples/book/treeview/popup/treeview_withpopup.h
index d573939..3ae64df 100644
--- a/examples/book/treeview/popup/treeview_withpopup.h
+++ b/examples/book/treeview/popup/treeview_withpopup.h
@@ -33,7 +33,7 @@ protected:
   virtual bool on_button_press_event(GdkEventButton *ev);
 
   //Signal handler for popup menu items:
-  virtual void on_menu_file_popup_generic();
+  void on_menu_file_popup_generic();
 
   
   //Tree model columns:
diff --git a/examples/book/treeview/tree/examplewindow.h b/examples/book/treeview/tree/examplewindow.h
index a7473a7..11aaded 100644
--- a/examples/book/treeview/tree/examplewindow.h
+++ b/examples/book/treeview/tree/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
-  virtual void on_treeview_row_activated(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
+  void on_button_quit();
+  void on_treeview_row_activated(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
    
   //Tree model columns:
   class ModelColumns : public Gtk::TreeModel::ColumnRecord
diff --git a/examples/book/update_ui/examplewindow.h b/examples/book/update_ui/examplewindow.h
index 9ffc09b..ef7d877 100644
--- a/examples/book/update_ui/examplewindow.h
+++ b/examples/book/update_ui/examplewindow.h
@@ -29,8 +29,8 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_start();
-  virtual void on_button_quit();
+  void on_button_start();
+  void on_button_quit();
 
 
   //Child widgets:
diff --git a/examples/others/dnd/dndwindow.h b/examples/others/dnd/dndwindow.h
index 92b318a..7d9d26e 100644
--- a/examples/others/dnd/dndwindow.h
+++ b/examples/others/dnd/dndwindow.h
@@ -34,26 +34,26 @@ public:
   virtual ~DnDWindow();
 
 protected:
-  virtual void create_popup();
+  void create_popup();
 
   //Signal handlers:
-  virtual void on_label_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time);
-  virtual bool on_label_popup_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
-  virtual void on_label_popup_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
+  void on_label_drop_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time);
+  bool on_label_popup_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
+  void on_label_popup_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
 
-  virtual void on_image_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time);
-  virtual bool on_image_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
-  virtual void on_image_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
-  virtual bool on_image_drag_drop(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
+  void on_image_drag_data_received(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, const Gtk::SelectionData& selection_data, guint info, guint time);
+  bool on_image_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
+  void on_image_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
+  bool on_image_drag_drop(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);
 
-  virtual void on_button_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, Gtk::SelectionData& selection_data, guint info, guint time);
-  virtual void on_button_drag_data_delete(const Glib::RefPtr<Gdk::DragContext>& context);
+  void on_button_drag_data_get(const Glib::RefPtr<Gdk::DragContext>& context, Gtk::SelectionData& selection_data, guint info, guint time);
+  void on_button_drag_data_delete(const Glib::RefPtr<Gdk::DragContext>& context);
 
-  virtual bool on_popdown_timeout();
-  virtual bool on_popup_timeout();
+  bool on_popdown_timeout();
+  bool on_popup_timeout();
 
-  virtual bool on_popup_button_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);		
-  virtual void on_popup_button_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
+  bool on_popup_button_drag_motion(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time);		
+  void on_popup_button_drag_leave(const Glib::RefPtr<Gdk::DragContext>& context, guint time);
 
 
   //Member widgets:
diff --git a/examples/others/treemodelcustom/examplewindow.h b/examples/others/treemodelcustom/examplewindow.h
index 42aadd1..0853617 100644
--- a/examples/others/treemodelcustom/examplewindow.h
+++ b/examples/others/treemodelcustom/examplewindow.h
@@ -29,7 +29,7 @@ public:
 
 protected:
   //Signal handlers:
-  virtual void on_button_quit();
+  void on_button_quit();
 
   //Child widgets:
   Gtk::VBox m_VBox;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]