开发者

How to remove "selected" border around GtkButton?

In GTK+, how to remove this dotted border aro开发者_如何学Pythonund a GtkButton, which gets drawn after we click the button?

How to remove "selected" border around GtkButton?


This is the "focus" indicator. To get rid of this, remove support for keyboard-controlled focus from the button, like this:

GTK_WIDGET_UNSET_FLAGS(GTK_WIDGET(button), GTK_WIDGET_CAN_FOCUS);
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜