Date: Sun, 6 Mar 2005 23:26:32 +0000 To: lablgtk at kaba.or.jp Subject: Re: Set properties on widgets - how? Message-ID: <20050306232632.GA27784 at furbychan.cocan.org> References: <20050306225923.GA24625 at furbychan.cocan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050306225923.GA24625 at furbychan.cocan.org> From: Richard Jones OK, so I did find the "set_property" function, so now I have this: let headline_entry = let entry = GEdit.entry ~text:data.headline ~width_chars:45 ~packing:(table#attach ~top:0 ~left:1 ~expand:`NONE ~fill:`NONE) () in entry#misc#set_name "headline"; entry#misc#set_property "xalign" (`FLOAT 0.); entry in However this doesn't appear to do anything. What I want is for the entry box to be left aligned inside its table cell, and _not_ for it to fill (the width must remain at 45 chars). Something like this: +----------------------------------------------- table cell ------+ |+---------------------- entry box ---+ | || | | || | | || | | |+------------------------------------+ | +-----------------------------------------------------------------+ Is it possible to do this? Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com