"Fossies" - the Fresh Open Source Software archive

Member "Tix8.4.3/docs/html/TixBook/subsubsectionstar3_3_5_2.html" of archive Tix8.4.3-src.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.



Next: Creating the Button Up: The TixSelect Widget Previous: Creating A TixSelect

 

Label and Orientation 

As shown in program 1-11, with the -label option, we can put a label next to the button subwidgets as the caption of the TixSelect widget. We can also control the layout of the button subwidgets using the -orientation option. The -orientation option can have two values: horizontal (the default value) or vertical, and the buttons are lied up accordingly. Figure 1-12 shows the output of a TixSelect widget whose -orientation is set to vertical.