Skip to content

Shared Ribbon Tasks or Bands in Contextual Task Groups? #502

Discussion options

You must be logged in to vote

Correct, there is no way to "share" a Swing component in general between two parents. Ribbon bands are Swing components, and they can't be attached to more than one parent at the same time. There is some "unpretty" reparenting that I do when a ribbon band goes into collapsed mode, and is displayed in a popup panel - and then needs to get reparented back to its task when the ribbon band goes to regular / uncollapsed mode. I don't really see how this can be easily extended to the more general case of sharing bands between tasks - even though, technically, you can't have more than one task visible at the same time.

Until such moment in time where the entire ribbon is defined with pure conten…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MichaelWDenney
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants