A method for establishing, by a processing device, a functional relation between a control input and a controllable function, the method comprising, by the processing device: providing a graphical user interface including a display area; positioning a first user-interface element at a first position within the display area, the first user-interface element representing a control input; positioning a second user-interface element at a second position within the display area, at a distance from the first user-interface element; the second user-interface element representing a controllable function of the electronic device; causing issuing, responsive to said control input, a control command for controlling the controllable function; wherein the control command is a function of the first and second positions relative to another.