Re: Change distance between buttonborder and the containing widget



On Mon, 2005-01-24 at 16:47 +0000, Roger Leigh wrote:
On Mon, Jan 24, 2005 at 04:49:04PM +0100, Felix Bueltmann wrote:

Is there a way to change the distance between the buttonborder and the
containing widget? I need a button with an image as containing widget,
and the distance between this should be max 1 px. 

Since a GtkButton derives from GtkContainer, you can use

gtk_container_set_border_width(GTK_CONTAINER(button), width);


Regards,
Roger


If I do so, it just changes the border between the button and the
widgets next to it. 

-- 
Felix Bueltmann <mailing list visionexe de>




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