1. 15 Oct, 2019 5 commits
  2. 09 Oct, 2019 3 commits
  3. 11 Sep, 2019 1 commit
  4. 10 Sep, 2019 2 commits
  5. 09 Sep, 2019 5 commits
  6. 25 Aug, 2019 1 commit
  7. 15 Aug, 2019 2 commits
  8. 10 Aug, 2019 1 commit
  9. 09 Aug, 2019 1 commit
  10. 08 Jul, 2019 1 commit
  11. 07 Jul, 2019 3 commits
  12. 03 Jul, 2019 1 commit
  13. 30 Jun, 2019 2 commits
  14. 24 Jun, 2019 1 commit
    • Matthias Clasen's avatar
      Add a non-varargs variant of activate_action · 2405e271
      Matthias Clasen authored
      I recently turned gtk_widget_activate_action()
      into a varargs function. That is more convenient
      from C, but we need a non-varargs variant for
      bindings. So add the old API back, under the
      name gtk_widget_activate_action_variant(),
      with a rename-to annotation.
      2405e271
  15. 23 Jun, 2019 2 commits
    • Matthias Clasen's avatar
      Make gtk_widget_activate_action better · 3acc0144
      Matthias Clasen authored
      As a convenience API, this should be easy to use,
      so don't expect callers to manually create a
      variant, do it for them.
      
      Update all callers.
      3acc0144
    • Matthias Clasen's avatar
      widget: create parent muxers lazily · 3ebe30bf
      Matthias Clasen authored
      We need to create a muxer eagerly for every
      widget that has class actions, since those
      are otherwise missed in the action lookup
      on the muxer side. But otherwise, there is
      no reason to create parent muxers aggressively,
      as long as we update the parent muxers on
      root/unroot.
      
      This reduces the number of muxers we create
      in widget-factory from 210 to around 50.
      3ebe30bf
  16. 22 Jun, 2019 8 commits
  17. 18 Jun, 2019 1 commit
    • Matthias Clasen's avatar
      Allow registering actions per-class · ef031e1a
      Matthias Clasen authored
      Add a facility to register and install actions
      at class init time. The intended use for these
      actions is for
      
      a) context and other model-based menus
      b) key bindings
      
      Most of these actions are going to be stateless,
      so add separate apis for the simple and stateful
      cases.
      
      We avoid creating an action group for these by
      teaching the action muxer about these actions.
      The action muxer also maintains the enabled
      state for these actions.
      ef031e1a