caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Oliver Bandel <oliver@first.in-berlin.de>
To: caml-list@inria.fr
Subject: [Caml-list] Ocaml / Gtk+ / Tk / lablgtk / labltk / clist / tableview
Date: Sun, 27 Jul 2014 22:39:28 +0200	[thread overview]
Message-ID: <20140727223928.Horde.a9wkZQ1mmDJWTqPtNqXj0g3@webmail.in-berlin.de> (raw)

Hello,

I want to have a Widget with a Gtk+ clist
(or TK-enhancement's tableview) with some buttons (or radioboxes)
left side oriented of each of the rows.

I first tried to use lablgtk and there the clist,
and add some buttons in front (leftsided) of the rows.
I found no way to make the buttons of same height
as the clist-rows (other by tring to make the
rows-height as the seemingly default of the buttons).
(What if the defaults of heights change after a new version, then the  
GUI looks broken.)

So I thought about switching to Tk / labltk.
The GUI usage of Tk seemed much easier to me then.
But there is no aeuqivalent to Gtk+'s clist (GList.clist in labltk).
But there seems to be a tableview-widget, which could help me,
but which is *not* part of the official Tk-core.

But there is a library that can be used, so adding it would be fine.

But there seem to be no OCaml-binding for it.

So I may switch back and try it again in lablgtk?

I heard there is a more general version of the clist,
that also allows adding *any* button in the list/table,
not just text-entries.
Which widget to use for this?

I have no real preference lablgtk vs. labltk,
but would use the way that gives results the fastest way.
I don't need to win the fancy-GUI-contest,
it's intended to have a powerful GUI for my task.

So, I'm open to any recomendations.

Ciao,
    Oliver



                 reply	other threads:[~2014-07-27 20:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140727223928.Horde.a9wkZQ1mmDJWTqPtNqXj0g3@webmail.in-berlin.de \
    --to=oliver@first.in-berlin.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).