There are a set of functions in that all widgets have, for setting and getting the value of the "widget" flags. These flags control many of the behaviors of the particular widget. The flag is actually a boolean property, that is either enabled or disabled. The functions for getting and setting these flags all follow the same pattern: bool GetFlagName() and void SetFlagName(bool enable). All of the flag get functions are public while some of the set functions are public and some are protected. The public flags should always be configurable, while some are for internal use by the widget and can be made public through the disgretion of the widget writter.