Socket
Socket
Sign inDemoInstall

showdialog

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    showdialog

Simple module for showing GTK dialog


Maintainers
1

Readme

showdialog

Simple module for showing GTK dialog.

Install

pip install showdialog

Usage

showdialog.show_msg(title, text, sectext, btns, msgtype)

Opens GTK MessageDialog

Args
NameTypeDescriptionDefault value
titlestrDialog captionRequired
textTuple[Optional[str], bool] | Optional[str]Dialog primary text, str or tuple: (text, use_markup)Required
sectextTuple[Optional[str], bool] | Optional[str]Dialog secondary text, str or tupleNone
btnsGtk.ButtonsTypeDialog buttonsGtk.ButtonsType.OK
msgtypeGtk.MessageTypeDialog message typeGtk.MessageType.INFO
Example:
from showdialog import show_msg
show_msg(title='', text='Hello world!')

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc