GtkButton vs. GtkLabel font relief: how to customise one or the other?
- From: Benjamin Trias <jesuisbenjamin gmail com>
- To: gtk-list gnome org
- Subject: GtkButton vs. GtkLabel font relief: how to customise one or the other?
- Date: Tue, 10 May 2011 11:13:50 +0200
Hello,
I would like to create a completely borderless button.
- Using gtk_button_set_relief(GtkButton, GTK_RELIEF_NONE) changes the button appearance on GTK_STATE_NORMAL only.
- Using a GtkEventBox to wrap a label has two graphical drawbacks:
- the label's font has no relief in comparison to the button's font,
- the event box, even when set_visible_window() is set to False, renders a resize-handle on the bottom, right hand side.
Ideally i would like to create a borderless button-like widget, with font relief, callbacks and no resize handle.
I detailed this problem on StackOverflow with screenshots:
http://stackoverflow.com/questions/5924037/gtkbutton-vs-gtklabel-font-relief-how-to-customise-one-or-the-other
Thanks for your help.
Benjamin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]