Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » Styles and Widgets
Re: Styles and Widgets [message #9124 is a reply to message #9121] Wed, 18 April 2007 12:02 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
I guess your problem can be summarized as "how to implement hierarchical structure that allows element removal"?

Well, one simple way is this:

struct CtrlsTree {
One<Ctrl> ctrl;
ArrayMap<String, CtrlsTree> child;
};

BTW, ArrayMap supports Remove (or Unlink). You do not have to care about rest; destryoing widget does everything needed to remove it from GUI.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MenuItem Chameleon bug report & question
Next Topic: OS X Aqua look and feel?
Goto Forum:
  


Current Time: Wed May 08 04:06:46 CEST 2024

Total time taken to generate the page: 0.02632 seconds