YCP help

I wish to write a module for YaST that would allow users to select which package manager the user wants to use. This would be a two fold module. First, the module to select which package manager; i.e. YaST, smart, yum, or synaptic. Secondly (obviously) it would require that when you click on Software Manager to have it bring up the appropriate package manager.

Now I’m somewhat new to programming. The language I am most familiar with is python. I have read up a bit on YCP, but I have not yet attempted working with YCP. As I understand it, a module must consist of two parts; an ncurses part and the GUI. Writing it in YCP provides some nice advantages in that it has the ability to have support for both Qt and GTK.

I am also asking for help because I have quite the full plate right now. I am rewriting the smart documentation, and also trying to redo the gui for smart. I had to take a break on the gui for smart so that I can learn GTK (I’m lost with the signals).

linux learner wrote:
> Now I’m somewhat new to programming. The language I am most familiar
> with is python. I have read up a bit on YCP, but I have not yet
> attempted working with YCP. As I understand it, a module must consist
> of two parts; an ncurses part and the GUI. Writing it in YCP provides
> some nice advantages in that it has the ability to have support for
> both Qt and GTK.

You just define the user interface once, and it will be rendered in either
ncurses, gtk, or Qt.

There is reference material at
http://forgeftp.novell.com/yast/doc/SL11.0/tdg/

There are also some tutorials at
http://en.opensuse.org/YaST_Development#Tutorials

Yeah, I’ve read those.