Class of frame.
UIFrame([<caption>],[<type>]) --> UIFrame object
box := UIVBox() frame := UIFrame("Section", FRAME_RAISED) frame:setGrid(box)
Andrey Cherepanov <<skull@eas.lrn.ru>>
No dependies of platform.
Set placement widget inside frame.
add(<grid>)
Returns NIL.
Set frame label.
setLabel(<label>)
Returns NIL.
Set frame type.
setType(<type>)
<type> | - Number. Frame type. |
<itemizedlist mark="bullet"> | |
<listitem> | <para><constant>FRAME_PLAIN</constant> — no border</para></listitem> |
<listitem> | <para><constant>FRAME_SUNKEN</constant> — all frame is sunken</para></listitem> |
<listitem> | <para><constant>FRAME_RAISED</constant> — all frame is raised like a button</para></listitem> |
<listitem> | <para><constant>FRAME_IN</constant> — only sunken border (default)</para></listitem> |
<listitem> | <para><constant>FRAME_OUT</constant> — only raised border</para></listitem> |
</itemizedlist> |
Returns NIL.
Constructor. Create frame with label.
UIFrame([<caption>],[<type>]) --> UIFrame object
<caption> | - String. Label at top of the frame. |
<type> | - Number. Frame type. |
<itemizedlist mark="bullet"> | |
<listitem> | <para><constant>FRAME_PLAIN</constant> — no border</para></listitem> |
<listitem> | <para><constant>FRAME_SUNKEN</constant> — all frame is sunken</para></listitem> |
<listitem> | <para><constant>FRAME_RAISED</constant> — all frame is raised like a button</para></listitem> |
<listitem> | <para><constant>FRAME_IN</constant> — only sunken border (default)</para></listitem> |
<listitem> | <para><constant>FRAME_OUT</constant> — only raised border</para></listitem> |
</itemizedlist> |
Returns NIL.