Reimplementation of Gschem using Gtk+-3.0
Identifier | Case | Example | Notes |
---|---|---|---|
Classes, Interfaces, and Structs | Upper Camel Case | MainWindow |
|
Constants | Upper Snake Case | PACKAGE_NAME |
|
Enumeration Types | Upper Camel Case | ParseError |
|
Enumeration Values | Upper Snake Case | OUT_OF_RANGE |
|
Error Domains | Upper Camel Case | ParseError |
|
Fields, Backing Store | Lower Snake Case | b_tree_model |
Use a b_ prefix to denote backing stores. |
Fields, Instance Members | Lower Snake Case | m_tree_model |
Use an m_ prefix to denote instance members. |
Fields, Static | Lower Snake Case | s_file_filter |
Use an s_ prefix to denote static fields. |
Methods | Lower Snake Case | on_file_save |
|
Namespaces | Upper Camel Case | Cairo |
|
Properties | Lower Snake Case | file_version |
|
Signals | Lower Snake Case | delete_event |
|
Varibles | Lower Snake Case | page_index |