<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 7/15/2022 12:53 PM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:837d323e-61d3-942d-2ea6-5e2a1b964765@free.fr"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="4">Hi, <br>
</font></p>
<p><font size="4">Here is a first iteration for decentralized menu
definitions . <br>
</font></p>
<p><font size="4">Check the comment of the MenuBuilder class and
its example to execute. <br>
</font></p>
<p><font size="4">Then check its example class methods to read how
write definition of the menu.</font></p>
<p><font size="4">In theory, this should let third party package
smoothly adds entries in Cuis menus.</font></p>
<p><font size="4">There is place for improvements and to make menu
definition more compact, but its already gives a general idea.</font></p>
<p><font size="4">Thanks</font></p>
<p><font size="4">Hilaire</font><br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</blockquote>
<br>
Hi Hilaire,<br>
<br>
This is interesting. But if we are to change how menus are built in
the base image, adding a mechanism that packages will depend on, I'd
like it to also address these:<br>
- Keyboard shortcuts. Today, these are even in a worse shape than
menus. There's no way to tweak them, and we already ran out of them.<br>
- Context. Different gui controls in different apps will need
different menus / shortcuts. Even depending on state or mode.<br>
- Scope of context. Some menus / shortcuts may apply to a leaf
morph, like a text editor or list. Others apply to a window or other
composite morph. Others are global.<br>
<br>
Actually, we are talking about user commands and how to issue them.
So, some questions are:<br>
- which user commands are available on a certain morph in a certain
moment<br>
- how do we group them in menus<br>
- how (if) we assign them a keyboard shortcut<br>
<br>
Everyone, please chime in and share your ideas or possible
approaches. It would be great if we can find a general solution.<br>
<br>
Thanks!<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
<a class="moz-txt-link-freetext" href="https://twitter.com/JuanVuletich">https://twitter.com/JuanVuletich</a></pre>
</body>
</html>