TaskBar

From TrillWiki

Jump to: navigation, search

A taskbar control is used in the container window. This control is where the buttons are lined up to switch between attached windows. (Like the Windows Taskbar.) The same control type is used for normal containers and tabbed containers. Normal containers usually have a taskbar that looks like Windows Taskbar buttons at the bottom, while the tabbed container usually has buttons that look like tabs at the top of the container.

Starts like this:

<control name="containerTaskbar" type="taskbar">
<background name="<name>">
<source name="<bitmap name>" left="" top="" right="" bottom=""/>
&rect;
</background>

Standard background code

There are also some settings:

<settings name="" value=""/>
Name Value
button-type Name of resizeable button control
button-minx Minimum button width
button-miny Minimum button height
button-maxx Maximum button width
button-maxy Maximum button height
button-spacing Spacing between buttons


The taskbar needs a special resizable button to use. This special resizable button can include the following IControls.

IControl Name Control Type Description Version
text topic The name of the attached window All
icon switcher The names of the switcher states correspond to the names you defined in the container_taskbar="[name]" in the <window> declaration. All
close button Close this window Pro 2.0
detach button Detach this window Pro 2.0