Hi list,

Is there any way to inherit common options from parent widgets?

Tk Themed widgets allow me to define a hierarchy of styles on different
types of widgets. For example, I can have TButton, or Derived.TButton.

What I'm asking is if I have a frame with red background color, I would
love for all frames (or button, or any widget making use of the background
option) placed in that frame to also inherit its redness unless a style has
been specified. I guess (but am not sure) that this is similar to Cascade
Style Sheet.

Thanks!
Nam
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to