[9122] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: padding on buttons w/text

daemon@ATHENA.MIT.EDU (Greg Fall)
Fri Oct 9 09:55:59 1998

From: Greg Fall <gmf@dweezil.dyn.ml.org>
Date: Fri, 9 Oct 1998 09:51:13 +0000 (GMT)
To: gtk-list@redhat.com
In-Reply-To: <000001bdf35e$892942e0$bb5395c1@default>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

"Damon Chaplin" <DAChaplin@email.msn.com> wrote:
> 
>   button = gtk_button_new_with_label ("Hello World");
>   gtk_misc_set_padding (GTK_MISC (GTK_BUTTON (button)->child)), 20,
> 10)

Damon,

Best solution I've seen; way better than the pile of widgets I was
having at.  I was not aware that you could generically refer to a child
widget like that.


--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--

Greg Fall
gmfall@engin.umich.edu, gmf@dweezil.dyn.ml.org
http://www-personal.engin.umich.edu/~gmfall

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post