Most of these windows are defined by their coefficients. A Hanning window is a Hanning window due to the values of the coefficients. What parameters do you want to modify to customize your own window? Most windows are used to minimize discontinuites due to finite sampling of the data. What are you using a window for?
As I mentioned before, if you want a window of a certain width, then create an array of all ones of your desired 'width' and apply the window function to this array and you will have your of desired 'width' and then pad zeros around it to make it the same size as your sampled signal and place it where you want it to be.
As for changing the shape of the window, there are a couple with an input the modifies the shape of the window, but most have a well defined shape optimized for specific applications.
Randall Pursley