I have been using Tkinter from couple of weeks. One thing I have noticed is that the tkinter widgets (Button, etc.) have 3 states: NORMAL
, ACTIVE
and DISABLED
. I understand the NORMAL
and DISABLED
states. Whats the difference between the ACTIVE
and NORMAL
states?
In Active/Standby configuration there is no need to implement a load balancing method before the nodes in order to share the load, since only one node will be active at any given time unless there is inconsistency. In Active/Active configuration both nodes are in active mode while handling the same function on the same state.
Finally, normal states are non-terminal states, so there is no difference. It may also be a good idea to describe what an absorbing state is, although this was not part of the question, but it's related. You must log in to answer this question.
The difference between these terminal states is what reward you will receive for reaching it. Finally, normal states are non-terminal states, so there is no difference. It may also be a good idea to describe what an absorbing state is, although this was not part of the question, but it's related.
In Active/Active configuration both nodes are in active mode while handling the same function on the same state. If there is a failure in one active node, then the other active node automatically handles the traffic and function of both nodes until the issue is resolved.
Tk sets state = ACTIVE when a mouse is over a non-DISABLED button option (i.e. NORMAL) It can then be made to appear raised, sunken, flat, flash etc. So basically, NORMAL enables a button while ACTIVE can change the appearance settings on mouse over etc. Hope this helps, there's a great post about it here:
http://tkinter.unpythonic.net/wiki/Widgets/Button
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With