Group

Display a container view with title and border.

Header#include "nativeui/group.h"
Namespacenamespace nu
Typeclass (RefCounted)
InheritsView

Constructors

Group(const std::string& title)

Create a new Group with title.

Parameters

Class properties

const char* kClassName

The class name of this view.

Methods

void SetContentView(scoped_refptr<Container> view)

Set the content view.

Parameters

Container* GetContentView() const

Return the content view.

Return

Container*

void SetTitle(const std::string& title)

Set the title.

Parameters

std::string GetTitle() const

Return the title.

Return

std::string