﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ASource%2FUI%2FMenu_Format_Cleanup</id>
	<title>Dev:Source/UI/Menu Format Cleanup - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ASource%2FUI%2FMenu_Format_Cleanup"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/UI/Menu_Format_Cleanup&amp;action=history"/>
	<updated>2026-11-05T12:53:50Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Source/UI/Menu_Format_Cleanup&amp;diff=47346&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/UI/Menu_Format_Cleanup&amp;diff=47346&amp;oldid=prev"/>
		<updated>2018-06-28T17:47:44Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 17:47時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Source/UI/Menu_Format_Cleanup&amp;diff=47345&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: moved Dev:Source/Architecture/UI/Menu Format Cleanup to Dev:Source/UI/Menu Format Cleanup:&amp;#32;uniforming to 2.5/ structure</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/UI/Menu_Format_Cleanup&amp;diff=47345&amp;oldid=prev"/>
		<updated>2010-05-13T08:37:33Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Dev:Source/Architecture/UI/Menu_Format_Cleanup&quot; class=&quot;mw-redirect&quot; title=&quot;Dev:Source/Architecture/UI/Menu Format Cleanup&quot;&gt;Dev:Source/Architecture/UI/Menu Format Cleanup&lt;/a&gt; to &lt;a href=&quot;/Dev:Source/UI/Menu_Format_Cleanup&quot; title=&quot;Dev:Source/UI/Menu Format Cleanup&quot;&gt;Dev:Source/UI/Menu Format Cleanup&lt;/a&gt;: uniforming to 2.5/ structure&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
The function pupmenu, meant for quickly creating popup menus, suffers from some annoying limitations.  The function works by constructing a menu from a format string, formatted as such:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;[title]%t|[menu entry]%x&amp;lt;sub&amp;gt;n+1&amp;lt;/sub&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The format is basically a &amp;quot;|&amp;quot;-seperated list, which three special &amp;quot;commands&amp;quot;: %x, %t, and %i.  %t denotes a menu entry as the menu title.  %x assigns a value to a menu entry, which is return by pupmenu (it cannot be 0).  %i assigns an icon to a menu entry; the icon code  for each %i command is passed in a variable-length function argument list (like printf).&lt;br /&gt;
&lt;br /&gt;
=Proposal=&lt;br /&gt;
&lt;br /&gt;
The proposed changes to the menu format are:&lt;br /&gt;
* Add submenu support&lt;br /&gt;
* Add support for inlining icon codes with %i&lt;br /&gt;
&lt;br /&gt;
==Submenu support==&lt;br /&gt;
&lt;br /&gt;
Submenu support would be added by closing a set of entries in brackets.  The submenu&amp;#039;s entry on the parent menu would be defined by the entry above it.  An example of this format might be: &amp;quot;Menu%t|Entry1%x1|Entry2%x2|Entry3|{Entry4%x4|Entry5%x5}&amp;quot;.&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>