Date: Tue, 24 Aug 2004 08:48:13 +0200 (CEST) Message-Id: <20040824.084813.59480473.oandrieu at nerim.net> To: pascal.brisset at enac.fr Cc: lablgtk at kaba.or.jp Subject: Re: canvas in scrolled_window From: Olivier Andrieu In-Reply-To: <16681.55047.924115.955630 at sepia.recherche.enac.fr> References: <16681.55047.924115.955630 at sepia.recherche.enac.fr> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Pascal Brisset [Mon, 23 Aug 2004]: > I got a small problem with scrollbars: I put a canvas in a > scrolled_window and I do not want to set the size of the canvas at > the initialization. When I put later big images in the canvas, the > canvas is resized correctly but the scrollbars of the > scrolled_window are not. Do I have to inform the scrolled_window > that the canvas has been resized ? You have to use canvas#set_scroll_region . -- Olivier