Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Dliammc
CustomPyQt
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
CLabel
Jump to bottom
D. Liam Mc. edited this page
Apr 18, 2026
·
3 revisions
Example
label
=
CLabel
(
self
,
text
=
"CLabel"
)
Arguments
Argument
Value
master
self, Any PySide Qt Widget or PyCt Widget
width
integer, width in pixels
height
integer, height in pixels
text
string, text
tooltip
string, tooltip
icon
string, image folder path
icon_size
tuple: (image width, image height), image size in pixels
font_family
string, font
font_size
integer, font size in pixels
font_style
string, font style
border_width
integer, border width in pixels
corner_radius
integer, corner radius in pixels
text_color
tuple: ("light color", "dark color") or single color, text color
background_color
tuple: ("light color", "dark color") or single color, background color
border_color
tuple: ("light color", "dark color") or single color, border color
disabled_text_color
tuple: ("light color", "dark color") or single color, disabled text color
disabled_background_color
tuple: ("light color", "dark color") or single color, disabled background color
Wiki pages
Pages
17
Loading
Home
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CApplication
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CButton
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CComboBox
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CFrame
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CLabel
Example
Arguments
Loading
CLineEdit
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CMainWindow
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CSlider
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CTextEdit
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CTopLevel
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
CustomPyQt Basics
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
get_appearance_mode
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
get_color_theme
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
set_appearance_mode
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
set_color_theme
Uh oh!
There was an error while loading.
Please reload this page
.
Loading
update_appearance_mode
Uh oh!
There was an error while loading.
Please reload this page
.
Show 2 more pages…
Clone this wiki locally
You can’t perform that action at this time.