PyQt5 QCommandLinkButton - Setting down property Last Updated : 30 Jun, 2020 Comments Improve Suggest changes Like Article Like Report In this article we will see how we can set down property to the QCommandLinkButton. Down property holds whether the command link button is pressed down. If this property is true, the button is pressed down. The signals pressed and clicked are not emitted if we set this property to true. By default this property is false. In order to do this we use setDown method with the command link button object Syntax : button.setDown(True) Argument : It takes bool as argument Return : It return None Below is the implementation Python3 1== # importing libraries from PyQt5.QtWidgets import * from PyQt5 import QtCore, QtGui from PyQt5.QtGui import * from PyQt5.QtCore import * import sys class Window(QMainWindow): def __init__(self): super().__init__() # setting title self.setWindowTitle("Python ") # setting geometry self.setGeometry(100, 100, 500, 400) # calling method self.UiComponents() # showing all the widgets self.show() # method for components def UiComponents(self): # creating a command link button cl_button = QCommandLinkButton("Press", self) # setting geometry cl_button.setGeometry(250, 100, 200, 50) # setting down property cl_button.setDown(True) # create pyqt5 app App = QApplication(sys.argv) # create the instance of our Window window = Window() # start the app sys.exit(App.exec()) Output : Comment More infoAdvertise with us Next Article PyQt5 QCommandLinkButton - Setting down property R rakshitarora Follow Improve Article Tags : Python Python-PyQt Python-gui Python PyQt-QCommandLinkButton Practice Tags : python Similar Reads PyQt5 QCommandLinkButton - Setting Flat property In this article we will see how we can set the flat property to the QCommandLinkButton. This property holds whether the command link button border is raised. This property's default is false. If this property is enabled, most styles will not paint the command link button background unless the button 1 min read PyQt5 QCommandLinkButton - Setting Auto Repeat Property In this article we will see how we can set the auto repeat property of the QCommandLinkButton. If auto repeat property is enabled, then the pressed, released, and clicked signals are emitted at regular intervals when the command link button is down. Auto repeat property is off by default. The initia 2 min read PyQt5 QCommandLinkButton - Setting Auto Default Property In this article we will see how we can set the auto default property of the QCommandLinkButton. If this property is set to true then the command link button is an auto default button. In some GUI styles a default button is drawn with an extra frame around it, up to 3 pixels or more. Qt automatically 2 min read PyQt5 QCommandLinkButton - Setting Animate Click Property In this article we will see how we can set animate click property of the QCommandLinkButton. This property performs an animated click i.e the button is pressed immediately, and released after some milliseconds later (the default is 100 ms). Calling this function again before the button is released r 1 min read PyQt5 QCommandLinkButton - Setting Auto Exclusive Property In this article we will see how we can set the auto exclusive property of the QCommandLinkButton. If auto-exclusivity is enabled, checkable command link buttons that belong to the same parent widget behave as if they were part of the same exclusive button group. In an exclusive command link button g 2 min read Like