RB.CellRendererRating

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.CellRenderer Gtk.CellRenderer GObject.InitiallyUnowned->Gtk.CellRenderer GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned RB.CellRendererRating RB.CellRendererRating Gtk.CellRenderer->RB.CellRendererRating

Subclasses:None

Virtual Methods

Inherited:Gtk.CellRenderer (12), GObject.Object (7)
  do_rated (path, rating)

Properties

Inherited:Gtk.CellRenderer (16)
Name Type Flags Short Description
rating float r/w Rating Value

Signals

Inherited:Gtk.CellRenderer (2), GObject.Object (1)
Name Short Description
rated Emitted when the user changes the rating.

Fields

Inherited:Gtk.CellRenderer (2), GObject.Object (1)
Name Type Access Description
parent Gtk.CellRenderer r  

Class Details

class RB.CellRendererRating(**kwargs)
Bases:Gtk.CellRenderer
Abstract:No
Structure:RB.CellRendererRatingClass
classmethod new()
Returns:the new cell renderer
Return type:Gtk.CellRenderer

create a cell renderer that will display some pixbufs for representing the rating of a song. It is also able to update the rating.

do_rated(path, rating) virtual
Parameters:

Signal Details

RB.CellRendererRating.signals.rated(cell_renderer_rating, score, path)
Signal Name:

rated

Flags:

RUN_LAST

Parameters:

Emitted when the user changes the rating.

Property Details

RB.CellRendererRating.props.rating
Name:rating
Type:float
Default Value:2.5
Flags:READABLE, WRITABLE

The rating displayed by the renderer, as a floating point value between 0.0 and 5.0.