a peg to hang something on

a peg to ˈhang something on

,

a peg on which to ˈhang something

an event, an occasion, a subject of discussion, etc. which is used by somebody to express opinions or ideas about something else: The professor makes any subject a peg on which to hang his political views.
See also: hang, on, peg, something