Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-06-12 00:14:02

mint4all
Member
From: out of sight
Registered: 2018-08-21
Posts: 178

Using "Julia" for development

For the past 5-6 weeks, I've been experimenting with the "Julia" [programming]-language ( https://julialang.org/ ) as a possible alternative to using python for development. I am very impressed with julia's encapsulation (wrapper) of the Gtk3+ APIs and widgets ( http://juliagraphics.github.io/Gtk.jl/stable/ ) , and had very little problems to get Julia-based Gtk-examples and Gtk-code snippets to run nicely from within my Xfce4.14 desktop.

However, in order to do some development (ie to resurrect the "Orage" planner app) for Xfce other than in "C", there are two function- and widget-libraries specific to Xfce that would require a Gtk equivalent "Julia wrapper" for libxfce4ui and libxfce4util ... Other then scrutinizing the source code of those libraries on gitlab, is there any API-documentation in existence for those libraries anywhere, documentation equivalent to Gnome's developer documentation ( https://developer.gnome.org/gtk3/stable/ ) for Gtk3+ ?

Aside from that, has anyone else here been looking at, or experimenting with, Julia?

Cheers, m4a

Last edited by mint4all (2021-06-12 00:15:23)


Linux Mint 18.3, 19.3, 20.1 -- xfce 4.12 & 4.14... Apple IMAC -- Dell Desktops -- Toshiba, Dell & HP Pavilion Laptops -- Family & Community Support re. Linux

Offline

#2 2021-06-12 00:25:49

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Using "Julia" for development

mint4all wrote:

is there any API-documentation in existence for those libraries anywhere, documentation equivalent to Gnome's developer documentation ( https://developer.gnome.org/gtk3/stable/ ) for Gtk3+ ?

I'm not sure whether mint builds them, but the developer documentation (if built) would be found in /usr/share/gtk-doc/html in the libxfce4ui and libxfce4util directories. Open the "index.html" file in a browser to access it.

Offline

#3 2021-06-12 00:40:38

mint4all
Member
From: out of sight
Registered: 2018-08-21
Posts: 178

Re: Using "Julia" for development

ToZ wrote:
mint4all wrote:

is there any API-documentation in existence for those libraries anywhere, documentation equivalent to Gnome's developer documentation ( https://developer.gnome.org/gtk3/stable/ ) for Gtk3+ ?

I'm not sure whether mint builds them, but the developer documentation (if built) would be found in /usr/share/gtk-doc/html in the libxfce4ui and libxfce4util directories. Open the "index.html" file in a browser to access it.

Thank you so much for your quick reply -- you're know-how is just awesome!

Yes, indeed, Mint packaged the whole lot and I am reading it right now. Makes me wonder, though: why is this type of documentation bundled within a distro (like Mint), but can't be located (or not easily) on Xfce's GitLab?

Cheers, m4a


Linux Mint 18.3, 19.3, 20.1 -- xfce 4.12 & 4.14... Apple IMAC -- Dell Desktops -- Toshiba, Dell & HP Pavilion Laptops -- Family & Community Support re. Linux

Offline

#4 2021-06-12 01:00:41

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 7,860

Re: Using "Julia" for development

I does exist in gitlab, in the docs directory, but its not compiled. You need to pass the "--enable-gtk-doc" parameter to the configure script. It pulls the content from the code into a more readable format.

Offline

Board footer

Powered by FluxBB