mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-15 00:24:19 +00:00
Added some documentation to addAndMakeVisible
This commit is contained in:
parent
ce0ab63f57
commit
dca1ef3c3a
1 changed files with 10 additions and 0 deletions
|
|
@ -689,6 +689,11 @@ public:
|
|||
|
||||
This is the same as calling setVisible (true) on the child and then addChildComponent().
|
||||
See addChildComponent() for more details.
|
||||
|
||||
@param child the new component to add. If the component passed-in is already
|
||||
the child of another component, it'll first be removed from it current parent.
|
||||
@param zOrder The index in the child-list at which this component should be inserted.
|
||||
A value of -1 will insert it in front of the others, 0 is the back.
|
||||
*/
|
||||
void addAndMakeVisible (Component* child, int zOrder = -1);
|
||||
|
||||
|
|
@ -696,6 +701,11 @@ public:
|
|||
|
||||
This is the same as calling setVisible (true) on the child and then addChildComponent().
|
||||
See addChildComponent() for more details.
|
||||
|
||||
@param child the new component to add. If the component passed-in is already
|
||||
the child of another component, it'll first be removed from it current parent.
|
||||
@param zOrder The index in the child-list at which this component should be inserted.
|
||||
A value of -1 will insert it in front of the others, 0 is the back.
|
||||
*/
|
||||
void addAndMakeVisible (Component& child, int zOrder = -1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue