based on the Foundry's Autobackdrop.py with a nuke panel asking for the label and the name of your autobackdrop, with 4 colors presets and 4 different font size. the Default color is grey.
labelAutobackdrop
Updated: 8 August 2011
Author: Geoffroy
Compatible Nuke versions: 6.0 or later
Compatibility: Linux, Mac, Windows
You can add this line to your menu.py:
menuToolbar = nuke.toolbar('Nodes')
geoffToolbar = menuToolbar.addMenu('GeoffTools')
geoffToolbar.addCommand('Shortcut/Backdrop', 'autobackdrop.autoBackdrop()', 'Alt+m')
'Alt+m' is the hotkey I chose for this script, feel free to change if you want.
Enjoy ;-)
Geoffroy.