control-center, where is the code (solved)

Questions about applications and software
Forum rules
Before you post please read this

control-center, where is the code (solved)

Postby nadir on Tue Oct 27, 2009 8:18 am

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 nadir on Tue Oct 27, 2009 2:14 pm, edited 1 time in total.
nadir
Level 3
Level 3
 
Posts: 143
Joined: Fri Oct 02, 2009 2:25 pm

Linux Mint is funded by ads and donations.
 

Re: control-center, where is the code

Postby DrHu on Tue Oct 27, 2009 9:37 am

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
User avatar
DrHu
Level 16
Level 16
 
Posts: 6710
Joined: Wed Jun 17, 2009 8:20 pm

Re: control-center, where is the code

Postby lagagnon on Tue Oct 27, 2009 9:51 am

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
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: control-center, where is the code

Postby nadir on Tue Oct 27, 2009 12:39 pm

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.
nadir
Level 3
Level 3
 
Posts: 143
Joined: Fri Oct 02, 2009 2:25 pm

Re: control-center, where is the code

Postby lagagnon on Tue Oct 27, 2009 2:05 pm

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...)
User avatar
lagagnon
Level 7
Level 7
 
Posts: 1888
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: control-center, where is the code

Postby nadir on Tue Oct 27, 2009 2:14 pm

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.
nadir
Level 3
Level 3
 
Posts: 143
Joined: Fri Oct 02, 2009 2:25 pm


Return to Software & Applications

Who is online

Users browsing this forum: colyn, farazali_86 and 24 guests