Class
RBCellRendererRating
Description [src]
class RB.CellRendererRating : Gtk.CellRenderer
{
priv: RBCellRendererRatingPrivate*
}
This cell renderer is used to display song ratings in the RBEntryView
,
and allows the user to modify ratings directly in the track listing.
Constructors
rb_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.
Instance methods
Methods inherited from GtkCellRenderer (24)
Please see GtkCellRenderer for a full list of methods.
Properties
RB.CellRendererRating:rating
The rating displayed by the renderer, as a floating point value between 0.0 and 5.0.
Properties inherited from GtkCellRenderer (16)
Gtk.CellRenderer:cell-background
Gtk.CellRenderer:cell-background-gdk
Cell background as a GdkColor
.
Gtk.CellRenderer:cell-background-rgba
Cell background as a GdkRGBA
.
Gtk.CellRenderer:cell-background-set
Gtk.CellRenderer:editing
Gtk.CellRenderer:height
Gtk.CellRenderer:is-expanded
Gtk.CellRenderer:is-expander
Gtk.CellRenderer:mode
Gtk.CellRenderer:sensitive
Gtk.CellRenderer:visible
Gtk.CellRenderer:width
Gtk.CellRenderer:xalign
Gtk.CellRenderer:xpad
Gtk.CellRenderer:yalign
Gtk.CellRenderer:ypad
Signals
Signals inherited from GtkCellRenderer (2)
GtkCellRenderer::editing-canceled
This signal gets emitted when the user cancels the process of editing a cell. For example, an editable cell renderer could be written to cancel editing when the user presses Escape.
GtkCellRenderer::editing-started
This signal gets emitted when a cell starts to be edited.
The intended use of this signal is to do special setup
on editable
, e.g. adding a GtkEntryCompletion
or setting
up additional columns in a GtkComboBox
.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct RBCellRendererRatingClass {
GtkCellRendererClass parent_class;
void (* rated) (
RBCellRendererRating* renderer,
const char* path,
double rating
);
RBCellRendererRatingClassPrivate* priv;
}
No description available.
Class members
parent_class: GtkCellRendererClass
No description available.
rated: void (* rated) ( RBCellRendererRating* renderer, const char* path, double rating )
No description available.
priv: RBCellRendererRatingClassPrivate*
No description available.