Re: Popup menu in wxGlade

<[email protected]> Fri, 7 Jan 2022 06:54:18 -0700
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
OK, but here is my use model which, I think, shows why you would do it.

 

I have multiple listctrl’s each on a separate tab in a notebook. For each list there is a fixed set of operations I want to occur on a right click. So I would have listctrl_a with popup_a listctrl_b with popup_b … A separate class for each of the popups. 

 

Now I can certainly do that manually and build everything out, but it seemed like a natural fit for wxGlade.

 

Thanks for the response and now on to coding 😊

 

David

 

From: Dietmar Schwertberger <[email protected]> 
Sent: Friday, January 7, 2022 6:22 AM
To: wxglade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [wxGlade] Popup menu in wxGlade

 

On 07.01.2022 05:14, David Grawrock wrote:

I’d like to manage the popup menu in wxGlade but the only choice I appear to have is the MenuBar. I don’t see any options to change the menubar into a simple menu. Does this have to be done manually? Am I missing something?

No, there's no popup menu support in wxGlade.
Popup menus should be dynamic / context sensitive. So probably it would not help too much to have an editor for a static menu.

Regards,

Dietmar

_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general