![]() |
![]() |
![]() |
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;
"adjust-rating"
signalvoid user_function (RBRating *rating, gdouble adjust, gpointer user_data) : Run Last / Action
Action signal used to make a relative adjustment to the rating.
|
the RBRating |
|
value to add to the rating |
|
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. |