EditorWindow Menu

Hi,
How can I add this menu to my custom editor window?
I want use dropdown and toggle like this…

Those toggles are just buttons, you can easily do that with

bool myButton;

myButton = GUILayout.Button("Button");
if (myButton)
{
    //do stuff
}

The dropdown is basic enum popup.

public enum YourEnum { Example1, Example2 }
public YourEnum myEnum;

void OnGUI
{
    myEnum = EditorGUILayout.EnumPopup(myEnum);
    if (myEnum == YourEnum.Example1)
    {
        //do stuff
    }
}

And how it looks is a simple Toolbar editor style

EditorGUILayout.BeginHorizontal(EditorStyles.toolbar);
// buttons and stuff go here.
EditorGUILayout.EndHorizontal();