From: Kevin A. <al...@se...> - 2005-02-23 18:34:40
|
On Feb 23, 2005, at 3:17 AM, pie...@ba... wrote: > Hello, > > I was wondering if it is possible to create a hierarchical menu=20 > structure in PythonCard? > For example a menu structure like this: > > file-| > =A0=A0=A0=A0 |-new--| > =A0=A0=A0=A0 |=A0=A0=A0=A0=A0 |- New item 1 > =A0=A0=A0=A0 |=A0=A0=A0=A0=A0 |- New item 2 > =A0=A0=A0=A0 | > =A0=A0=A0=A0 |-save- > > I'm using PythonCardPrototype 0.7.3.1 > > Any help would be appreciated... > > Regards, > > Pieter > In order to do that you'll have to create the menu manually, it isn't=20 supported by the resource file format or the resourceEditor. Since the=20= PythonCard menus are just subclasses of wxPython menus, you should be=20 able to insert a submenu at runtime relatively easily just using plain=20= wxPython code. ka |