1. 30 Oct, 2020 1 commit
  2. 26 Oct, 2020 1 commit
  3. 25 Oct, 2020 1 commit
  4. 23 Oct, 2020 1 commit
  5. 22 Oct, 2020 2 commits
  6. 18 Sep, 2020 1 commit
    • Kjell Ahlstedt's avatar
      Meson build: Drop dependence on Perl · 07231347
      Kjell Ahlstedt authored
      * tools/tutorial/insert_example_code.py: New Python file, equivalent to
      the insert_example_code.pl Perl file.
      
      The Perl file is still used when building with Autotools.
      07231347
  7. 08 Sep, 2020 1 commit
  8. 03 Sep, 2020 1 commit
  9. 24 Aug, 2020 1 commit
    • Kjell Ahlstedt's avatar
      Remove description of Gtk::Container · 652e8df1
      Kjell Ahlstedt authored
      Gtk::Container has been removed. Describe that most container widgets
      now derive directly from Gtk::Widget. Gtk::Container::add() has been
      replaced by Gtk::Box::append() and other methods.
      652e8df1
  10. 17 Aug, 2020 1 commit
  11. 06 Aug, 2020 1 commit
    • Kjell Ahlstedt's avatar
      input example: Don't include build/config.h · e947e4ec
      Kjell Ahlstedt authored
      The configuration with Autotools or Meson sets the compiler
      option -DDONT_HAVE_MKFIFO=1, if mkfifo() does not exist.
      Meson does not create build/config.h.
      This makes life easier for those who build with their own
      Makefile or CMake file or whatever.
      Fixes #11
      e947e4ec
  12. 05 Aug, 2020 1 commit
    • Kjell Ahlstedt's avatar
      entry/completion example: Remove actions · 11ca99da
      Kjell Ahlstedt authored
      and other changes due to changes in gtk and gtkmm.
      
      * configure.ac:
      * meson.build: Don't disable deprecated atkmm API. Gtkmm does not
      depend on atkmm any more.
      * examples/book/buildapp/step[5-9]/prefs.ui: Rename some
      Gtk::GridLayout properties.
      * examples/book/entry/completion/examplewindow.[cc|h]: Remove actions.
      Gtk::EntryCompletion does not handle actions.
      * examples/others/cellrenderercustom/cellrendererpopup.cc:
      Don't use the removed Gdk::Display::get_default_group().
      11ca99da
  13. 14 Jul, 2020 1 commit
  14. 09 Jul, 2020 1 commit
  15. 08 Jul, 2020 1 commit
  16. 05 Jun, 2020 2 commits
    • Kjell Ahlstedt's avatar
    • Kjell Ahlstedt's avatar
      Fix clipboard example programs · 9d105a8d
      Kjell Ahlstedt authored
      and some other example programs.
      
      * examples/book/buildapp/step9/exampleappwindow.cc:
      * examples/book/buildapp/step9/window.ui: Show window icon.
      * examples/book/buttons/radiobutton/radiobuttons.cc: Only one pressed
      button when the program starts up.
      * examples/book/clipboard/ideal/examplewindow.[cc|h]:
      * examples/book/clipboard/simple/examplewindow.[cc|h]: Store copied text
      until someone has a chance to paste it.
      * examples/book/treeview/filter_modify/examplewindow.cc: Fix some TODO
      comments.
      9d105a8d
  17. 30 May, 2020 1 commit
  18. 29 May, 2020 1 commit
    • Kjell Ahlstedt's avatar
      examples: Don't use application menus · e9407f16
      Kjell Ahlstedt authored
      Application menus have been removed from gtk and gtkmm.
      Use window menus (menubars).
      
      * examples/book/buildapp: Remove all app_menu.ui and move the menu items
      to gears_menu.ui. (Move from application menu to window menu.)
      * examples/book/application: Rename app_and_win_menus to menubar.
      * examples/book/menus/main_menu/exampleapplication.cc:
      Use ApplicationWindow::set_show_menubar().
      e9407f16
  19. 26 May, 2020 5 commits
  20. 24 May, 2020 1 commit
  21. 27 Apr, 2020 1 commit
    • Kjell Ahlstedt's avatar
      examples: Update for latest gtkmm4 (remove Gtk::ShadowType, etc.) · 7dc55b35
      Kjell Ahlstedt authored
      * examples/book/label/examplewindow.cc: Label::set_pattern() is replaced
      by Pango markup to get underlined text.
      * examples/book/popover/examplewindow.[cc|h]: The ToggleButton has been
      replaced by a MenuButton. gtk_get_current_event() has been removed in gtk,
      which made it more difficult to decide where to show a Popover when
      a day is selected.
      
      Minor changes in several other example programs.
      7dc55b35
  22. 12 Apr, 2020 1 commit
  23. 31 Mar, 2020 1 commit
  24. 24 Mar, 2020 1 commit
  25. 12 Mar, 2020 1 commit
    • Kjell Ahlstedt's avatar
      examples: Update for latest gtkmm4 (remove property_margin(), etc.) · 36f13655
      Kjell Ahlstedt authored
      * examples/book/drag_and_drop/dndwindow.[cc|h]:
      * examples/others/dnd/dndwindow.[cc|h]: Drag-and-drop has been modified
      in gtk and gtkmm. These DnD examples can now be compiled, but they don't
      fully work. Neither does tests/testdnd.c in gtk.
      
      Widget::property_margin() and property_expand() have been removed.
      It affects many .ui files and ui_info strings.
      36f13655
  26. 25 Feb, 2020 1 commit
    • Kjell Ahlstedt's avatar
      examples: Update for latest gtkmm4 (no Gdk::EventButton, etc.) · 71c2853e
      Kjell Ahlstedt authored
      * examples/book/buttons/filechooserbutton/examplewindow.cc:
      Don't use removed Gtk::FileChooser::set_local_only().
      * examples/book/dialogs/filechooserdialog/examplewindow.cc:
      * examples/book/dialogs/filechoosernative/examplewindow.cc:
      * examples/book/recent_files/examplewindow.cc:
      Use FileChooser::get_file() instead of removed get_filename().
      * examples/book/drag_and_drop/dndwindow.[cc|h]:
      Use Gtk::DragSource::signal_prepare() instead of removed
      Gdk::ContentProvider::create() with callback function.
      * examples/book/infobar/examplewindow.cc: Use Gtk::Container::add()
      instead of removed Gtk::InfoBar::get_content_area().
      * examples/book/popover/examplewindow.cc: Don't cast the Gdk::Event to a
      subclass. Gdk::Event does not have subclasses now.
      * examples/book/treeview/drag_and_drop/treemodel_dnd.[cc|h]:
      Gtk::TreeDragDest::row_drop_possible_vfunc() has got a changed signature
      (Glib::ValueBase& instead of Gtk::SelectionData&).
      * examples/others/cellrenderercustom/cellrendererpopup.cc:
      * examples/others/cellrenderercustom/popupentry.cc:
      * examples/others/dnd/dndwindow.cc: The Gtk::Window ctor has no
      WindowType argument.
      71c2853e
  27. 16 Feb, 2020 1 commit
  28. 15 Feb, 2020 1 commit
    • Kjell Ahlstedt's avatar
      Update for gtk 3.98.0 and gtkmm 3.97.1 · 68876300
      Kjell Ahlstedt authored
      * configure.ac:
      * meson.build: Require gtkmm >= 3.97.1
      * Examples with toolbars: Replace removed Toolbar and *ToolButton
        by Box and *Button.
      * examples/book/update_ui/examplewindow.cc: Replace
        Gtk::Main:events_pending() and iterator() by Glib::MainContext::pending()
        and MainContext::iteration().
      * examples/others/calendar/calendar.cc: Use Gtk::Calendar::set_show_heading()
        etc. instead of the removed Calendar::DisplayOptions.
        Use Glib::DateTime instead of Glib::Date.
      68876300
  29. 07 Feb, 2020 1 commit
    • Kjell Ahlstedt's avatar
      Update some buildapp examples · c584f04e
      Kjell Ahlstedt authored
      Use Gtk::IconTheme::get_for_display() instead of the removed get_default().
      Don't use the removed use-popover property in window.ui.
      c584f04e
  30. 02 Feb, 2020 1 commit
  31. 22 Jan, 2020 1 commit
  32. 12 Jan, 2020 1 commit
  33. 07 Jan, 2020 2 commits