A cock-o-the-walk is someone who exhibits confidence, perhaps unfounded confidence but they demonstrate it anyway. This real cockerel I found personifies that attitude. A bit scruffy but nevertheless full of his own importance.
Read this post on amasc.blogspot.com