Re: Change distance between buttonborder and the containing widget
- From: Roger Leigh <rleigh whinlatter ukfsn org>
- To: gtk-app-devel-list gnome org
- Subject: Re: Change distance between buttonborder and the containing widget
- Date: Mon, 24 Jan 2005 16:47:16 +0000
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
--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]