SDL Widget

Hello all!

Where can I find the info or samples how to write a simple widget using
SDL, for example the simple list box or text area. Thanx.