Ok, so with the cork in the bottom, this might be a salt shaker..?? But, it's always been used as a hat pin holder.
5" tall, and art deco design
Comes with 3 pins shown here.
The black pin is made of a hard plastic like a button
White pin has a mother of pearl look
The pretty metal pin has a cute filigree design and an old English initial that looks like an F...I think.
Excellent condition..nice!