The Variables

When you use a widget, that has the ability to highlight text, such as in a text widget, or listbox, you will have the option to configure the selectforeground and selectbackground color. Now instead of hard coding the color you should use the savIRC variable for the color.

-selectforeground $GUI(selectforeground)
-selectbackground $GUI(selectbackground)
		

If you make buttons, other than the ones in the menu's, you will have the option to set the border width. All buttons in savIRC use the border width of 2.

-bd 2
		

When a user changes the fonts in the savIRC configuration dialog, they could potentially change the fonts of the buttons also, so to make sure that your buttons' font changes, use the savIRC variable.

-font $font(button)
		

savIRC has variables for the Downloads and Scripts folders. They are: