You're probably talking about Yosemite Sam.
Porky Pig's first appearance was in "I Haven't Got a Hat" (1935) ~ see related link below to Porky's filmography .
Bosko was Looney Tunes' first major lead character, starring in the 1929 short Bosko, The Talk-Ink Kid. The first Looney Tunes short was Sinkin' in the Bathtub, released in 1930 and starring Bosko. It is common misconception that Porky Pig is the first Looney Tunes star, but he didn't actually come around until 1935 after producers Harmon and Ising parted with Warner Bros. in 1933. Porky Pig was created by animators in the Termite Terrace studio (a part of Warner Bros.).
Cowboy Hat Cowboy boots Rope Toy Horse Toy Gun Guitar
Cowboy hat, cowboy Boot's, gun,rope,guiter,horse.
cowboy hat, toy gun, rope, horse, cowboy boots, guitar
a cowboy takes both a rifle and a hat
Cowboy hat, gun, knife, rope, horse, costume, pajamas, bedding... the list is endless.
The correct name for the graduation hat is a mortarboard.
The name of a traditional magician's hat is a top hat. This is the hat that magician's use to pull rabbits, birds and scarves out of.
Military Uniform, Fake Beard, Cigar, Hat, Bandana, Gun
Army green with a special hat (and a gun!)
The sorting hat