把一切操作变成GUI
2024-04-15 11:54 deepin
Backbone of ecological co-construction group
excuse,
Can you take a screenshot and compare it?
Reply Like 0 View the author
excuse,
Can you take a screenshot and compare it?
excuse,
Can you take a screenshot and compare it?
sorry for not providing screenshots.this image on gnome
and this image is on dde-dock
@berners my python code is as follows. only indicatror part
def set_date_label(self):
self.indicator.set_label(self.nep_date.get_today_bs_label(True), "")
return True
def main(self):
self.nep_date = NepaliDateConverter()
self.indicator.set_label(self.nep_date.get_today_bs_label(True), "")
GObject.timeout_add_seconds(300, self.set_date_label)
self.menu.append(self.to_bs_menu)
self.menu.append(self.to_ad_menu)
self.menu.append(self.quit_item)
Gtk.main()
and full code is here
Popular Events
More
I have a python script using gi-repository app indicator to display text as indicator label and icon alongside. Script works on xfce panel, gnome dash to dock panel and unity dock. In dde-dock only icon shows. Is there a way to set text as indicator label?