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



>  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



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