Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-01-07 23:31:35

nick87720z
Member
Registered: 2018-01-07
Posts: 24

Any documentation for Thunar Plugin API?

Hello.
I want to try writing of plugin for thunar. But unlike some other projects (xfce4-panel), i completely failed to find any documentation, like what may be found for glib/gtk, wnck, xfce4-panel, much more - usually may be read in devhelp or at least in browser.

I have image about how to use gobject-based API, but tried to create own. Last time i had experience, contributing to vala-panel-appmenu, what is uncomparable with begining, like what i have to try (though i could do it on python for begining, i would prefer C).

Looking to docs, i found only various hacking guides and info about thunarvcs - something unrelated (searching docs, related to headers, installed with thunar, as thunarx-2 package).
Though thunarx-python has examples for some bit, woud be great to find some C-related docs, usually created by gtk-doc.

Is there any?

Last edited by nick87720z (2018-01-07 23:32:05)

Offline

#2 2018-01-08 02:07:58

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Any documentation for Thunar Plugin API?

Hello and welcome.

If you are referring to thunarx extensions, they can be installed provided that thunar is built with "--enable-gtk-doc --enable-gen-doc". For example, here is a copy of the 4.10 reference manual. Perhaps distro's aren't building the reference manual.

I'm not sure how up-to-date the reference manual is. You could ask at the xfce4-dev mailing list.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2018-01-08 06:01:18

nick87720z
Member
Registered: 2018-01-07
Posts: 24

Re: Any documentation for Thunar Plugin API?

Looked carefully in sources and found this:
NEWS:17:- Turn off building gtk-docs API reference (Harald Judt)
ChangeLog:146:    Turn off building gtk-docs API reference
ChangeLog:148:    Building it fails starting with gtk-doc-1.22, and there have been

Offline

#4 2018-01-08 06:07:44

ozjd
Member
From: Hawkesbury NSW Australia
Registered: 2012-02-05
Posts: 560
Website

Re: Any documentation for Thunar Plugin API?

I was about to quote from the Xfce-dev irc channel and then realised that the OP was answered there a day ago. That is the best place to ask as that is the developers and have the latest information.

Offline

#5 2018-01-08 13:53:06

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Any documentation for Thunar Plugin API?

nick87720z wrote:

Looked carefully in sources and found this:
NEWS:17:- Turn off building gtk-docs API reference (Harald Judt)
ChangeLog:146:    Turn off building gtk-docs API reference
ChangeLog:148:    Building it fails starting with gtk-doc-1.22, and there have been

It's been fixed in the git tree: https://git.xfce.org/xfce/thunar/commit … 5468e4236a


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#6 2018-01-08 16:34:20

nick87720z
Member
Registered: 2018-01-07
Posts: 24

Re: Any documentation for Thunar Plugin API?

Thanks! if so, i could get it readable at least from source tree smile
Is that version compatible with gtk2 thunar version?
I mean, wether thunarx is same between them?

Last edited by nick87720z (2018-01-08 16:43:07)

Offline

#7 2018-01-08 21:55:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,486

Re: Any documentation for Thunar Plugin API?

I'm not sure how to up-to-date the documentation is. Thunarx has been migrated to GTK3 in the git tree. You should ask at the xfce4-dev mailing list.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.015 seconds, 7 queries executed - Memory usage: 546.7 KiB (Peak: 547.55 KiB) ]