Re: Meld for Personal projects



On Wed, 15 Jan 2020 at 17:04, murali Krishna
<murali krishna586 gmail com> wrote:
I want to use the existing meld source code and remove meld UI.
I want to use it as a library that takes 2 folders, return differences
as objects and build HTML pages that look like meld UI. The main idea
is to get the differences as objects in any programming language. Is
this possible?

Not easily, no. Meld's folder comparison logic builds its comparison
directly to a GtkTreeModel, which is our data model for the widget
rendering. You *could* use that as your object representation for
building HTML pages, but I don't think it would be straightforward.
There's no "library" separation of the tree building; it's part of the
DirDiff GtkWidget.

cheers,
Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]