control-center, where is the code (solved)

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
nadir

control-center, where is the code (solved)

Post by nadir »

hello,
is the control-center of mint written in python? I am looking for the code, but cant find it. Please give me a hand.
I try to learn python, where are the other python-codes (like for the mint-menu, etc) to be found?

btw but offtopic: a friend told me the control-center of mandriva would be written in pyhton. I booted into a live but had no luck finding it too.

thanks for help
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DrHu

Re: control-center, where is the code

Post by DrHu »

nadir wrote:I try to learn python, where are the other python-codes (like for the mint-menu, etc) to be found?
http://art.ubuntuforums.org/showthread.php?p=8169356 http://ubuntuforums.org/showthread.php?t=1295861
No idea, what does it matter, if you are learning Python, since the menu coding (if it uses python) will be beyond the learning stage

Learn Python..as code
--then pick a graphic or ide (Integrated Development Environment), such as Komodo edit
http://www.activestate.com/komodo_edit/
http://en.wikipedia.org/wiki/IDLE_(Python)
--or the usual choice, idle
http://wiki.python.org/moin/BeginnersGuide
http://www.xed.ch/lwm/pythonlessons/index.html
lagagnon

Re: control-center, where is the code

Post by lagagnon »

nadir wrote:hello,
is the control-center of mint written in python?
I think Gnome Control Center uses GTK and Glade, not Python. However, "mintMenu" is written in Python and its various modules are located in this directory:

/usr/lib/linuxmint/mintMenu
nadir

Re: control-center, where is the code

Post by nadir »

No idea, what does it matter, if you are learning Python...
just replace "i try to learn python" with "i try to learn python since a while now". I am not looking for tutorials for python. I am looking for how a control-center works.
That doesnt say that i`m reading code like shoping-lists. I try to make my way through the tutorials. As i was able to help someone out changing the code of mint-debian-installer (and only a tiny bit), i got a wee bit of hope that i should be able to understand other python-code too -in the long run.
I just want to start at some point getting rid of the -more or less- pointless examples in the tutorials.
As a friend of mine is interested in control-centers it would be a good hook.
No big deal, so to speak.

lagagnon wrote:
/usr/lib/linuxmint/mintMenu
thanks, i found it there.

I am still looking for the path to the gnome-control-center code.
google didnt gave me no hint. the only thing i`m able to find is /usr/bin/gnome-control-center, which aint human readable.

Any hint on that is appreciated, even it will end being for sure that its in GTK.
lagagnon

Re: control-center, where is the code

Post by lagagnon »

nadir wrote:I am still looking for the path to the gnome-control-center code.
Here: http://freshmeat.net/projects/gnomecc/
As you can see it is written in C, using GTK widgets probably. So not in Python.
But check this out : http://linux.wareseeker.com/System/debi ... zip/336078 (it is in Python apparently...)
nadir

Re: control-center, where is the code

Post by nadir »

lagagnon wrote:
nadir wrote:I am still looking for the path to the gnome-control-center code.
Here: http://freshmeat.net/projects/gnomecc/
As you can see it is written in C, using GTK widgets probably. So not in Python.
But check this out : http://linux.wareseeker.com/System/debi ... zip/336078 (it is in Python apparently...)
great. :D
thanks a lot.
Locked

Return to “Software & Applications”