One window as child in 2+ windows

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

cs55
Just popping in
Just popping in
Posts: 1
Joined: Wed Nov 29, 2006 17:43

One window as child in 2+ windows

Postby cs55 » Wed Apr 18, 2007 23:05

Hello!

Is there a possibility to make one window (button, listbox or something else) to be a child of two or more parent windows?

I mean, I create some button, and I place it in window1 and window2, and it has the same behaviour (events on click, dblclick etc). I know this could be done simply by subscribing the same evenst to two different buttons, but creating one button would be nice and faster, especially when it would be some listbox with some data displayed in two windows at one time.


Regards :)

cs55

User avatar
Levia
Quite a regular
Quite a regular
Posts: 83
Joined: Mon May 22, 2006 18:25
Location: Bergen op zoom, The Netherlands
Contact:

Postby Levia » Thu Apr 19, 2007 06:29

You cannot make give it two parents. You'll have to make two.
Image
Image


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 9 guests