Development - Declaring Procedures

From Bluefish Wiki
Revision as of 11:14, 9 July 2010 by Bill Valaski (talk | contribs) (moved Man 2 ch12s03 to Development - Declaring Procedures: Title updates (BV))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


3. Declaring procedures

All local functions should be static!

Callback functions (called for events such as button clicks) should have prefix _cb, or _lcb for local callbacks.

For GTK callback functions, use the name of the signal in the name.