https://wiki.inkscape.org/wiki/index.php?title=GTK5_wish_list&feed=atom&action=historyGTK5 wish list - Revision history2024-03-28T21:50:49ZRevision history for this page on the wikiMediaWiki 1.36.1https://wiki.inkscape.org/wiki/index.php?title=GTK5_wish_list&diff=120634&oldid=prevDoctormo: Added widget sharing2021-12-21T15:05:32Z<p>Added widget sharing</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 15:05, 21 December 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l16">Line 16:</td>
<td colspan="2" class="diff-lineno">Line 16:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* These classes allow arbitrary attributes but only a limited set get copied over to a Gtk menu. In particular, it would be useful to be able to set a CSS class.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* These classes allow arbitrary attributes but only a limited set get copied over to a Gtk menu. In particular, it would be useful to be able to set a CSS class.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The ability to change the "Label" associated with an action. We have in the past include a description of what will be done/redone with our Undo/Redo menu items. One can still do this by replacing the Gio::Menu item associated with the action but it is difficult to keep it properly in sync across multiple window (which may have actions tied to different maps as in the case of windows containing different documents).</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* The ability to change the "Label" associated with an action. We have in the past include a description of what will be done/redone with our Undo/Redo menu items. One can still do this by replacing the Gio::Menu item associated with the action but it is difficult to keep it properly in sync across multiple window (which may have actions tied to different maps as in the case of windows containing different documents).</div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">== Widget Sharing ==</ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* Currently the only widgets are those inside Gtk and those inside Inkscape. Creating a community space inside Gtk5 for more experimental, or more focused widget sets would be very useful. Especially if the core Gtk widget set is being simplified further. Large project like Inkscape and Gimp could then share their more complicated widgets, and Gnome's other projects had optional extensions to the vanilla set of widgets. This would probably require a bit of infrastructure and not so much a Gtk code request.</ins></div></td></tr>
</table>Doctormohttps://wiki.inkscape.org/wiki/index.php?title=GTK5_wish_list&diff=120633&oldid=prevTavmjong: /* Gio::Actions */2021-12-21T12:03:09Z<p><span dir="auto"><span class="autocomment">Gio::Actions</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 12:03, 21 December 2021</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l6">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Gio::Actions are very useful but there are some things that would make them more useful:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Gio::Actions are very useful but there are some things that would make them more useful:</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* The ability to include a description of what the action does. For GUI based use of actions, this could be used as a tooltip. We use <del style="font-weight: bold; text-decoration: none;">actions </del>in a variety of ways that require this information (command palette, buttons, menu items). We have an ugly work-around to ensure that the same description is used everywhere.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* The ability to include a description of what the action does. For GUI based use of actions, this could be used as a tooltip. We use <ins style="font-weight: bold; text-decoration: none;">the same action </ins>in a variety of ways that require this information (command palette, buttons, menu items). We have an ugly work-around to ensure that the same description is used everywhere.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* More widgets that use actions. For example, there is no reason that a spinbutton couldn't be tied to an integer or double action.</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* More widgets that use actions. For example, there is no reason that a spinbutton couldn't be tied to an integer or double action.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Better coordination between Gio::Actions and Gio::SimpleAction. We are constantly having to cast actions to simple actions:</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Better coordination between Gio::Actions and Gio::SimpleAction. We are constantly having to cast actions to simple actions:</div></td></tr>
</table>Tavmjonghttps://wiki.inkscape.org/wiki/index.php?title=GTK5_wish_list&diff=120632&oldid=prevTavmjong: Created page with " A page to track what we would like in GTK5. == Gio::Actions == Gio::Actions are very useful but there are some things that would make them more useful: * The ability to in..."2021-12-21T12:00:55Z<p>Created page with " A page to track what we would like in GTK5. == Gio::Actions == Gio::Actions are very useful but there are some things that would make them more useful: * The ability to in..."</p>
<p><b>New page</b></p><div><br />
A page to track what we would like in GTK5.<br />
<br />
== Gio::Actions ==<br />
<br />
Gio::Actions are very useful but there are some things that would make them more useful:<br />
<br />
* The ability to include a description of what the action does. For GUI based use of actions, this could be used as a tooltip. We use actions in a variety of ways that require this information (command palette, buttons, menu items). We have an ugly work-around to ensure that the same description is used everywhere.<br />
* More widgets that use actions. For example, there is no reason that a spinbutton couldn't be tied to an integer or double action.<br />
* Better coordination between Gio::Actions and Gio::SimpleAction. We are constantly having to cast actions to simple actions:<br />
** One can determine if an action is enabled or not but one can only set an action to be enabled or disabled using a simple action.<br />
** Looking up an action from an action map returns an action which then must be cast to a simple action.<br />
<br />
== Gio::Menu and Gio::MenuModel ==<br />
<br />
* These classes allow arbitrary attributes but only a limited set get copied over to a Gtk menu. In particular, it would be useful to be able to set a CSS class.<br />
* The ability to change the "Label" associated with an action. We have in the past include a description of what will be done/redone with our Undo/Redo menu items. One can still do this by replacing the Gio::Menu item associated with the action but it is difficult to keep it properly in sync across multiple window (which may have actions tied to different maps as in the case of windows containing different documents).</div>Tavmjong