I am trying to add a title to my python conversations, but I could not do this.
This is my code:
dialog=Gtk.MessageDialog(None, 0, Gtk.MessageType.ERROR, Gtk.ButtonType.OK, "wrong password") dialog.run() dialog.close()
You can install it with:
dialog.set_title ("My app name")
Source: https://habr.com/ru/post/1674473/More articles:Show object in front of player always - c #Implementing a context timeout on each request using golang - httprequestСтатистика Дурбина-Ватсона для данных одномерного временного ряда - pythonHow to debug Java maven spring-boot application in vs code? - java"Failed to load credentials from any providers" when using dynamodb locally in Node - javascriptИзменить цвет точки на клике с помощью ChartJS - javascriptThe correct way to manage test / prod connection chains in the .NET web.config file is c #Changing the connection string from development to release when publishing - c #How to find out who did not handle the event - c #Unable to make / delete entry for specified session - cron - dockerAll Articles