| Rhythmbox Development Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
This widget displays a rating (0-5 stars) and allows the user to alter the rating by clicking.
typedef struct {
GtkWidgetClass parent;
void (*rated) (RBRating *rating, double score);
gboolean (*set_rating) (RBRating *rating, double score);
gboolean (*adjust_rating) (RBRating *rating, double adjust);
} RBRatingClass;
"rating" property"rating" gdouble : Read / Write
The rating displayed in the widget, as a floating point value between 0.0 and 5.0.
Allowed values: [0,5]
Default value: 2.5
"adjust-rating" signalvoid user_function (RBRating *rbrating, gdouble arg1, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"rated" signalvoid user_function (RBRating *rating, gdouble score, gpointer user_data) : Run Last
Emitted when the user changes the rating.
|
the RBRating |
|
the new rating |
|
user data set when the signal handler was connected. |