CtrlLib: TabCtrl::Item::GetText, GetPicture

git-svn-id: svn://ultimatepp.org/upp/trunk@11085 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-05-14 12:16:36 +00:00
commit 7db4d4c20e
2 changed files with 12 additions and 0 deletions

View file

@ -51,6 +51,8 @@ public:
const Ctrl *GetSlave() const { return slave; }
Ctrl *GetCtrl() { return ctrl; }
const Ctrl *GetCtrl() const { return ctrl; }
String GetText() const { return text; }
PaintRect GetPicture() const { return pict; }
Item();

View file

@ -307,4 +307,14 @@ e]()_[@(0.0.255) const]&]
)_[@(0.0.255) const]&]
[s2; Returns the control that appears inside the header tab.&]
[s3;%- &]
[s4;%- &]
[s5;:Upp`:`:TabCtrl`:`:Item`:`:GetText`(`)const:%- [_^Upp`:`:String^ String]_[* GetText](
)_[@(0.0.255) const]&]
[s2; Returns the text set by Text.&]
[s3;%- &]
[s4;%- &]
[s5;:Upp`:`:TabCtrl`:`:Item`:`:GetPicture`(`)const:%- [_^Upp`:`:PaintRect^ PaintRect]_[* G
etPicture]()_[@(0.0.255) const]&]
[s2; Returns the PaintRect set by Picture or SetImage.&]
[s3;%- &]
[s0; ]]