# Icon for programmable source not working

**URL:** https://discourse.paraview.org/t/icon-for-programmable-source-not-working/9327
**Category:** ParaView Support
**Created:** [April 1, 2022, 4:42pm UTC](https://discourse.paraview.org/t/icon-for-programmable-source-not-working/9327 "2022-04-01T16:42:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [April 1, 2022, 4:42pm UTC](https://discourse.paraview.org/t/icon-for-programmable-source-not-working/9327/1 "2022-04-01T16:42:06Z")

</div>

Hello !

I’m following this guideline to add icons to my programmable sources: [https://www.paraview.org/Wiki/ParaView/Plugin\_HowTo#Adding\_Icons](https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_Icons)

However, I’m not able to see the icon image on the list of sources. I’m missing something?

Please, use the attached files to load the plugin called “TEST.xml”, which generates a programmable source called “TEST” (which should use the image TEST.png as icon).

PS: I’m using ParaView 5.5.2 and also 5.10.0 with the same result

Thanks in advance !

Miguel

[TEST.png](https://discourse.paraview.org/uploads/short-url/bUhBGSKwnekUkpT7xnWPCsApgbq.png)  
[TEST.qrc](https://discourse.paraview.org/uploads/short-url/i9WP28ps3H4Kcr3vB866pSDdMfL.qrc) (70 Bytes)  
[TEST.xml](https://discourse.paraview.org/uploads/short-url/8Kw9mRJocqT3rcuO4Ep655QYWzz.xml) (943 Bytes)

---

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [April 22, 2022, 11:18am UTC](https://discourse.paraview.org/t/icon-for-programmable-source-not-working/9327/2 "2022-04-22T11:18:38Z")

</div>

I found the solution:

In the XML file use this hint:

```auto
<Hints> 
<ShowInMenu category="MyCategory" icon="C:\...\PathToIconFolder\MyIcon.png"/>
</Hints>

```

Note that the qrc file is not required

PS: if you also want to include this icon in the PipeLineBrowser, use this hint:

```auto
<Hints> 
<PipelineIcon name="C:\...\PathToIconFolder\MyIcon.png"/>
</Hints>

```

Also, if you want to put the filter icon in the toolbar, just add this extra hint:

```auto
<Hints> 
<ShowInMenu category="Common" icon="C:\...\PathToIconFolder\MyIcon.png"/>
</Hints>

```

Indeed, the filter will be also assigned to the standard category “Common” (besides the custom category “MyCategory”). And since all the filters of the category “Common” are available at the toolbar, then, your filter will also be included in the toolbar.
