[tepl] Amtk: write a NOTES file
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] Amtk: write a NOTES file
- Date: Sun, 25 Feb 2018 10:01:13 +0000 (UTC)
commit 5645011c5b80da5ddf768177e1713e9926345021
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Feb 25 10:57:58 2018 +0100
Amtk: write a NOTES file
This was initially written on the wiki, but I prefer in Git, in Git I'm
sure that it won't be lost.
amtk/Makefile.am | 3 ++-
amtk/NOTES | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+), 1 deletions(-)
---
diff --git a/amtk/Makefile.am b/amtk/Makefile.am
index 3461771..cd90eff 100644
--- a/amtk/Makefile.am
+++ b/amtk/Makefile.am
@@ -97,7 +97,8 @@ amtk-enum-types.c: amtk-enum-types.c.template $(ENUM_TYPES) $(GLIB_MKENUMS)
EXTRA_DIST = \
amtk-enum-types.c.template \
- amtk-enum-types.h.template
+ amtk-enum-types.h.template \
+ NOTES
CLEANFILES = $(BUILT_SOURCES)
diff --git a/amtk/NOTES b/amtk/NOTES
new file mode 100644
index 0000000..602aa3d
--- /dev/null
+++ b/amtk/NOTES
@@ -0,0 +1,40 @@
+Amtk notes
+==========
+
+TODO list
+---------
+
+- Implement more factory functions.
+- Support detailed GAction names in factory functions.
+
+Other possible things to do
+---------------------------
+
+- When calling amtk_menu_item_set_icon_name(), do not have a large margin on
+ the left. GtkUIManager was able to put the icon without the large margin (in
+ the same column as the check or radio drawing). Maybe only GtkImageMenuItem
+ is able to do that, but is deprecated (and removed in GTK+ 4).
+
+- Add convenient API to replace a placeholder by a list of menu/toolbar items?
+ And be able to update the placeholder content when the application runs (so
+ mark items to recognize them later, to know that they are part of the
+ placeholder). Or create a Placeholder object that contains the list of items,
+ so when the Placeholder object is modified, the menu/toolbar is updated
+ accordingly.
+
+- Add one more sanity check: check that a GAction is *implemented* when (or
+ after) creating a menu or toolbar item for that action?
+
+- An AmtkActionInfo could have a field for the default AmtkFactoryFlags (or to
+ force some flags). For example setting AMTK_FACTORY_IGNORE_ACCELS_FOR_APP for
+ the tepl-cut/copy/paste/select-all actions.
+
+- To prevent apps from modifying ActionInfos of libs, maybe seal an ActionInfo
+ when it is added to a store, except for mark_as_used(). But it's maybe a bit
+ too paranoid. Or instead of sealing, have a builder, see:
+ https://blogs.gnome.org/otte/2018/02/03/builders/
+
+- ActionInfo and ActionInfoEntry could have one more field for an identifier,
+ because when using a detailed GAction name the name is less "greppable" and
+ less easy to understand. The detailed GAction name would be the equivalent of
+ the callback in a GtkActionEntry.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]