Python GUI Development with GTK+ 3 - Tutorial 3 - Properties

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I am trying to add button label as mentioned in properties section, but getting this error .

>> label = Gtk.Label(label="Hello", angle=25, halign=Gtk.Align.END)
>> self.button = Gtk.Button(label=label)
error: label can be of type str not Label.

mohitkumar_aka_minto