Melt the butter in a skillet. Cook the onion and cabbage in the butter over medium-high heat until the cabbage is translucent.
Bring a small pot of water to a boil. Mix the flour and water together into a dough. Drop the dough by small spoonfuls into the boiling water and cook until firm; drain. Add the dumplings to the cabbage mixture. Season with salt to serve.