Actions on Custom Widgets on resource page

Hello, is it possible to make the actions visible on a custom widget?

I successfully create a page like on the screenshot.

But I want to make a view like the 2nd screenshot.
Is it possible?

When I return title as empty string my actions are disappearing also.
Screenshot_2023-05-18_at_16.37.11.png
Screenshot_2023-05-18_at_16.37.11_2.png
Was this page helpful?