- Base classes start with
Clid
, except for__main__.ClidApp
; Eg:ClidMultiLine
.
- Forms end with
View
; Eg:MainView
- Forms will have
prefdb
andmp3db
attributes, refering toprefdb
andmp3db
attributes of__main__.ClidApp
. - Traditional Forms will also have a
maindb
attribute, refering to the database it will be mostly interacting with; Eg:maindb
attribute ofPreferencesView
will refer toprefdb
- Widgets start with first name of parent form; Eg:
MainActionController
is a child widget of parent formMainView
. - If the same widget is used by more than one form, above convention fails.
Handlers are executed when a keypress matches a keybinding.
- Handlers start with
h_
; Eg:h_cursor_up
. char
parameter of a handler is generally not used.