class PtFolderTab PtBasic { foldertab_text_font; // string foldertab_text_string; // string }
This widget is a tab that appears at the top of a PtFolder and gives access to the contents of the folder. Each PtFolderTab needs a PtPane as its first child. Clicking on the tab brings the PtPane to the front of the folder.
This widget is designed to toggle between "set" and "not set" each time it is selected. So, the first time you click on it, the folder will "open" to that tab setting. The next time you click on it, the folder will "close". If you prefer that the folder stay open to a tab no matter how many times it is clicked, you can incorporate into your code the do_not_unset function shown in the PtFolder Example.
This widget does not appear in the Photon documentation. |
A string specifying the font of the tab text. Default is "helv14".
A string comprising the text string of the tab. Default is "Tab".
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.