Hi,
Is it possible to add these functions to the wxGlade ?
1. create custom controls:
- the user should be able to select any available control and add it to
the project's resources - wxGlade should generate a custom class that
inherits from the original control; user shouldn't be able to change the
super class after creation
- if the super class is a container, the user should be able to add
other controls/sizers to it, like when using that control on a normal
wxForm
- user should be able to define events for this custom control
2. add custom controls form the current project:
- wxGlade could have a toolbox where custom controls are added and
deleted automatically when they are added and deleted from the project
- when you create a new frame/custom control, user should be able to add
standard controls or already existing controls.
- wxGlade should forbid circular dependencies (control A contains
control B that contain control C that contains control A, for example),
by not letting the user to add a control that would create such a
dependency
- if wxGlade can't create the custom class, it should put some hatch box
with a label indicating the custom control at the place where the custom
control will go.
I think custom classes could be created by creating a frame and putting
in it the super class, but, when generating the code, generate it only
for the custom class.
The normal Glade doesn't have this, but wxGlade would be much better
this way
Cheers,
Ionutz