Embarcadero / DelphiFMX4Python

Python GUI module powered by Delphi's FireMonkey framework. Supporting Windows, MacOS, Linux, and Android GUI development.
Other
298 stars 55 forks source link

Add TPopUpMenu #57

Closed shaunroselt closed 1 year ago

shaunroselt commented 1 year ago

I tried creating a PopUpMenufor one of my apps but seems like there isn't a wrapper for the PopUpMenu yet.

Are there any plans to add the PopUpMenu? Would really like to be able to have a PopUpMenu in my apps.

Is there maybe a tutorial or something around that can teach me how to make my own wrapper for a component?

Priyatham10 commented 1 year ago

Hi @shaunroselt, we just added it to the backlog of the roadmap. We can try to wrap it and provide it as part of the following docs release version.

Priyatham10 commented 1 year ago

And also, there is a recent idea to create a youtube channel around our Delphi-Python Ecosystem. We plan to make tutorials on developing small to large-scale GUI applications using our Python packages. We also plan to create a tutorial to wrap any missing component by the community themselves.

shaunroselt commented 1 year ago

Thanks.

That's good to hear. I'm also planning lots of YouTube videos around this.

lmbelo commented 1 year ago

Adding TPopUpMenu to the roadmap.

lmbelo commented 1 year ago

Actually it has been wrapped before. See the image below:

Screenshot 2023-03-06 at 16 55 09

shaunroselt commented 1 year ago

Oh. I see my fault. I tried doing:

self.myPopUpMenu = PopUpMenu(self)

Which doesn't work. It needs to be:

self.myPopUpMenu = PopupMenu(self)

shaunroselt commented 1 year ago

Thanks!

lmbelo commented 1 year ago

Sorry, I posted a VCL sample but it shall work with FMX too.