Re: [gtk-list] Sunken Button Outline
- From: Matt Goodall <mgg isotek co uk>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Sunken Button Outline
- Date: Wed, 22 Mar 2000 11:34:19 +0000
Matthew Cordes wrote:
>
> Hello all,
> Many Gtk applications seem to have the default button placed with a
> sunken box. Is there a trick to accomplish this effect? Is it simply a
> frame with a sunken shadow surrounding a padded button? Or is this donw
> through some function.
It's part of the button's behaviour.
You need to make sure the GTK_CAN_DEFAULT flag is set (using
GTK_WIDGET_SET_FLAGS) for the buttons and then call
gtk_widget_grab_default() on the button that should be the default.
HTH
/Matt
--
Matt Goodall | Isotek Electronics Ltd
email: mgg@isotek.co.uk | Claro House, Servia Road
Tel: +44 113 2343202 | Leeds, LS7 1NL
Fax: +44 113 2342918 | England
begin:vcard
n:Goodall;Matt
tel;fax:+44 113 234 2918
tel;work:+44 113 234 3202/3
x-mozilla-html:TRUE
org:Isotek Electronics Ltd
adr;quoted-printable:;;Claro House=0D=0AServia Road;Leeds;W.Yorks;LS7 1NL;England
adr:;;;;;;
version:2.1
email;internet:mgg@isotek.co.uk
x-mozilla-cpt:;-21184
fn:Matt Goodall
end:vcard
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]