MCPcopy Create free account
hub / github.com/Kitware/CMake / cmCursesLabelWidget

Method cmCursesLabelWidget

Source/CursesDialog/cmCursesLabelWidget.cxx:7–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include "cmCursesWidget.h"
6
7cmCursesLabelWidget::cmCursesLabelWidget(int width, int height, int left,
8 int top, std::string const& name)
9 : cmCursesWidget(width, height, left, top)
10{
11 field_opts_off(this->Field, O_EDIT);
12 field_opts_off(this->Field, O_ACTIVE);
13 field_opts_off(this->Field, O_STATIC);
14 this->SetValue(name);
15}
16
17cmCursesLabelWidget::~cmCursesLabelWidget() = default;
18

Callers

nothing calls this directly

Calls 2

field_opts_offFunction · 0.85
SetValueMethod · 0.45

Tested by

no test coverage detected