7.4.2 Graphical Editing of CSS Classes

A class object defined within CSS can be edited using the edit command or the EditObj function (described below). Classes offer the ability to customize the edit dialog through the use of comment directives, which are the same as those used in the hard-coded C++ classes with the TypeAccess system. These allow class member functions to be associated with a button (using the #BUTTON directive) which, when pressed, calls the member function. By default functions are added to an "Actions" menu, but the #MENU_ON_menuname directive puts that function on a menu named "menuname". The full list of directives is given in section 17.3 Standard TypeAccess Comment Directives.