AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
ALayoutInflater Class Reference

Static Public Member Functions

static void inflate (aui::no_escape< AViewContainer > root, const _< AView > &view)
 Wraps view with root using Stacked layout and expanding. More...
 

Member Function Documentation

◆ inflate()

void ALayoutInflater::inflate ( aui::no_escape< AViewContainer root,
const _< AView > &  view 
)
static

Wraps view with root using Stacked layout and expanding.

Used when usage of AViewContainer::setContents is not possible (see AViewContainer::setContents)

Parameters
rootcontainer to wrap with
viewview to be wrapped
Note
Clears contents of root.
Stolen from Android.
Returns
root

The documentation for this class was generated from the following files: