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



"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



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