3

I'm Interested in writing gedit-plugins in C. I've checked Gedit/NewMDIPluginHowTo
...but haven't had any luck with it.

How can I get more information about writing gedit plugins in C?

Aboelnour
  • 1,423
  • 3
  • 17
  • 39
  • What exactly do you mean by "no result"? – Nate C-K Oct 21 '10 at 21:59
  • Curious - who are the target users of gedit? In what market gedit is preferred over gvim? – Arun Oct 21 '10 at 23:09
  • @Nate C-K: I mean I found it hard to start – Aboelnour Oct 22 '10 at 12:51
  • 2
    @ ArunSaha: any new developer come from windows and want to code on text editors not IDE start with gedit.and you can say it's kind of having fun – Aboelnour Oct 22 '10 at 12:53
  • "any new developer come from windows and want to code on text editors not IDE start with gedit" – Aboelnour Oct 25 '10 at 12:27
  • gvim is available in windows too , so it doesn't depend on where you come from ... i think gedit is best suited for normal usage and casual programming and (it is really good at doing this). – Ahmed Kotb Oct 25 '10 at 12:31
  • 1
    gedit is fantastic. i use geany, but if geany didn't exist i'd use gedit. i love the command line, and both vim and emacs in the distant past http://stackoverflow.com/questions/3528079/which-text-editor-for-ubuntu-should-i-use/3528110#3528110 – Matt Joiner Oct 30 '10 at 11:45

3 Answers3

5

If you're willing to use Python instead, here is a tutorial for writing gedit plugins in Python.

gxtaillon
  • 1,016
  • 1
  • 19
  • 33
Chetan
  • 46,743
  • 31
  • 106
  • 145
  • In fact, this looks like the official way to go. It might be harder to write it in C. – Chetan Oct 25 '10 at 09:44
  • and for this reason I gave the question +50 bounty, because materials in python is available but in C it's not, thanks – Aboelnour Oct 25 '10 at 09:54
4

The only tutorial is the one you already found :

Gedit/NewMDIPluginHowTo

I know it can be hard to understand in a first view, but if you read it a few times and give it a try with a basic example, you should be able to achieve getting results quite fast.

Is there something specific that you don't understand?

You can also download some examples of plugins available in C:

https://gitlab.gnome.org/GNOME/gedit/-/tree/gnome-2-30/plugins

Benoit Thiery
  • 6,325
  • 4
  • 22
  • 28
  • I checked it a lot of time. I was searching for a simple HOWTO or someone has an enough experience but it seems I won't find them. thanks – Aboelnour Oct 25 '10 at 14:50
0

Well, you can always email some of the core Gedit developers about your question, I'm sure they have something to give. Try find them via Gedit: Help>About>Credits.

Good luck.

wassimans
  • 8,382
  • 10
  • 47
  • 58