From: Joe Van Dyk Date: 2005-07-21T03:26:10+09:00 Subject: Re: ruby-gnome2 canvas pixbuf scaling On 7/20/05, Masao Mutoh wrote: > Hi, > > On Wed, 20 Jul 2005 06:34:12 +0900 > Joe Van Dyk wrote: > > > Hi, > > > > According to http://developer.gnome.org/doc/API/gdk-pixbuf/gnomecanvaspixbuf.html#GNOMECANVASPIXBUF--WIDTH-SET > > , to set the width or height of a CanvasPixbuf item, the width-set and > > height-set properties must be set to true. Otherwise, it's not taken > > into account. > > > > I searched the ruby-gnome2 bindings and didn't see any reference to > > width-set or height-set. Does ruby-gnome2 not support manually > > setting the width and height of an CanvasPixbuf item? > > Both of Gnome::CanvasPixbuf#width_set=(val) > and Gnome::CanvasPixbuf#height_set=(val) are available. > > # Have you tried rbbr? if not yet, try it. You can find all of the methods in a class. Thanks for the tip!