Delivered-To: garrigue at math.nagoya-u.ac.jp Authentication-Results: mailhost.math.nagoya-u.ac.jp sender=lablgtk-list-bounces at lists.forge.ocamlcore.org; domainkey=neutral (no query protocol specified; no policy for lists.forge.ocamlcore.org) Delivered-To: lablgtk-list at smtp.ocamlcore.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=+Vb5PxKOR4V5NqOeoXn7xG9Ay1gENAivtvCGY/1uy74=; b=fUPoMLeTxzmIRtDzoiFrzCVZpSCaVAUxBZ/YHxO2B3t6ZrU2FbIpRSQrbMOkj0QhUg 3kPkRhTJimywZnjc7xBpdpKlXh/ovQAUmiF9xuXHknAIm24+WCtECpFC13OPZWDNez7a roLGM5Kv+cB2+55t4cc9tRlnopUhQd/WLtmXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=sdpmqVfmqAngSi0niNvJyYbqp/2VsJLB3OUwUHqDHBQfsSR4l7m9+eifG5IWlLek9D ZxhQkaXMVL7plfGxJ2O2sUq5EAFT10IUzKBwTvFjc5G48hnrXTFkFgJ3+ewZ4Z5fDhaW cmOb8iKQdxt38djAbtMkpzRuy9MSotvoy+2HI= Mime-Version: 1.0 (Apple Message framework v1084) From: Jacques Garrigue In-Reply-To: <4D95DEC9.70807 at colba.net> Date: Mon, 4 Apr 2011 08:50:35 +0900 Message-Id: References: <1BD26E40-E297-43DF-B3E6-3F3E685DC7C2 at philou.ch> <8499E6DB-C655-48B4-AED6-601EFD1565C4 at math.nagoya-u.ac.jp> <020F349D-074C-49FD-9D9F-AA3D56F6FD78@philou.ch> <4D95DEC9.70807@colba.net> To: eliot at colba.net Cc: lablgtk-list at lists.forge.ocamlcore.org Subject: Re: [Lablgtk-list] Labltk panedwindow? Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 2011/04/01, at 23:18, Eliot Handelman wrote: > It would be hugely convenient for me to get the panedwindow widget from tcl/tk into LablTk. Any > suggestions? It is actually simpler to wrap a widget with LablTk then LablGTK. You just have to add the extra definitions to otherlibs/labltk/Widgets.src, and recompile. There is no documentation, but the format is relatively straightforward. However, some panedwindow commands seem relatively complex, and I'm not 100% sure they can be implemented directly (without adding some builtin_xxx code). If I find some time, I may try to do it, but if you do it on your own I can merge it. A lighter way to use extra widgets is to call directly the Protocol module: this way you can directly write tcl commands. But of course you loose all typing. Cheers, Jacques _______________________________________________ Lablgtk-list mailing list Lablgtk-list@lists.forge.ocamlcore.org https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list