Control

From TrillWiki

Jump to: navigation, search

Controls define the information for IControls. In general one Control can be used for many IControls. (For example, a generic topic control can be used for many different labels in Trillian. In fact, it's wise to create your template controls first and use them as much as possible for the various topic IControls.

[edit] XML Tree

This is the XML tree for where <control> code should go in your skin.

<trillian>
<prefs>
<control>...</control>
</prefs>
</trillian>

[edit] Control Code

<control name="<name of control>" type="<type of control>">
<!-- code included in here depends on the control type, but usually includes background code and / or settings code. -->
</control>

In most cases, the "name" is any arbitrary name you choose that you will use in the "source" attribute on the corresponding IControl. However, due to some plugins taking shortcuts to insert code, it might be a good idea to use the names STIXE uses whenever possible. "type" defines the type of control this is defining. (See the list below.)

For more information on code for individual controls, see the appropriate control below from Category:Skinning Control.

[edit] Control List

Personal tools