[9106] 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 (Federico Mena Quintero)
Thu Oct 8 16:47:24 1998

Date: Thu, 8 Oct 1998 16:46:24 -0400
From: Federico Mena Quintero <federico@nuclecu.unam.mx>
To: gtk-list@redhat.com
In-reply-to: <199810080948.JAA27341@dweezil.dyn.ml.org> (message from Greg
	Fall on Thu, 8 Oct 1998 09:48:24 +0000 (GMT))
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

>  I'm an absolute beginner.  Played around a little yesterday to get the
>  hang of a few things, naturally doing "Hello world" and wondering why
>  you can't apparently supply any padding between a button and its label
>  when you use button_new_with_label.  

GtkLabel derives from GtkMisc, so you can use

	gtk_misc_set_padding (GTK_MISC (my_label), xpad, ypad);

  Federico

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


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