Widgets w/o borders & shadows?




Hi all! Just a quick question;

Is it possible to draw widget, i.e. a button or menubar, without any
shadow or "3D-like" border?

I tried using labels instead, but I couldn't get them to work with
tooltips...

I'm tempted to make a separate widget for it, something like
"GtkBorderlessButton" or similar... OTOH, we could have an awful lot of
widgets around eventually, if we'd have a new one for every tiny
"speciality".

The ideal thing would be to add a flag in _GtkButton (among others), which
simply indicates wether of not a shadow is to be drawn...

Tnx,
Vidar



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