﻿<?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%3ARef%2FProposals%2FUI%2FCustom_Icons_for_addons</id>
	<title>Dev:Ref/Proposals/UI/Custom Icons for addons - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FProposals%2FUI%2FCustom_Icons_for_addons"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Proposals/UI/Custom_Icons_for_addons&amp;action=history"/>
	<updated>2026-06-08T19:12:21Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/Proposals/UI/Custom_Icons_for_addons&amp;diff=147509&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Proposals/UI/Custom_Icons_for_addons&amp;diff=147509&amp;oldid=prev"/>
		<updated>2018-06-28T21:09:05Z</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日 (木) 21:09時点における版&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:Ref/Proposals/UI/Custom_Icons_for_addons&amp;diff=147508&amp;oldid=prev</id>
		<title>wiki&gt;Rebellion: Created page with &quot;=== Issue ===  New addons come with new operators, with the increasing of operator it's becoming more difficult for developer to reuse the icon blender offer, so it' necessary to...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Proposals/UI/Custom_Icons_for_addons&amp;diff=147508&amp;oldid=prev"/>
		<updated>2014-07-05T09:32:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Issue ===  New addons come with new operators, with the increasing of operator it&amp;#039;s becoming more difficult for developer to reuse the icon blender offer, so it&amp;#039; necessary to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Issue ===&lt;br /&gt;
&lt;br /&gt;
New addons come with new operators, with the increasing of operator it's becoming more difficult for developer to reuse the icon blender offer, so it' necessary to allow developer  use custom icons to identity the operator they create.&lt;br /&gt;
&lt;br /&gt;
=== Solution ===&lt;br /&gt;
&lt;br /&gt;
Doing a quick scan on the code I think the best way to accomplish this is to create a PyObject and expose it to the public API. In C the python object should work similar of how texture and material icons are created. Instead when scripting the python code, you just call for example: bpy.utils.upload_icon(path = &amp;quot;&amp;quot;, ID = &amp;quot;&amp;quot;), where path is the path of the png file, and ID is the id of the icon. Later when drawing the interface, for example an operator: layout.operator(operator, text=&amp;quot;&amp;quot;, text_ctxt=&amp;quot;&amp;quot;, translate=True, icon=''' 'ID' ''', emboss=True) the ID is used to reading from the internal icons list.&lt;br /&gt;
&lt;br /&gt;
I think this the best and easy way to do this, because other option require too much functions overload..&lt;br /&gt;
&lt;br /&gt;
=== Pro ===&lt;br /&gt;
&lt;br /&gt;
Addons with a lot of operator or workspace with a lot of addons enabled can benefit from this, because the interface become more cleaner and immediate.&lt;br /&gt;
&lt;br /&gt;
=== Con ===&lt;br /&gt;
&lt;br /&gt;
Of course this feature should be used with care and avoid icons when possible. Blender can can start slower with multiple addons enabled. Addons should be shipped with the icon file, make them more &amp;quot;heavy&amp;quot;.&lt;/div&gt;</summary>
		<author><name>wiki&gt;Rebellion</name></author>
		
	</entry>
</feed>