This widget is the base class for GtkHRuler and GtkVRuler. It
contains the configuration and calculation capability, but has no
ability to display the results.
getLower
protected static final double getLower(Handle cptr)
getMaxSize
protected static final double getMaxSize(Handle cptr)
getPosition
protected static final double getPosition(Handle cptr)
getSliderSize
protected static final int getSliderSize(Handle cptr)
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
- getType in interface Widget
getUpper
protected static final double getUpper(Handle cptr)
getXsrc
protected static final int getXsrc(Handle cptr)
getYsrc
protected static final int getYsrc(Handle cptr)
gtk_ruler_draw_pos
protected static final void gtk_ruler_draw_pos(Handle ruler)
gtk_ruler_draw_ticks
protected static final void gtk_ruler_draw_ticks(Handle ruler)
gtk_ruler_get_metric
protected static final int gtk_ruler_get_metric(Handle ruler)
gtk_ruler_get_range
protected static final void gtk_ruler_get_range(Handle ruler,
double[] lower,
double[] upper,
double[] position,
double[] maxSize)
gtk_ruler_get_type
protected static final int gtk_ruler_get_type()
gtk_ruler_set_metric
protected static final void gtk_ruler_set_metric(Handle ruler,
int metric)
gtk_ruler_set_range
protected static final void gtk_ruler_set_range(Handle ruler,
double lower,
double upper,
double position,
double maxSize)