/*# @method get_metric GtkRuler @brief Gets the units used for a GtkRuler. @return the units currently used for ruler */ FALCON_FUNC Ruler::get_metric( VMARG ) { NO_ARGS MYSELF; GET_OBJ( self ); vm->retval( (int64) gtk_ruler_get_metric( (GtkRuler*)_obj ) ); }
static VALUE ruler_get_metric(VALUE self) { return INT2FIX(gtk_ruler_get_metric(_SELF(self))); }