# Access to Main.cxx from custom Slicer Python application

**URL:** https://discourse.slicer.org/t/access-to-main-cxx-from-custom-slicer-python-application/43495
**Category:** Development
**Created:** [June 25, 2025, 11:09pm UTC](https://discourse.slicer.org/t/access-to-main-cxx-from-custom-slicer-python-application/43495 "2025-06-25T23:09:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ejm-revvity](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ejm-revvity/32/80123_2.png) [@ejm-revvity](https://discourse.slicer.org/u/ejm-revvity)
#### Post date: [June 25, 2025, 11:09pm UTC](https://discourse.slicer.org/t/access-to-main-cxx-from-custom-slicer-python-application/43495/1 "2025-06-25T23:09:48Z")

</div>

This is a cross-post from [Kitware discourse topic](https://discourse.kitware.com/t/access-to-main-cxx-from-custom-slicer-python-application/1524).

Essentially, I’m interested in understanding to what I have access in Main.cxx (Qt, etc.) and how I would reference, from the custom Python application, something I have implemented at the .cxx level.
