![]() |
![]() |
![]() |
plank Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define PLANK_TYPE_DOCK_RENDERER gdouble plank_dock_renderer_get_hide_progress (PlankDockRenderer *self
); void plank_dock_renderer_initialize (PlankDockRenderer *self
); void plank_dock_renderer_reset_buffers (PlankDockRenderer *self
); void plank_dock_renderer_draw_dock (PlankDockRenderer *self
,cairo_t *cr
); PlankDockRenderer * plank_dock_renderer_new (PlankDockController *controller
); struct PlankDockRenderer; struct PlankDockRendererClass;
#define PLANK_TYPE_DOCK_RENDERER (plank_dock_renderer_get_type ())
The type for PlankDockRenderer.
gdouble plank_dock_renderer_get_hide_progress
(PlankDockRenderer *self
);
Returns the current progress of the hide-animation of the dock.
|
the PlankDockRenderer instance |
Returns : |
the hide-animation progress [0.0..1.0] |
void plank_dock_renderer_initialize (PlankDockRenderer *self
);
Initializes the renderer. Call after the DockWindow is constructed.
|
the PlankDockRenderer instance |
void plank_dock_renderer_reset_buffers (PlankDockRenderer *self
);
Resets all internal buffers and forces a redraw.
|
the PlankDockRenderer instance |
void plank_dock_renderer_draw_dock (PlankDockRenderer *self
,cairo_t *cr
);
Draws the dock onto a context.
|
the PlankDockRenderer instance |
|
. the context to use for drawing. [in] |
PlankDockRenderer * plank_dock_renderer_new (PlankDockController *controller
);
Create a new dock renderer for a dock.
|
. the dock controller to manage drawing for. [in] |
struct PlankDockRendererClass { PlankDrawingAnimatedRendererClass parent_class; };
The class structure for PLANK_TYPE_DOCK_RENDERER
. All the fields in this structure are private and should never be accessed directly.
PlankDrawingAnimatedRendererClass |
the parent class structure |