[maemo-developers] How to disable the borders of GtkComboBox

From: koos vriezen koos.vriezen at gmail.com
Date: Mon Feb 9 22:58:25 EET 2009
2009/2/3 Zhihai Wang <pageguest at gmail.com>:
> Dear all,
>
> Maybe it's not the proper place to ask this question. But if anyone knows
> the answer, please tell me, thanks in advance.
>
> There will be a black rectangle border around GtkComboBox by default, and I
> want to hide it.
>
> I have tried several ways such as set_border_width and use gtkrc, but I just
> didn't make it:(
>
> If anyone knows, please tell me, thanks very much!

In my experiences, what saves frustration like this is to simple look
in the source code, gtkcombox.c in this case. Skimming the code,
starting with the painting (expose event), suggest that the
'has-frame' property might work.

Br
Koos

More information about the maemo-developers mailing list