Online Documentation Server
 ПОИСК
ods.com.ua Web
 КАТЕГОРИИ
Home
Programming
Net technology
Unixes
Security
RFC, HOWTO
Web technology
Data bases
Other docs

 


 ПОДПИСКА

 О КОПИРАЙТАХ
Вся предоставленная на этом сервере информация собрана нами из разных источников. Если Вам кажется, что публикация каких-то документов нарушает чьи-либо авторские права, сообщите нам об этом.




Naming Conventions
next up previous contents
Next: Program Structure Up: Writing An X Previous: Writing An X

Naming Conventions

The names of all routines belonging to the Xt intrinsics begin with Xt and the remainder of the name follows a mixed case convention, such as XtCreateManagedWidget. Widget class and instance names follow a mixed case convention but the class name begins with an uppercase letter and the instance name with a lowercase letter, such as the class name PushButton and the instance name pushButton. However, the Motif widget set tends to prefix widget class and instance names with Xm. Widget resources follow a similar convention, with resource class names beginning with an uppercase letter and the resource names beginning with a lowercase letter, such as the resource class name BorderColor and the resource name borderColor. When referencing widget resources within the program, prefixes like XmC or XtN are used to allow the compiler to check the names.



JR Pitchers
Wed May 3 16:45:04 BST 1995


With any suggestions or questions please feel free to contact us