Giter Site home page Giter Site logo

GtkSourceView about gtk.jl HOT 6 CLOSED

juliagraphics avatar juliagraphics commented on July 20, 2024
GtkSourceView

from gtk.jl.

Comments (6)

lobingera avatar lobingera commented on July 20, 2024

Should this be part of Gtk.jl?

No.

It's quite common in the linux world to assume, every library ever written is part of any give linux system, but actually it's not the case.

So if Gtk.jl provides bindings to GtkSourceView, this creates a dependency which can be very tricky to resolve, even if the package user only needs Gtk plain.

One of the few things in SW engineering that's working quite good is Modularisation, so for julia i'd like rather to see a XYZ.lj for every independend libXYZ.jl.

from gtk.jl.

tknopp avatar tknopp commented on July 20, 2024

Well, I said optionally, implying that Gtk.jl should not have a hard dependency . Beeing a software engineer I know that modularization is important. But if you take your suggestion seriously, Glib should not be part of Gtk.jl. My opinion is that Gtk.jl should be a "complete shop". So if there are important widgets that are missing in Gtk but are commonly used in the Gnome world I would have they fit into Gtk.jl.

But I also have no problem with an "GtkExtra.jl"

from gtk.jl.

lobingera avatar lobingera commented on July 20, 2024

OK, i wasn't clear enough.

gtk is not independent from glib, so afaik also pygtk puts gtk and glib bindings together and i guess also for other language bindings this applies.

But recently i had a lot of trouble with mixed Gtk_optional and Gnome bindings (e.g. librsvg) especially on non-linux systems.

from gtk.jl.

vtjnash avatar vtjnash commented on July 20, 2024

that's a different discussion: gtk may not be independant from glib, but glib is independent from gtk. a some point, glib will be getting it's own repository. you might say Gdk instead, in which case I would agree that it is tightly coupled with Gtk.

GtkSourceView should be an external julia package since it is a third-party library. I'll see about extending the generator script -- expect that the result would be loaded in the local module that defines the type, but other than that, I'm not clear on the details yet.

from gtk.jl.

bfredl avatar bfredl commented on July 20, 2024

@tknopp An alternative for third party gtk libraries might be to use
gobject-introspection. In github.com/bfredl/GI.jl I have proof-of-concept
for ClutterGtk for instance, but its not really ready for real workloads yet
Den 26 jan 2014 21:46 skrev "tknopp" [email protected]:

Closed #52 #52.

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/52
.

from gtk.jl.

tknopp avatar tknopp commented on July 20, 2024

https://github.com/tknopp/GtkSourceWidget.jl
(its not GtkSourceView as type and module name cannot be the same)

from gtk.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.