1. 07 Nov, 2018 3 commits
  2. 27 Oct, 2018 1 commit
    • Daniel Boles's avatar
      Clarify that user sometimes must delete if managed · 2a68fab9
      Daniel Boles authored
      container.ccg remembers whether the object was originally un-floated by
      Gtk::manage() and, if so, restores that state during Container.remove(),
      with the result that the removed widget is *not* deleted, as it would be
      in GTK+, but instead it is re-floated and requires the user to deal with
      (e.g. to add it to some other container or to finally call delete on it)
      
      This is documented in container.hg but nowhere that I can see in our
      tutorial, and I think it is worth mentioning here, since it is not
      completely intuitive: users might otherwise think that the fact manage()
      delegates lifetime management to the Container means they get back the
      same behaviour of C widgets, i.e. that remove() would cause destruction,
      but of course that is not the case, and we might thus encourage leaks.
      
      So mention that manage() only relieves the user of the burden of calling
      delete if they add the widget to a parent and do not remove it later, in
      both the Memory Management section and the part about deleting wrappers.
      2a68fab9
  3. 26 Oct, 2018 1 commit
  4. 31 May, 2018 1 commit
  5. 15 Jan, 2018 1 commit
  6. 14 Jan, 2018 3 commits
  7. 28 Dec, 2017 1 commit
  8. 15 Nov, 2017 2 commits
  9. 01 Nov, 2017 1 commit
  10. 01 Feb, 2017 1 commit
  11. 14 Nov, 2016 2 commits
    • Kjell Ahlstedt's avatar
      3.22.0 · b4b4c85d
      Kjell Ahlstedt authored
      b4b4c85d
    • Kjell Ahlstedt's avatar
      Link to gtkmm 3.22 and glibmm 2.50 · 11f0cb16
      Kjell Ahlstedt authored
      In preparation for future releases that will be compatible with the
      ABI-breaking gtkmm-4.0 and glibmm-2.52, let the links from the generated
      html files point to gtkmm 3.22 and glibmm 2.50 instead of the usual latest
      unstable documentation and git's master branch. Bug 773642 comment 4.
      11f0cb16
  12. 08 Nov, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Replace Menu::popup() by Menu::popup_at_pointer() · 9843f9d2
      Kjell Ahlstedt authored
      * examples/book/menus/popup/examplewindow.cc:
      * examples/book/treeview/popup/treeview_withpopup.cc: Replace the deprecated
      Menu::popup() by the new Menu::popup_at_pointer().
      * examples/others/cellrenderercustom/cellrenderertoggle.cc: Don't use an
      anonymous namespace. gcc 6.2.0 reports errors because there are unused
      functions. (I don't want to remove them. I suppose someone has planned to
      use them some time.)
      9843f9d2
  13. 25 Oct, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Build app example: Use Gio::Settings::bind(key, property_proxy, flags) · e3171b3a
      Kjell Ahlstedt authored
      * docs/tutorial/C/index-in.docbook:
      * examples/book/buildapp/step5/exampleappprefs.cc:
      * examples/book/buildapp/step[5-9]/exampleappwindow.cc:
      Use Gio::Settings::bind(key, property_proxy, flags) instead of
      Gio::Settings::bind(key, object, property_name, flags). Better compile-time
      checking and no need for the ugly tag.operator->(). Bug #772391
      e3171b3a
  14. 19 Oct, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Add last part of "Building applications" chapter with example code · 511f27da
      Kjell Ahlstedt authored
      * docs/tutorial/C/index-in.docbook: Add sections 7-9 of the "Building
      applications" chapter. It's a C++/gtkmm version of a chapter in the gtk+
      documentation.
      * docs/tutorial/C/figures/buildapp_*.png: 3 new files. Update the old files.
      * docs/tutorial/Makefile.am: Add new image files.
      * examples/book/buildapp/.gitignore: Ignore gschemas.compiled.
      * examples/book/buildapp/Makefile.am: Add files in step[7-9].
      * examples/book/buildapp/step[7-9]: New directories with many new files.
      Bug #772391
      511f27da
  15. 15 Oct, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Add another part of "Building applications" chapter with example code · 0432609e
      Kjell Ahlstedt authored
      * docs/tutorial/C/index-in.docbook: Add sections 4-6 of the "Building
      applications" chapter. It's a C++/gtkmm version of a chapter in the gtk+
      documentation.
      * docs/tutorial/C/figures/buildapp_*.png: 3 new files.
      * docs/tutorial/Makefile.am: Add new image files.
      * configure.ac: Add GLIB_GSETTINGS.
      * examples/Makefile.am: Don't distribute resources.c files.
      * examples/book/buildapp/Makefile.am: Add files in step[4-6].
      * examples/book/buildapp/step[1-2]/Makefile.example: Improved
      * examples/book/buildapp/step[4-6]: New directories with many new files.
      Bug #772391
      0432609e
  16. 10 Oct, 2016 1 commit
  17. 09 Oct, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Add part of "Building applications" chapter with example code · 280d7393
      Kjell Ahlstedt authored
      * docs/tutorial/C/index-in.docbook: Add the first 3 sections of the "Building
      applications" chapter. It's a C++/gtkmm version of a chapter in the gtk+
      documentation.
      * docs/tutorial/C/figures/buildapp_*.png: New files.
      * docs/tutorial/Makefile.am: Add new image files.
      * configure.ac: Add examples/book/buildapp/Makefile.
      * examples/Makefile.am: Call Makefile in the book/buildapp directory.
      * examples/book/buildapp/*: New directory with many new files.
      Bug #772391
      280d7393
  18. 07 Aug, 2016 2 commits
  19. 26 Jul, 2016 3 commits
  20. 20 Jul, 2016 1 commit
  21. 19 Jul, 2016 2 commits
    • Kjell Ahlstedt's avatar
      AboutDialog example: Add a logotype · feb4ff6d
      Kjell Ahlstedt authored
      * docs/tutorial/C/index-in.docbook: Add aboutdialog.gresource.xml to the
      listed source code files.
      * examples/.gitignore: Ignore book/dialogs/aboutdialog/resources.c.
      * examples/Makefile.am: Make a resource file for the AboutDialog example.
      * examples/book/dialogs/aboutdialog/examplewindow.cc: Add a logotype to
      the dialog.
      * examples/book/dialogs/aboutdialog/aboutdialog.gresource.xml: New file.
      * examples/book/dialogs/aboutdialog/gtkmm_logo.gif: New file. Copied from
      gtkmm/docs/images/gtkmm_logo.gif.
      feb4ff6d
    • Kjell Ahlstedt's avatar
      Build: Fix silent builds · 75cd8550
      Kjell Ahlstedt authored
      * configure.ac: Pass yes to AM_SILENT_RULES, thus enabling silent builds.
      Replace MM_AX_CXX_COMPILE_STDCXX_11 by MM_AX_CXX_COMPILE_STDCXX (not necessary
      for silent builds). Bug #768797
      75cd8550
  22. 30 Jun, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Add the ListModel example · 61f38f4c
      Kjell Ahlstedt authored
      * examples/MakeFile.am: Add book/listmodel.
      * examples/book/listmodel/main.cc:
      * examples/book/listmodel/examplewindow.[h|cc]:
      * examples/book/listmodel/myobject.[h|cc]: New files.
      This example is similar to gtk+/tests/listmodel.c. Bug #755149
      61f38f4c
  23. 29 Jun, 2016 1 commit
  24. 19 Jun, 2016 1 commit
  25. 17 Jun, 2016 1 commit
  26. 02 Jun, 2016 2 commits
  27. 30 May, 2016 1 commit
  28. 22 May, 2016 1 commit
    • Kjell Ahlstedt's avatar
      Use the pan-[up,down,start,end]-symbolic icons · 8a84ca97
      Kjell Ahlstedt authored
      * examples/others/arrow/arrow.cc: Use pan-[up,down,start,end]-symbolic
      * examples/others/cellrenderercustom/popupentry.cc: Use pan-down-symbolic
      These icons have been around for about two years now. They should be
      available in most systems.
      8a84ca97
  29. 16 May, 2016 1 commit