A reset may cause a loss of some ONT configuration information and further cause an Internet access failure. Note: Exercise caution when pressing the reset button. Press the button for a short time to reset the device, or press the button for a long time (longer than 10s) to restore the device to the default settings and reset the device. If the WLAN indicator is off, the wireless function is disabled. Note: If the WLAN indicator is steady on or blinks, the wireless function is enabled. When the wireless function (WLAN) is disabled, tap the WLAN/WPS switch for more than 1s to turn on the wireless function (WLAN). When the wireless function (WLAN) is enabled, press and hold the button WLAN/WPS switch for more than 5s to turn off the wireless function (WLAN). When the wireless function (WLAN) is enabled, press the WLAN/WPS switch for 1s to 5s to start Wi-Fi protected setup (WPS) negotiation. You are advised to turn on indicators to identify abnormalities in time. Note: You can also see buttons when you right-click or hover over a message. When the WLAN is on, press the WPS button (> 3s) and release the button to start Wi-Fi protected setup (WPS) negotiation. If the WLAN indicator is off, the WLAN function is disabled. Note: If the WLAN indicator is steady on or blinks, the WLAN function is enabled. When the WLAN is enabled, press the WLAN button (> 3s) and release the button to disable the WLAN. When the WLAN is disabled, press the WLAN button (> 3s) and release the button to enable the WLAN. The buttons are usually provided on a side of an ONT, as shown in the following figure. A Huawei ONT has the following buttons: power switch, WLAN button, WPS button, light button, and reset button. TkMessageBox.showinfo( "Hello Python", "Hello World")Ä« = Tkinter.Device buttons are an important part of an ONT. Has no effect if the button is disabled or there is no callback. Ignored if the button is disabled.Ĭalls the button's callback, and returns what that function returns. Leaves the button in the state it was in originally. If this value is set to a positive number, the text lines will be wrapped to fit within this length.įollowing are commonly used methods for this widget â Sr.No.Ĭauses the button to flash several times between active and normal colors. Width of the button in letters (if displaying text) or pixels (if displaying an image). If nonnegative, the corresponding text character will be underlined. Default is NORMAL.Äefault is -1, meaning that no character of the text on the button will be underlined. Has the value ACTIVE when the mouse is over it. Set this option to DISABLED to gray out the button and make it unresponsive. Some of the values are SUNKEN, RAISED, GROOVE, and RIDGE. How to show multiple text lines: LEFT to left-justify each line CENTER to center them or RIGHT to right-justify.Īdditional padding left and right of the text.Īdditional padding above and below the text. Image to be displayed on the button (instead of text). The color of the focus highlight when the widget has focus. Height of the button in text lines (for textual buttons) or pixels (for images). Text font to be used for the button's label. These options can be used as key-value pairs separated by commas.Ä«ackground color when the button is under the cursor.įoreground color when the button is under the cursor.įunction or method to be called when the button is clicked. Options â Here is the list of most commonly used options for this widget. Master â This represents the parent window. Here is the simple syntax to create this widget â SwitchMode sets the desired behavior of a Switch component based on. You can attach a function or a method to a button which is called automatically when you click the button. SwitchMode has NO impact on the behavior of GPIO configured as Button components.These buttons can display text or images that convey the purpose of the buttons. The Button widget is used to add buttons in a Python application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |