i dont think any gambler will intentionally want their kid to see them doing it. kids learn so fast and when they see their parent doing it they also want to try. its good to take caution and be very careful sometimes these kids might be watching their parents without them knowing and then they go to start practising behind them. one thing about children is that the like to practise what they see and if they see it constantly, it gives them confidence to want to try it.
I agree with you, how bad attitude or habit from parent they won't their children allow with his bad thing, all parent want give the best for their children but still not find right way how to guide or show them. Need private with gambling from our children and as soon possible we have clear all mobile phone history when our children use the same mobile phone or computer. Never give opportunity or make our children know with gambling and we are as parent must teach them which one better or not, if parent did bad in front of their children actually difficult when advice them for making some thing well later.