ultimatepp/uppsrc/CtrlLib/src.tpp/ToolBar$en-us.tpp
cbpporter 58184ad9fd CtrlLib documentation update
git-svn-id: svn://ultimatepp.org/upp/trunk@957 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-03-13 18:14:11 +00:00

88 lines
No EOL
4.2 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

topic "ToolBar";
[2 $$0,0#00000000000000000000000000000000:Default]
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
[l288;2 $$2,0#27521748481378242620020725143825:desc]
[0 $$3,0#96390100711032703541132217272105:end]
[H6;0 $$4,0#05600065144404261032431302351956:begin]
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement]
[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param]
[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam]
[b42;2 $$9,9#13035079074754324216151401829390:normal]
[{_}
[ {{10000@3 [s0;%% [*@(229)4 ToolBar]]}}&]
[s3; &]
[s1;:ToolBar`:`:class: [@(0.0.255)3 class][3 _][*3 ToolBar][3 _:_][@(0.0.255)3 public][3 _][*@3;3 Ba
rCtrl]&]
[s0;%% &]
[s2;%%
@@image:2300&162
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>Ρí<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ň<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Л<EFBFBD><EFBFBD><EFBFBD>詿<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>簿<EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ψ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
檿<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>в<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǖ
&]
[s0;%% &]
[s9;%% This class provides tool`-bars.&]
[s3;%% &]
[s0; &]
[ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&]
[s3; &]
[s5;:ToolBar`:`:Set`(Callback1`<Bar`&`>`): [@(0.0.255) void]_[* Set]([_^Callback1^ Callback
1][@(0.0.255) <]Bar[@(0.0.255) `&>]_[*@3 bar])&]
[s2;%% This method sets the new content to the ToolBar. Content should
always be provided as Bar routine `- items should never be Add
directly. You should call this each time status of any ToolBar
button changes. ToolBar contains smart refresh logic so that
only items actually changed are repainted.&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:Post`(Callback1`<Bar`&`>`): [@(0.0.255) void]_[* Post]([_^Callback1^ Callba
ck1][@(0.0.255) <]Bar[@(0.0.255) `&>]_[*@3 bar])&]
[s2;%% Deprecated `- do not use.&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:ButtonMinSize`(Size`): [_^ToolBar^ ToolBar][@(0.0.255) `&]_[* ButtonMinSize
]([_^Size^ Size]_[*@3 sz])&]
[s2;%% Sets the minimal size of standard ToolBar button.&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:MaxIconSize`(Size`): [_^ToolBar^ ToolBar][@(0.0.255) `&]_[* MaxIconSize]([_^Size^ S
ize]_[*@3 sz])&]
[s2;%% Sets the maximum size of an icon displayed in a button from
the toolbar to [%-*@3 sz].&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:StyleDefault`(`): [@(0.0.255) static] [@(0.0.255) const]_[_^ToolBar`:`:Style^ S
tyle][@(0.0.255) `&]_[* StyleDefault]()&]
[s2;%% Returns the default style used to paint a ToolBar.&]
[s3; &]
[s4; &]
[s5;:ToolBar`:`:SetStyle`(const ToolBar`:`:Style`&`): [_^ToolBar^ ToolBar][@(0.0.255) `&]_
[* SetStyle]([@(0.0.255) const]_[_^ToolBar`:`:Style^ Style][@(0.0.255) `&]_[*@3 s])&]
[s2;%% Sets the visual style to ToolBar`::Style [%-*@3 s].&]
[s3;%% &]
[s4; &]
[s5;:ToolBar`:`:GetStdHeight`(`): [@(0.0.255) static] [@(0.0.255) int]_[* GetStdHeight]()&]
[s2;%% Returns the standard height of a toolbar when used as a frame.&]
[s3; &]
[s0; &]
[ {{10000@3 [s0;%% [*@(229)4 ToolBar`::Style]]}}&]
[s3;%% &]
[s1;:ToolBar`:`:Style`:`:struct: [@(0.0.255)3 struct][3 _][*3 Style][3 _:_][@(0.0.255)3 public][3 _
][*@3;3 ChStyle][@(0.0.255)3 <][*3 Style][@(0.0.255)3 >][3 _]&]
[s9;%% This structure defines the visual style of a ToolBar.&]
[s3; &]
[s0;%% ]