Class

PhocColorRect

since: 0

Description [src]

final class Phoc.ColorRect : GObject.Object
  implements Phoc.Bling {
  /* No available fields */
}

A colored rectangle to be drawn by the compositor.

When created the rectangle is initially unmapped. For it to be drawn it needs to be mapped and attached to the render tree by e.g. adding it as a PhocBling to a PhocView.

Available since: 0

Ancestors

Implements

Constructors

phoc_color_rect_new
No description available.

since: 0

Instance methods

phoc_color_rect_get_box

Get the rectangles current coordinates and size as box.

since: 0

phoc_color_rect_get_color

Get the rectangles color.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from PhocBling (5)
phoc_bling_get_box
No description available.

since: 0

phoc_bling_is_mapped
No description available.

since: 0

phoc_bling_map
No description available.

since: 0

phoc_bling_render
No description available.

since: 0

phoc_bling_unmap
No description available.

since: 0

Properties

Phoc.ColorRect:box

The rectangle’s box in layout coordinates.

since: 0

Phoc.ColorRect:color

The rectangle’s color.

since: 0

Phoc.ColorRect:height
No description available.

since: 0

Phoc.ColorRect:width
No description available.

since: 0

Phoc.ColorRect:x
No description available.

since: 0

Phoc.ColorRect:y
No description available.

since: 0

Signals

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.

unstable since: 2.0

Class structure

struct PhocColorRectClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.