Skip to main content

pyqt-mac-buttons-widget

PyQt macOS style of titlebar buttons (e.g. min/max/close) widget

Requirements

  • PyQt5 >= 5.8

Setup

python -m pip install pyqt-mac-buttons-widget

Included Package

Method Overview

  • MacButtonsWidget(base_widget=None, hint=['min', 'max', 'close'])) - Constructor.

  • getMinimizedBtn(), getMaximizedBtn(), getCloseBtn(). I belive these three methods are quite self-explanatory.

  • This module is used for pyqt-custom-titlebar-window's macOS style button. You can see the example of this module's usage on the documentation at the link above.. later.

Example

This example is just to show how it looks.

from PyQt5.QtWidgets import QApplication

from pyqt_mac_buttons_widget import MacButtonsWidget



if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    widget = MacButtonsWidget()

    widget.show()

    app.exec_()

Result

image

Metadata

Release files for pyqt-mac-buttons-widget 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqt-mac-buttons-widget 0.0.15
File Size Uploaded
pyqt-mac-buttons-widget-0.0.15.tar.gz 3.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyqt-mac-buttons-widget 0.0.15
File Interpreter ABI Platform
pyqt_mac_buttons_widget-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / pyqt-mac-buttons-widget-0.0.15.tar.gz

Download URL pyqt-mac-buttons-widget-0.0.15.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fa65be374aca53b2a7c2306d0a1fcfbb62538225fa43041dbf0117622d2f1b97
BLAKE2b-256 checksum
How to use checksums
1d3a915bbb0bbd200569e65eaac68e28d750936c6fa460639a70eec026e88ac3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Release files / pyqt_mac_buttons_widget-0.0.15-py3-none-any.whl

Download URL pyqt_mac_buttons_widget-0.0.15-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d3e63b3bf9f6ee9162e0398edc2705b49cb1c03c15334f207a7e77fd816bd1a
BLAKE2b-256 checksum
How to use checksums
452a5f38d24a89cbb90bfc0549590389d6f83df85763132f72688c41f5450ef5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page