开发者

How to draw this window?

开发者 https://www.devze.com 2023-01-21 14:58 出处:网络
Can I create a window without this topbar? : 开发者_如何学运维 I want a window like this: Here they say you could try:

Can I create a window without this topbar? :

开发者_如何学运维

How to draw this window?

I want a window like this:

How to draw this window?


Here they say you could try:

gtk.Window.set_decorated(False)


You could also do

window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_SPLASHSCREEN)

but that doesn't have rounded corners either, at least on my theme. As eumiro says, that depends on the theme settings.

0

精彩评论

暂无评论...
验证码 换一张
取 消