-- Set up the event handlers for the ImageButton icons in the DockShelf

local icons = dockShelf:GetChildren()
for _, icon in ipairs(icons) do
	if icon:IsA("ImageButton") then
		icon.MouseButton1Click:Connect(function()
			toggleWindow(icon)
		end)
	end
end
