Cannot zoom and scroll in slice view(slicelets)

I created a slicelet of custom layouts that has three slice nodes.
But I am not able to zoom into the slice view or scroll through the imgaes. Why is this happening?

The widget needs access to the slice logics. If you want to create a widget outside the view layout then you can follow this example (for latest Slicer preview release):

https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Show_a_slice_view_outside_the_view_layout

Note that the recommended way of implementing slicelets is to define custom layout within the standard layout manager (and not to create standalone widgets). See details here: https://www.slicer.org/wiki/Documentation/Nightly/Developers/Slicelets

I am getting a None object slicer.app.applicationLogic().GetSliceLogics() from this slice logics.

Please follow the guidance in https://www.slicer.org/wiki/Documentation/Nightly/Developers/Slicelets, i.e., use Slicer’s main window (do not call --no-main-window) and also make sure your code runs after the application startup is completed (you can observe the startup completed signal - slicer.app.connect("startupCompleted()", self.onStartupCompleted)).

I want to run my application without the main window.

Application behavior and setup is very different when there is a main window compared to when there is no main window. If you want to show any GUI elements but not all the widgets, then you can still show the main window but hide unwanted elements (or creating a custom application, where you have full control over what is added to the main window). Supporting a redundant no-main-window mode for displaying GUI would cost a lot of extra development, test, and maintenance effort that we rather invest into new features and fixes.

We still support no-main-window mode for simple scripts that do not use any widget classes.

What main widow element you would like to hide? Maybe we could add a simple-main-window mode that would not show menu, toolbar, and status bar by default.