MCPcopy Create free account
hub / github.com/Kitware/VTK / SetTooltipInfo

Function SetTooltipInfo

Rendering/VR/vtkVRControlsHelper.h:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 ///@}
78
79 void SetTooltipInfo(const char* s, int buttonSide, int drawSide, const char* txt)
80 {
81 if (!s || !txt)
82 {
83 return;
84 }
85 this->ComponentName = std::string(s);
86 this->DrawSide = drawSide;
87 this->ButtonSide = buttonSide;
88 this->SetText(std::string(txt));
89 }
90
91 void SetEnabled(bool enabled);
92 vtkGetMacro(Enabled, bool);

Callers

nothing calls this directly

Calls 2

stringClass · 0.50
SetTextMethod · 0.45

Tested by

no test coverage detected