![]() |
![]() |
![]() |
RhythmCat Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
#include <rc-ui-cell-renderer-rating.h> struct RCUiCellRendererRating; struct RCUiCellRendererRatingClass; GtkCellRenderer * rc_ui_cell_renderer_rating_new ();
GtkCellRenderer * rc_ui_cell_renderer_rating_new ();
Create a cell renderer that will display some pixbufs for representing the rating of a song. It is also able to update the rating. This widget is copied form Rhythmbox.
Returns : |
the new cell renderer |
"rating"
property"rating" gfloat : Read / Write
The rating displayed by the renderer, as a floating point value between 0.0 and 5.0.
Allowed values: [0,5]
Default value: 3
"rated"
signalvoid user_function (RCUiCellRendererRating *renderer,
gchar *score,
gfloat path,
gpointer user_data) : Run Last
Emitted when the user changes the rating.
|
the RCUiCellRendererRating |
|
the new rating |
|
string form of the GtkTreePath to the row that was changed |
|
user data set when the signal handler was connected. |