Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I reparent a widget (change its parent)?

parent widget
0
Posted

Can I reparent a widget (change its parent)?

0

[Last modified: Aug 97] Answer: Xt does not support reparenting of widgets within the widget hierarchy. This would complicate the hierarchical resource model. You can destroy the old hierarchy and create a new one. On most systems, this is pretty fast for reasonably sized widget hierarchies. Note, however, that X11R6.3 provides an “application group” extension that allows one X client to act as the root of another X client’s window hierarchy. See the X11R6.3 documentation for more details.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.