Comments (6)
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.
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.
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.
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.
@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]:
β
Reply to this email directly or view it on GitHubhttps://github.com//issues/52
.
from gtk.jl.
https://github.com/tknopp/GtkSourceWidget.jl
(its not GtkSourceView as type and module name cannot be the same)
from gtk.jl.
Related Issues (20)
- Julia Crash on GTK combo HOT 2
- Connecting event to calendar HOT 4
- CssProviderLeaf performance HOT 2
- Where is gdk library HOT 1
- Julia aborts from a Scale on mac HOT 8
- When CSS on screen has effect?
- In Ubuntu open_dialog() does not close after completing its action
- Crash on load with version 1.2.3 or 1.3.0 on Windows HOT 3
- Error in running finalizer
- issues with headless machine precompile HOT 1
- ComboBoxText no longer working under Julia 1.8.5 HOT 3
- Segfault with showall on trivial glade file on M1 Mac
- Is there a Julia binding to the GtkLayout container?
- circular dependency with libtiff_jll 4.5 HOT 1
- Apple silicon M2 Gtkscale error
- GtkSpinButton MethodError
- race conditions in finalizers HOT 1
- sigatomic_end called in non-sigatomic region HOT 1
- Gtk not working on MacOS Sonoma 14.4 or 14.4.1 HOT 1
- Canβt get to Glade
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtk.jl.