Module gwy :: Class GraphLabel
[show private | hide private]
[frames | no frames]

Class GraphLabel


Method Summary
  __init__()
Creates a new graph label.
  enable_user_input(enable)
Enables or disables user input to a graph label.
  get_model()
Gets the model of a graph key.
  set_model(gmodel)
Sets new model of a graph label.
  UNIMPLEMENTED_draw_on_drawable(drawable, gc, layout, x, y, width, height)
draws a graph label on a drawable
  UNIMPLEMENTED_export_vector(x, y, width, height, fontsize)
Creates PostScript representation of a graph label.

Method Details

__init__()
(Constructor)

Creates a new graph label.
Returns:
A new graph label widget as a GtkWidget.

enable_user_input(enable)

Enables or disables user input to a graph label.
Parameters:
enable - Whether to enable the user input. (bool)

get_model()

Gets the model of a graph key.
Returns:
The graph model this graph label takes curve properties and descriptions from.

set_model(gmodel)

Sets new model of a graph label.
Parameters:
gmodel - New graph model. (GraphModel)

UNIMPLEMENTED_draw_on_drawable(drawable, gc, layout, x, y, width, height)

draws a graph label on a drawable
Parameters:
drawable - the GdkDrawable (GdkDrawable*)
gc - Graphics context. It is modified by this function unpredictably. (GdkGC*)
layout - pango layout (PangoLayout*)
x - x position where label is to be drawn (int)
y - y position where label is to be drawn (int)
width - width of the label (int)
height - hieght of the label (int)

UNIMPLEMENTED_export_vector(x, y, width, height, fontsize)

Creates PostScript representation of a graph label.
Parameters:
x - x position of the graph label (int)
y - y position of the graph label (int)
width - width of the graph label (int)
height - hieght of the graph label (int)
fontsize - fontsize of the label (int)
Returns:
A fragment of PostScript code representing the the graph label as a newly allocated GString.

Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 http://epydoc.sf.net