# Python API hints for UI elements

**URL:** <https://krita-artists.org/t/python-api-hints-for-ui-elements/73302>\
**Category:** Feature Requests\
**Tags:** for-scripting\
**Created:** [September 1, 2023, 4:40pm UTC](https://krita-artists.org/t/python-api-hints-for-ui-elements/73302 "2023-09-01T16:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EmilyGraceSeville7cf](https://krita-artists.org/user_avatar/krita-artists.org/emilygraceseville7cf/32/241181_2.png) [@EmilyGraceSeville7cf](https://krita-artists.org/u/EmilyGraceSeville7cf)\
**Post date:** [September 1, 2023, 4:40pm UTC](https://krita-artists.org/t/python-api-hints-for-ui-elements/73302/1 "2023-09-01T16:40:03Z")

</div>

It would be nice to have API tips like those Blender has:

 ![image](https://krita-artists.org/uploads/default/original/3X/2/6/2658e93ce4d66383d43303f10166b7477f226ab3.png)

It will speed up programming workflow: instead of digging documentation each time or calling dir/help/etc. Python functions, the user can just hover cursor on a layer/brush/etc. they want to access and see how to do it. Note that the first line shows what class some property belongs to, while the second one how to access this property for selected object.

---

<div class="post-metadata">

**Author:** ![freyalupen](https://krita-artists.org/user_avatar/krita-artists.org/freyalupen/32/47913_2.png) [@freyalupen](https://krita-artists.org/u/freyalupen)\
**Post date:** [September 1, 2023, 5:00pm UTC](https://krita-artists.org/t/python-api-hints-for-ui-elements/73302/2 "2023-09-01T17:00:04Z")

</div>

For something somewhat similar, you could try this plugin:

> [@Python Plugin Developer Tools](https://krita-artists.org/t/python-plugin-developer-tools/30615):
>
> Introducing Python Plugin developer Tools! The goal of these tools is to make it easier for people to develop python plugins. Current features include: Selector/Sampler - for selecting with the mouse PyQt5 objects. Hold the shift key(or optionally ctrl/alt/meta key) and move the mouse as you wish, when you find the item you want, let go of the shift and it will show up in inspector. Inspector - Lets you browse/search the PyQt5 tree and also view all the properties (including inher…
