[Tracker] A set of gtk+ widgets for Tracker



Hello Tracker hackers,

I'm willing to create a library which contains several gtk+ widgets,
like a widget to set the rating of a ressource, add/remove tags...

I will write it in Vala and It'll use Hormiga, the ORM created by
abustany this summer.
My idea is to have a class called Subject which contains a list of
InformationElement proxies, you could add/remove an IE from that list,
or even (most common usecase think) put only one element in that list.
Then you instantiate the widgets you need, and use a method like
"set_subject(subject)" to set the Subject this widget will describe, so
user just need to deal with Subject and don't have to do a loop to set
the new proxie(s) for every widget.
Do you think it's a good idea ?

What's more, I noticed that nao:numericRating doesn't have a limit so I
can't represent it with (for examples) 5 stars, like most widget do.
Could someone add a maximum to that property, say 100, or 5 since it's a
double ?

Cheers,
Florent




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]