GtkButton vs. GtkLabel font relief: how to customise one or the other?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I would like to create a completely borderless button.

  1. Using gtk_button_set_relief(GtkButton, GTK_RELIEF_NONE) changes the button appearance on GTK_STATE_NORMAL only.
  2. Using a GtkEventBox to wrap a label has two graphical drawbacks:
    1. the label's font has no relief in comparison to the button's font,
    2. 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
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux