Ok, so here is how I did it for now (c++).
We just need to expose a built in constant function to set its value in gd script.
added the following lines of code to the control .h public section
bool clips_inp;
virtual void set_clips_input( bool clip_i);
added/inserted the following lines of code to the control .cpp
bool Control::clips_input() const {
return clips_inp;
}
void Control::set_clips_input( bool clip_i){
clips_inp=clip_i;
}
Control::Control() { ...
clips_inp = false; }
void Control::_bind_methods() { ...
ObjectTypeDB::bind_method(_MD("set_clips_input","clip_i"),&Control::set_clips_input); }
now we can set clip input in every control node with gd script:
set_clips_input(true)
had to re add some of the affected nodes in the editor after recompiling for it to take effect.