tabfolder

This widget represents a tab folder.


Attributes
Attribute Default Object Set Get Description
class - No Yes No The widget's style class. The value is as string text.
currenttabitem - Yes No Yes Give the current tabItem widget instance. This attribute is read only and could be use in action metod definition.
dataprovider null Yes No Yes The associated dataProvider.
focusedwidget - Yes No Yes Give the focused widget which is a child of the same focusManager that this widget instance. This attribute is read only and could be use in action metod definition.
id - No Yes Yes The widget's unique identifier. The value is as string text.
items - Yes Yes No The list of items (DataProvider) values.
nexttabkey - No Yes No Define the key used to switch to the next tab. The value is a string representing one KuixKeyCode (see the shortcuts attribute to know the list of available keys). The default value is right.
pressedshortcuts - No Yes No see shortcuts.
previoustabkey - No Yes No Define the key used to switch to the previous tab. The value is a string representing one KuixKeyCode (see the shortcuts attribute to know the list of available keys). The default value is left.
releasedshortcuts - No Yes No The widget key released shortcuts.
renderer - No Yes No The default item widget renderer. The value is an XML template.
repeatedshortcuts - No Yes No The widget key repeated shortcuts.
shortcuts - No Yes No The widget key pressed shortcuts. The value is a string representing one or more KuixKeyCode ( 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, *, #, softleft, softright, up, left, right, down, fire, delete, back, pencil ). The multiple keys separator is the '|'.
style - No Yes No The author style. The value is as string text where each style property/value couple is separated by a ';' and is conforme to style properties syntax. ( ex: color:red;layout:borderlayout ).
visible true No Yes No The widget visibility. The value is a string boolean ( true or false ).


Style properties
Property Default Inherit Description
align fill-top No Uneditable.
bg-align top-left No Define the background images alignment. The value is a list of alignment like align property separated by a '|'. This property is only used if bg-image is defined.
bg-color - No Define the background color. The value is a color like color property.
bg-image - No Define the background images. The value is a liste of image files path separated by a '|'.
bg-repeat 0 0 No Define the background images repeat method. The value is a list of <repeatx> <repeaty> separated by a '|'. 0 means infinit. This property is only used if bg-image is defined.
border 0 0 0 0 No Define the border size. Syntax : <top> <right> <bottom> <left>. If all the values are the same, you can specify only one value.
border-align - No Define the border images alignment. Syntax : <align top> <align top-right> <align right> <align bottom-right> <align bottom> <align bottom-left> <align left> <align top-left>. This property is only used if border-images is defined.
border-color - No Define the border color. The value is an array of 4 colors values (like color property). Syntax : <top> <right> <bottom> <left>. If all the values are the same, you can specify only one value.
border-image - No Define the border image.
Syntax : url(<img>)
or url(<img>) top right bottom left
or url(<top>) url(<top-right>) url(<right>) url(<bottom-right>) url(<bottom>) url(<bottom-left>) url(<left>) url(<top-left>).
border-stroke - No Define the border stroke. The value is dotted or solid.
color #000000 Yes Define the font color. The value is a color string ( red, green, blue, white, black or #rrggbb ).
gap 0 0 No Define the gap. The gap represents the space in pixels between widget of a same parant. It could depends of the parent's layout. Syntax : <hgap> <vgap>.
greyed-color none No Define greyed color used when the widget is added as a popup to the desktop to greyed it. By default this color is null.
layout borderlayout No Uneditable.
layout-data null No Define the widget layout data. The value is a layout data tag ( bld(<align>), sld(<align>,<width>,<height>) ).
margin 0 0 0 0 No Define the margin. The margin is the outside border space. Syntax : <top> <right> <bottom> <left>. If all the values are the same, you can specify only one value.
min-size 0 0 No Define the widget min size. Syntax : <minwidth> <minheight>.
padding 0 0 0 0 No Define the padding. The padding is the inside border space. Syntax : <top> <right> <bottom> <left>. If all the values are the same, you can specify only one value.
span 1 1 No Define the col and row span. Span is used only if the parent's widget is a TableLayout. Syntax : <colspan> <rowspan>.
weight 0 0 No Define the weight x and y. Weight is used only if the parent's widget is a TableLayout. Syntax : <weightx> <weighty>.


Pseudo Classes
Name Description


Available internal widgets
Internal widget Description
tabfolderbuttonscontainer The widget that contains tabButtons.
tabfoldercontainer This widget represents the tabFolder's container (where tabItems are added).
tabfolderdefaulttabitem This widget represents the tabFolder's default tab item. The default tabItem displayed if the tabFolder contains no tab or all are disabled.


Copyright © 2007-2008 Kalmeo. All Rights Reserved.