MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / GetParent

Method GetParent

LibLemon/include/lemon/gui/widgets.h:57–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56 virtual void SetParent(Widget* newParent) { parent = newParent; UpdateFixedBounds(); };
57 Widget* GetParent() { return parent; }
58
59 virtual void SetLayout(LayoutSize newSizeX, LayoutSize newSizeY, WidgetAlignment newAlign = WAlignLeft, WidgetAlignment newAlignVert = WAlignTop){ sizeX = newSizeX; sizeY = newSizeY; align = newAlign; verticalAlign = newAlignVert; UpdateFixedBounds(); };
60

Callers 4

FileViewOnListSelectFunction · 0.80
OnFileButtonPressFunction · 0.80
OnListSubmitMethod · 0.80
OnTextBoxSubmitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected